DUNE: Uniform Navigational Environment
2.6.0-rc4
|
Extension to the IMC protocol used to send text commands to DUNE vehicles (these messages are reported as received SMS)
Public Member Functions | |
IridiumCommand () | |
int | serialize (uint8_t *buffer) |
int | deserialize (uint8_t *data, uint16_t len) |
~IridiumCommand () | |
Public Member Functions inherited from DUNE::IMC::IridiumMessage | |
virtual | ~IridiumMessage () |
Public Attributes | |
std::string | command |
Public Attributes inherited from DUNE::IMC::IridiumMessage | |
uint16_t | source |
uint16_t | destination |
uint16_t | msg_id |
Additional Inherited Members | |
Static Public Member Functions inherited from DUNE::IMC::IridiumMessage | |
static IridiumMessage * | deserialize (const DUNE::IMC::IridiumMsgRx *msg) |
DUNE::IMC::IridiumCommand::IridiumCommand | ( | ) |
References DUNE::IMC::IridiumMessage::msg_id.
|
inline |
|
virtual |
Deserialize an Iridium data buffer.
Implements DUNE::IMC::IridiumMessage.
References command, DUNE::IMC::deserialize(), DUNE::IMC::IridiumMessage::destination, DUNE::IMC::IridiumMessage::msg_id, and DUNE::IMC::IridiumMessage::source.
Referenced by DUNE::IMC::IridiumMessage::deserialize().
|
virtual |
Serialize this message into a data buffer (to be sent via Iridium)
Implements DUNE::IMC::IridiumMessage.
References command, DUNE::IMC::IridiumMessage::destination, DUNE::IMC::IridiumMessage::msg_id, DUNE::IMC::serialize(), and DUNE::IMC::IridiumMessage::source.
std::string DUNE::IMC::IridiumCommand::command |
Referenced by deserialize(), and serialize().