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

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

Classes

struct  mip::C::mip_3dm_poll_data_command
 

Typedefs

typedef struct mip_3dm_poll_data_command mip::C::mip_3dm_poll_data_command
 

Functions

void mip::C::insert_mip_3dm_poll_data_command (microstrain_serializer *serializer, const mip_3dm_poll_data_command *self)
 
void mip::C::extract_mip_3dm_poll_data_command (microstrain_serializer *serializer, mip_3dm_poll_data_command *self)
 
mip_cmd_result mip::C::mip_3dm_poll_data (mip_interface *device, uint8_t desc_set, bool suppress_ack, uint8_t num_descriptors, 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.

Typedef Documentation

◆ mip_3dm_poll_data_command

Function Documentation

◆ extract_mip_3dm_poll_data_command()

void mip::C::extract_mip_3dm_poll_data_command ( microstrain_serializer serializer,
mip_3dm_poll_data_command self 
)

◆ insert_mip_3dm_poll_data_command()

void mip::C::insert_mip_3dm_poll_data_command ( microstrain_serializer serializer,
const mip_3dm_poll_data_command self 
)

◆ mip_3dm_poll_data()

mip_cmd_result mip::C::mip_3dm_poll_data ( mip_interface device,
uint8_t  desc_set,
bool  suppress_ack,
uint8_t  num_descriptors,
const uint8_t *  descriptors 
)