DUNE: Uniform Navigational Environment
2019.02.1
|
Public Member Functions | |
XxMesg (void) | |
void | clear (void) |
void | setMsgData (std::string msgData) |
void | encodeHeader (Codes code_t, uint8_t src, uint8_t dst, uint8_t sync_n, bool ak, int max_data_packaging, double ttl) |
void | encodeHeader (uint8_t sync_n, int max_data_packaging, double ttl=-1.0) |
bool | testDecodeHeader (std::string rxData) |
bool | decodeHeader (std::string rxData) |
uint8_t | updateSync (uint8_t syncn) |
void | rx_to_imc_msg (void) |
bool | imc_to_tx_msg (const IMC::TelemetryMsg *tmsg, uint8_t src, uint8_t dst) |
Public Attributes | |
Codes | code |
bool | acknowledge |
bool | npart |
bool | start_part |
uint8_t | sync |
uint8_t | src_id |
uint8_t | des_id |
uint8_t | n_parts |
std::vector< char > | header |
std::string | str_header |
std::string | msg |
std::string | msg_compl |
MsgState | state |
bool | first_call |
uint8_t | past_sync |
uint8_t | n_parts_status |
uint16_t | n_parts_end_sync |
bool | error |
double | timestamp |
uint16_t | max_data_payload |
std::string | error_msg |
Time::Counter< double > | msg_timer |
Time::Counter< double > | msg_multi_timer |
IMC::TelemetryMsg | telemetry_imc |
IMC::TelemetryMsg | telemetry_imc_status |
|
inline |
|
inline |
References Transports::Radio::MSG_NONE.
Referenced by Transports::Radio::Telemetry::recivedDataTimeOut(), and Transports::Radio::Telemetry::recivedDataToDecode().
|
inline |
References Transports::Radio::MSG_IN_PARTS, and Transports::Radio::MSG_IN_PARTS_ERR.
Referenced by Transports::Radio::Telemetry::recivedDataToDecode().
|
inline |
|
inline |
|
inline |
References Transports::Radio::CODE_IMC, Transports::Radio::CODE_RAW, and Transports::Radio::CODE_UNK.
Referenced by Transports::Radio::Telemetry::imc_TelemetryMsg_tx().
|
inline |
|
inline |
Referenced by Transports::Radio::Telemetry::createReport().
|
inline |
Referenced by Transports::Radio::Telemetry::recivedDataToDecode().
|
inline |
bool Transports::Radio::XxMesg::acknowledge |
Codes Transports::Radio::XxMesg::code |
uint8_t Transports::Radio::XxMesg::des_id |
bool Transports::Radio::XxMesg::error |
Referenced by Transports::Radio::Telemetry::anyDatatosend().
std::string Transports::Radio::XxMesg::error_msg |
bool Transports::Radio::XxMesg::first_call |
std::vector<char> Transports::Radio::XxMesg::header |
uint16_t Transports::Radio::XxMesg::max_data_payload |
std::string Transports::Radio::XxMesg::msg |
std::string Transports::Radio::XxMesg::msg_compl |
Referenced by Transports::Radio::Telemetry::anyDatatosend().
Time::Counter<double> Transports::Radio::XxMesg::msg_multi_timer |
Referenced by Transports::Radio::Telemetry::buzyStateMachine().
Time::Counter<double> Transports::Radio::XxMesg::msg_timer |
uint8_t Transports::Radio::XxMesg::n_parts |
uint16_t Transports::Radio::XxMesg::n_parts_end_sync |
Referenced by Transports::Radio::Telemetry::recivedDataToDecode().
uint8_t Transports::Radio::XxMesg::n_parts_status |
Referenced by Transports::Radio::Telemetry::buzyStateMachine().
bool Transports::Radio::XxMesg::npart |
uint8_t Transports::Radio::XxMesg::past_sync |
uint8_t Transports::Radio::XxMesg::src_id |
bool Transports::Radio::XxMesg::start_part |
MsgState Transports::Radio::XxMesg::state |
Referenced by Transports::Radio::Telemetry::anyDataToProcess(), Transports::Radio::Telemetry::anyDatatosend(), Transports::Radio::Telemetry::buzyStateMachine(), Transports::Radio::Telemetry::createReport(), Transports::Radio::Telemetry::recivedDataTimeOut(), Transports::Radio::Telemetry::recivedDataToDecode(), Transports::Radio::Telemetry::recvImcMessage(), Transports::Radio::Telemetry::reportDecode(), Transports::Radio::Telemetry::sendAKtoRXMsg(), Transports::Radio::Telemetry::Telemetry(), and Transports::Radio::Telemetry::updateTxState().
std::string Transports::Radio::XxMesg::str_header |
uint8_t Transports::Radio::XxMesg::sync |
IMC::TelemetryMsg Transports::Radio::XxMesg::telemetry_imc |
IMC::TelemetryMsg Transports::Radio::XxMesg::telemetry_imc_status |
Referenced by Transports::Radio::Telemetry::anyDataToProcess(), Transports::Radio::Telemetry::buzyStateMachine(), Transports::Radio::Telemetry::createReport(), Transports::Radio::Telemetry::imc_TelemetryMsg_tx(), Transports::Radio::Telemetry::recvImcMessage(), and Transports::Radio::Telemetry::updateTxState().
double Transports::Radio::XxMesg::timestamp |
Referenced by Transports::Radio::Telemetry::recvImcMessage().