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::C::mip_base_get_device_descriptors_response |
Typedefs | |
typedef struct mip_base_get_device_descriptors_command | mip::C::mip_base_get_device_descriptors_command |
No parameters (empty struct not allowed in C) More... | |
typedef struct mip_base_get_device_descriptors_response | mip::C::mip_base_get_device_descriptors_response |
Functions | |
void | mip::C::insert_mip_base_get_device_descriptors_response (microstrain_serializer *serializer, const mip_base_get_device_descriptors_response *self) |
void | mip::C::extract_mip_base_get_device_descriptors_response (microstrain_serializer *serializer, mip_base_get_device_descriptors_response *self) |
mip_cmd_result | mip::C::mip_base_get_device_descriptors (mip_interface *device, uint16_t *descriptors_out, size_t descriptors_out_max, uint8_t *descriptors_out_count) |
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.
typedef struct mip_base_get_device_descriptors_command mip::C::mip_base_get_device_descriptors_command |
No parameters (empty struct not allowed in C)
typedef struct mip_base_get_device_descriptors_response mip::C::mip_base_get_device_descriptors_response |
void mip::C::extract_mip_base_get_device_descriptors_response | ( | microstrain_serializer * | serializer, |
mip_base_get_device_descriptors_response * | self | ||
) |
void mip::C::insert_mip_base_get_device_descriptors_response | ( | microstrain_serializer * | serializer, |
const mip_base_get_device_descriptors_response * | self | ||
) |
mip_cmd_result mip::C::mip_base_get_device_descriptors | ( | mip_interface * | device, |
uint16_t * | descriptors_out, | ||
size_t | descriptors_out_max, | ||
uint8_t * | descriptors_out_count | ||
) |