DUNE: Uniform Navigational Environment  2016.09.0
Transports::Seatrac::CidDatReceiveMsg Struct Reference

Public Member Functions

int packetDataDecode (void)
 
void getFullMsg (std::string &msg)
 

Public Attributes

Acofix_t aco_fix
 
uint8_t ack_flag
 
uint8_t packet_len
 
char packet_data [31]
 
int data_rec_flag
 
uint8_t index
 
uint8_t n_sub_messages
 
uint8_t n_sub_messages_last
 
std::string full_msg
 

Member Function Documentation

void Transports::Seatrac::CidDatReceiveMsg::getFullMsg ( std::string &  msg)
inline

Return full message.

Parameters
[out]msgfull message.

References full_msg.

Referenced by Transports::Seatrac::Task::handleBinaryMessage().

int Transports::Seatrac::CidDatReceiveMsg::packetDataDecode ( void  )
inline

Decoding the data packet.

Returns
index.

References data_rec_flag, full_msg, index, n_sub_messages, n_sub_messages_last, packet_data, and packet_len.

Referenced by Transports::Seatrac::Task::handleBinaryMessage().

Member Data Documentation

int Transports::Seatrac::CidDatReceiveMsg::data_rec_flag
std::string Transports::Seatrac::CidDatReceiveMsg::full_msg

Referenced by getFullMsg(), and packetDataDecode().

uint8_t Transports::Seatrac::CidDatReceiveMsg::index

Referenced by packetDataDecode().

uint8_t Transports::Seatrac::CidDatReceiveMsg::n_sub_messages

Referenced by packetDataDecode().

uint8_t Transports::Seatrac::CidDatReceiveMsg::n_sub_messages_last

Referenced by packetDataDecode().

char Transports::Seatrac::CidDatReceiveMsg::packet_data[31]
uint8_t Transports::Seatrac::CidDatReceiveMsg::packet_len
Collaboration diagram for Transports::Seatrac::CidDatReceiveMsg:
Collaboration graph