MIP_SDK  v3.0.0
MicroStrain Communications Library for embedded systems
Classes | Functions
(0x0C,0x01) Poll Imu Message

Poll the device for an IMU message with the specified format. More...

Classes

struct  mip::commands_3dm::PollImuMessage
 

Functions

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

◆ pollImuMessage()

TypedResult< PollImuMessage > mip::commands_3dm::pollImuMessage ( C::mip_interface device,
bool  suppressAck,
uint8_t  numDescriptors,
const DescriptorRate descriptors 
)