MIP_SDK  v3.0.0
MicroStrain Communications Library for embedded systems
Classes | Functions
(0x0C,0x0D) Poll Data

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

Classes

struct  mip::commands_3dm::PollData
 

Functions

TypedResult< PollDatamip::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

◆ pollData()

TypedResult< PollData > mip::commands_3dm::pollData ( C::mip_interface device,
uint8_t  descSet,
bool  suppressAck,
uint8_t  numDescriptors,
const uint8_t *  descriptors 
)