DUNE: Uniform Navigational Environment
2019.02.0
|
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 |
References clear().
|
inline |
References acknowledge, des_id, error, error_msg, first_call, header, max_data_payload, msg, msg_compl, Transports::Radio::MSG_NONE, n_parts, n_parts_end_sync, n_parts_status, npart, past_sync, src_id, start_part, state, str_header, sync, telemetry_imc, and telemetry_imc_status.
Referenced by Transports::Radio::Telemetry::recivedDataTimeOut(), Transports::Radio::Telemetry::recivedDataToDecode(), and XxMesg().
|
inline |
References acknowledge, code, des_id, error_msg, msg, Transports::Radio::MSG_IN_PARTS, Transports::Radio::MSG_IN_PARTS_ERR, msg_timer, n_parts, n_parts_end_sync, n_parts_status, npart, past_sync, src_id, start_part, state, sync, and updateSync().
Referenced by Transports::Radio::Telemetry::recivedDataToDecode().
|
inline |
|
inline |
References acknowledge, code, des_id, error, error_msg, first_call, header, max_data_payload, msg, msg_compl, msg_multi_timer, msg_timer, n_parts, n_parts_status, npart, src_id, start_part, str_header, and sync.
|
inline |
|
inline |
|
inline |
References msg_compl.
Referenced by Transports::Radio::Telemetry::createReport().
|
inline |
References acknowledge, code, des_id, error_msg, n_parts, npart, src_id, start_part, and sync.
Referenced by Transports::Radio::Telemetry::recivedDataToDecode().
|
inline |
Referenced by decodeHeader().
bool Transports::Radio::XxMesg::acknowledge |
Referenced by Transports::Radio::Telemetry::anyDataToProcess(), Transports::Radio::Telemetry::anyDatatosend(), Transports::Radio::Telemetry::buzyStateMachine(), clear(), decodeHeader(), encodeHeader(), imc_to_tx_msg(), Transports::Radio::Telemetry::recivedDataToDecode(), testDecodeHeader(), and Transports::Radio::Telemetry::updateTxState().
Codes Transports::Radio::XxMesg::code |
uint8_t Transports::Radio::XxMesg::des_id |
bool Transports::Radio::XxMesg::error |
Referenced by Transports::Radio::Telemetry::anyDatatosend(), clear(), and encodeHeader().
std::string Transports::Radio::XxMesg::error_msg |
bool Transports::Radio::XxMesg::first_call |
Referenced by clear(), and encodeHeader().
std::vector<char> Transports::Radio::XxMesg::header |
Referenced by clear(), and encodeHeader().
uint16_t Transports::Radio::XxMesg::max_data_payload |
Referenced by clear(), and encodeHeader().
std::string Transports::Radio::XxMesg::msg |
Referenced by Transports::Radio::Telemetry::anyDatatosend(), Transports::Radio::Telemetry::buzyStateMachine(), clear(), decodeHeader(), encodeHeader(), Transports::Radio::Telemetry::recivedDataToDecode(), Transports::Radio::Telemetry::recvImcMessage(), and Transports::Radio::Telemetry::reportDecode().
std::string Transports::Radio::XxMesg::msg_compl |
Referenced by Transports::Radio::Telemetry::anyDatatosend(), clear(), encodeHeader(), imc_to_tx_msg(), and setMsgData().
Time::Counter<double> Transports::Radio::XxMesg::msg_multi_timer |
Referenced by Transports::Radio::Telemetry::buzyStateMachine(), and encodeHeader().
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 clear(), decodeHeader(), and Transports::Radio::Telemetry::recivedDataToDecode().
uint8_t Transports::Radio::XxMesg::n_parts_status |
Referenced by Transports::Radio::Telemetry::buzyStateMachine(), clear(), decodeHeader(), and encodeHeader().
bool Transports::Radio::XxMesg::npart |
uint8_t Transports::Radio::XxMesg::past_sync |
Referenced by clear(), and decodeHeader().
uint8_t Transports::Radio::XxMesg::src_id |
Referenced by Transports::Radio::Telemetry::anyDatatosend(), clear(), decodeHeader(), encodeHeader(), imc_to_tx_msg(), Transports::Radio::Telemetry::recivedDataToDecode(), Transports::Radio::Telemetry::recvImcMessage(), Transports::Radio::Telemetry::reportDecode(), Transports::Radio::Telemetry::sendAKtoRXMsg(), and testDecodeHeader().
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(), clear(), Transports::Radio::Telemetry::createReport(), decodeHeader(), 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 |
Referenced by clear(), and imc_to_tx_msg().
IMC::TelemetryMsg Transports::Radio::XxMesg::telemetry_imc_status |
Referenced by Transports::Radio::Telemetry::anyDataToProcess(), Transports::Radio::Telemetry::buzyStateMachine(), clear(), Transports::Radio::Telemetry::createReport(), Transports::Radio::Telemetry::imc_TelemetryMsg_tx(), imc_to_tx_msg(), Transports::Radio::Telemetry::recvImcMessage(), and Transports::Radio::Telemetry::updateTxState().
double Transports::Radio::XxMesg::timestamp |
Referenced by Transports::Radio::Telemetry::recvImcMessage().