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

Classes

struct  mip::commands_3dm::PollImuMessage
 

Functions

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

Detailed Description

Poll the device for an IMU message with the specified format

This function polls for an IMU 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 IMU 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 an IMU Data packet.

Function Documentation

◆ extract()

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

◆ insert()

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

◆ pollImuMessage()

CmdResult mip::commands_3dm::pollImuMessage ( C::mip_interface device,
bool  suppressAck,
uint8_t  numDescriptors,
const DescriptorRate descriptors 
)