MIP SDK
0.0.1
MicroStrain Communications Library for embedded systems
|
Classes | |
struct | mip::commands_base::GetDeviceDescriptors |
Functions | |
void | mip::commands_base::insert (Serializer &serializer, const GetDeviceDescriptors &self) |
void | mip::commands_base::extract (Serializer &serializer, GetDeviceDescriptors &self) |
void | mip::commands_base::insert (Serializer &serializer, const GetDeviceDescriptors::Response &self) |
void | mip::commands_base::extract (Serializer &serializer, GetDeviceDescriptors::Response &self) |
CmdResult | 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.
void mip::commands_base::extract | ( | Serializer & | serializer, |
GetDeviceDescriptors & | self | ||
) |
void mip::commands_base::extract | ( | Serializer & | serializer, |
GetDeviceDescriptors::Response & | self | ||
) |
CmdResult mip::commands_base::getDeviceDescriptors | ( | C::mip_interface & | device, |
uint16_t * | descriptorsOut, | ||
size_t | descriptorsOutMax, | ||
uint8_t * | descriptorsOutCount | ||
) |
void mip::commands_base::insert | ( | Serializer & | serializer, |
const GetDeviceDescriptors & | self | ||
) |
void mip::commands_base::insert | ( | Serializer & | serializer, |
const GetDeviceDescriptors::Response & | self | ||
) |