MIP_SDK  latest-2-g34f3e39
MicroStrain Communications Library for embedded systems
Classes | Functions
(0x01,0x04) Get Device Descriptors

Get the command and data descriptors supported by the device. More...

Classes

struct  mip::commands_base::GetDeviceDescriptors
 

Functions

TypedResult< GetDeviceDescriptorsmip::commands_base::getDeviceDescriptors (C::mip_interface &device, uint16_t *descriptorsOut, size_t descriptorsOutMax, uint8_t *descriptorsOutCount)
 

Detailed Description

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.

Function Documentation

◆ getDeviceDescriptors()

TypedResult< GetDeviceDescriptors > mip::commands_base::getDeviceDescriptors ( C::mip_interface device,
uint16_t *  descriptorsOut,
size_t  descriptorsOutMax,
uint8_t *  descriptorsOutCount 
)