MIP_SDK  v3.0.0
MicroStrain Communications Library for embedded systems
Classes | Typedefs | Functions
(0x01,0x07) Get Extended Descriptors

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

Classes

struct  mip::C::mip_base_get_extended_descriptors_response
 

Typedefs

typedef struct mip_base_get_extended_descriptors_command mip::C::mip_base_get_extended_descriptors_command
 No parameters (empty struct not allowed in C) More...
 
typedef struct mip_base_get_extended_descriptors_response mip::C::mip_base_get_extended_descriptors_response
 

Functions

void mip::C::insert_mip_base_get_extended_descriptors_response (microstrain_serializer *serializer, const mip_base_get_extended_descriptors_response *self)
 
void mip::C::extract_mip_base_get_extended_descriptors_response (microstrain_serializer *serializer, mip_base_get_extended_descriptors_response *self)
 
mip_cmd_result mip::C::mip_base_get_extended_descriptors (mip_interface *device, uint16_t *descriptors_out, size_t descriptors_out_max, uint8_t *descriptors_out_count)
 

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.

Typedef Documentation

◆ mip_base_get_extended_descriptors_command

No parameters (empty struct not allowed in C)

◆ mip_base_get_extended_descriptors_response

Function Documentation

◆ extract_mip_base_get_extended_descriptors_response()

void mip::C::extract_mip_base_get_extended_descriptors_response ( microstrain_serializer serializer,
mip_base_get_extended_descriptors_response self 
)

◆ insert_mip_base_get_extended_descriptors_response()

void mip::C::insert_mip_base_get_extended_descriptors_response ( microstrain_serializer serializer,
const mip_base_get_extended_descriptors_response self 
)

◆ mip_base_get_extended_descriptors()

mip_cmd_result mip::C::mip_base_get_extended_descriptors ( mip_interface device,
uint16_t *  descriptors_out,
size_t  descriptors_out_max,
uint8_t *  descriptors_out_count 
)