DUNE: Uniform Navigational Environment
2017.01.0
|
Public Member Functions | |
int | packetDataBuild (std::vector< char > msg, int dest_id_t) |
int | packetDataNextPart (int next) |
int | packetDataSendStatus (void) |
Public Attributes | |
uint8_t | dest_id |
AmsgType_E | msg_type |
uint8_t | packet_len |
std::string | packet_data |
CST_E | status |
uint8_t | beacon_id |
int | lock_flag |
uint8_t | n_sub_messages |
int | n_sub_rest |
uint8_t | message_index |
std::string | hex |
int | error_number |
Time::Counter< double > | msg_timer |
|
inline |
Constructs data packets.
[in] | msg | data |
[in] | dest_id_t | destination id. |
References dest_id, error_number, hex, lock_flag, message_index, msg_timer, n_sub_messages, n_sub_rest, packet_data, and packet_len.
Referenced by Transports::Seatrac::Task::consume().
|
inline |
Builds the next msg package.
References error_number, hex, lock_flag, message_index, msg_timer, n_sub_messages, n_sub_rest, packet_data, and packet_len.
Referenced by Transports::Seatrac::Task::checkTxOWAY(), Transports::Seatrac::Task::handleBinaryMessage(), Transports::Seatrac::Task::handleCommunicationError(), and Transports::Seatrac::Task::handleDatSendResponse().
|
inline |
Returns if packages constructor is free.
References lock_flag.
Referenced by Transports::Seatrac::Task::checkTxOWAY(), and Transports::Seatrac::Task::consume().
uint8_t Transports::Seatrac::CidDatSendMsg::beacon_id |
Referenced by Transports::Seatrac::dataParser(), and Transports::Seatrac::printDebugFunction().
uint8_t Transports::Seatrac::CidDatSendMsg::dest_id |
Referenced by Transports::Seatrac::commandCreateSeatrac(), and packetDataBuild().
int Transports::Seatrac::CidDatSendMsg::error_number |
Referenced by packetDataBuild(), and packetDataNextPart().
std::string Transports::Seatrac::CidDatSendMsg::hex |
Referenced by packetDataBuild(), and packetDataNextPart().
int Transports::Seatrac::CidDatSendMsg::lock_flag |
uint8_t Transports::Seatrac::CidDatSendMsg::message_index |
Referenced by packetDataBuild(), and packetDataNextPart().
Time::Counter<double> Transports::Seatrac::CidDatSendMsg::msg_timer |
Referenced by packetDataBuild(), and packetDataNextPart().
AmsgType_E Transports::Seatrac::CidDatSendMsg::msg_type |
uint8_t Transports::Seatrac::CidDatSendMsg::n_sub_messages |
Referenced by packetDataBuild(), and packetDataNextPart().
int Transports::Seatrac::CidDatSendMsg::n_sub_rest |
Referenced by packetDataBuild(), and packetDataNextPart().
std::string Transports::Seatrac::CidDatSendMsg::packet_data |
Referenced by Transports::Seatrac::commandCreateSeatrac(), packetDataBuild(), and packetDataNextPart().
uint8_t Transports::Seatrac::CidDatSendMsg::packet_len |
CST_E Transports::Seatrac::CidDatSendMsg::status |