MIP SDK  0.0.1
MicroStrain Communications Library for embedded systems
Classes | Functions
(0x0C,0x0D) Poll Data [CPP]
Collaboration diagram for (0x0C,0x0D) Poll Data [CPP]:

Classes

struct  mip::commands_3dm::PollData
 

Functions

void mip::commands_3dm::insert (Serializer &serializer, const PollData &self)
 
void mip::commands_3dm::extract (Serializer &serializer, PollData &self)
 
CmdResult mip::commands_3dm::pollData (C::mip_interface &device, uint8_t descSet, bool suppressAck, uint8_t numDescriptors, const uint8_t *descriptors)
 

Detailed Description

Poll the device for a message with the specified descriptor set and format.

This function polls for a message using the provided format. The resulting message will maintain the order of descriptors sent in the command and any unrecognized descriptors are ignored. If the format is not provided, the device will attempt to use the stored format (set with the Set Message Format command.) If no format is provided and there is no stored format, the device will respond with a NACK. The reply packet contains an ACK/NACK field. The polled data packet is sent separately as a normal Data packet.

Function Documentation

◆ extract()

void mip::commands_3dm::extract ( Serializer serializer,
PollData self 
)

◆ insert()

void mip::commands_3dm::insert ( Serializer serializer,
const PollData self 
)

◆ pollData()

CmdResult mip::commands_3dm::pollData ( C::mip_interface device,
uint8_t  descSet,
bool  suppressAck,
uint8_t  numDescriptors,
const uint8_t *  descriptors 
)