MIP_SDK
v3.0.0
MicroStrain Communications Library for embedded systems
|
Get the command and data descriptors supported by the device. More...
Classes | |
struct | mip::commands_base::GetDeviceDescriptors |
Functions | |
TypedResult< GetDeviceDescriptors > | mip::commands_base::getDeviceDescriptors (C::mip_interface &device, uint16_t *descriptorsOut, size_t descriptorsOutMax, uint8_t *descriptorsOutCount) |
Get the command and data descriptors supported by the device.
Reply has two fields: "ACK/NACK" and "Descriptors". The "Descriptors" field is an array of 16 bit values. The MSB specifies the descriptor set and the LSB specifies the descriptor.
TypedResult< GetDeviceDescriptors > mip::commands_base::getDeviceDescriptors | ( | C::mip_interface & | device, |
uint16_t * | descriptorsOut, | ||
size_t | descriptorsOutMax, | ||
uint8_t * | descriptorsOutCount | ||
) |