DUNE: Uniform Navigational Environment  2016.09.0
DUNE::IMC::IridiumCommand Class Reference

Detailed Description

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 IridiumMessagedeserialize (const DUNE::IMC::IridiumMsgRx *msg)
 

Constructor & Destructor Documentation

DUNE::IMC::IridiumCommand::IridiumCommand ( )
DUNE::IMC::IridiumCommand::~IridiumCommand ( )
inline

Member Function Documentation

int DUNE::IMC::IridiumCommand::deserialize ( uint8_t *  data,
uint16_t  len 
)
virtual
int DUNE::IMC::IridiumCommand::serialize ( uint8_t *  buffer)
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.

Member Data Documentation

std::string DUNE::IMC::IridiumCommand::command

Referenced by deserialize(), and serialize().

Collaboration diagram for DUNE::IMC::IridiumCommand:
Collaboration graph