DUNE: Uniform Navigational Environment  2019.02.0
DUNE::IMC::ActivateSpotSubscription Class Reference

Detailed Description

Extension to the IMC protocol used request reception of device position updates.

Public Member Functions

int serialize (uint8_t *buffer)
 
int deserialize (uint8_t *data, uint16_t len)
 
 ActivateSpotSubscription ()
 
 ~ActivateSpotSubscription ()
 
- Public Member Functions inherited from DUNE::IMC::IridiumMessage
virtual ~IridiumMessage ()
 

Additional Inherited Members

- Static Public Member Functions inherited from DUNE::IMC::IridiumMessage
static IridiumMessagedeserialize (const DUNE::IMC::IridiumMsgRx *msg)
 
- Public Attributes inherited from DUNE::IMC::IridiumMessage
uint16_t source
 
uint16_t destination
 
uint16_t msg_id
 

Constructor & Destructor Documentation

DUNE::IMC::ActivateSpotSubscription::ActivateSpotSubscription ( )
DUNE::IMC::ActivateSpotSubscription::~ActivateSpotSubscription ( )
inline

Member Function Documentation

int DUNE::IMC::ActivateSpotSubscription::deserialize ( uint8_t *  data,
uint16_t  len 
)
virtual
int DUNE::IMC::ActivateSpotSubscription::serialize ( uint8_t *  buffer)
virtual

Serialize this message into a data buffer (to be sent via Iridium)

Implements DUNE::IMC::IridiumMessage.

References DUNE::IMC::IridiumMessage::destination, DUNE::IMC::IridiumMessage::msg_id, DUNE::IMC::serialize(), and DUNE::IMC::IridiumMessage::source.

Collaboration diagram for DUNE::IMC::ActivateSpotSubscription:
Collaboration graph