Public Types | Public Member Functions | Public Attributes
labust::tritech::MTMsg Struct Reference

#include <mtMessages.hpp>

List of all members.

Public Types

enum  { default_size = 8 }
enum  { count_diff = 5 }
enum  mtMessage {
  mtNull = 0, mtHeadData = 2, mtAlive = 4, mtReboot = 16,
  mtHeadCmd = 19, mtSendData = 25, mtGPSData = 36, mtAMNavData = 52,
  mtAMNavRaw = 77, mtMiniModemCmd = 78, mtMiniModemData, mtMiniAttCmd,
  mtMiniAttData, mtAMNavDataV2 = 94
}

Public Member Functions

 MTMsg ()
void setup ()

Public Attributes

uint8_t byteCount
StreamPtr data
uint8_t msgType
uint8_t node
uint8_t rxNode
uint8_t seq
uint16_t size
uint8_t txNode

Detailed Description

Definition at line 70 of file mtMessages.hpp.


Member Enumeration Documentation

anonymous enum
Enumerator:
default_size 

Definition at line 72 of file mtMessages.hpp.

anonymous enum
Enumerator:
count_diff 

Definition at line 73 of file mtMessages.hpp.

Enumerator:
mtNull 

Null message.

mtHeadData 

mtHeadData - ID:2 - data from the head

mtAlive 

mtAlive - ID:4 - indicates the presence of the device

mtReboot 

mtReboot - ID:16 - reboots the device

mtHeadCmd 

mtHeadCmd - ID:19 - head configuration

mtSendData 

mtSendData - ID:25 - request data

mtGPSData 

mtGGAData - ID:36 - GPGGA GPS data

mtAMNavData 

mtAMNav - ID:52 - USBL processed data

mtAMNavRaw 

mtAMNavRaw - ID:77 - raw USBL data

mtMiniModemCmd 

mtMiniModemCmd - ID:78 - message for the mini modem

mtMiniModemData 

mtMiniModemData - ID:79 - reply message from the mini modem

mtMiniAttCmd 

mtMiniModemData - ID:80 - attitude sensor command message

mtMiniAttData 

mtMiniModemData - ID:81 - attitude sensor data return message

mtAMNavDataV2 

mtAMNavDataV2 - ID:94 - the processed USBL navigation data with modem message

Definition at line 75 of file mtMessages.hpp.


Constructor & Destructor Documentation

Definition at line 107 of file mtMessages.hpp.


Member Function Documentation

void labust::tritech::MTMsg::setup ( ) [inline]

The methods sets the byte sizes automattically on payload size.

Definition at line 120 of file mtMessages.hpp.


Member Data Documentation

Definition at line 128 of file mtMessages.hpp.

Definition at line 133 of file mtMessages.hpp.

Definition at line 129 of file mtMessages.hpp.

Definition at line 131 of file mtMessages.hpp.

Definition at line 127 of file mtMessages.hpp.

Definition at line 130 of file mtMessages.hpp.

Definition at line 126 of file mtMessages.hpp.

Definition at line 127 of file mtMessages.hpp.


The documentation for this struct was generated from the following file:


tritech_sdk
Author(s): Gyula Nagy
autogenerated on Fri Feb 7 2014 11:36:27