Contains the logic for the Inertial "Get Device Descriptor Sets" command
CMD_ID = CMD_GET_DESCRIPTOR_SETS | The InertialTypes::Command for this command |
FIELD_DATA_BYTE = 0x82 | The Data Field Descriptor byte |
Builds the command packet
A ByteStream containing the Inertial GetDeviceDescriptorSets command packet
Handles the response to the GetDeviceDescriptorSets command
Response( |
| ) |
Creates a Response object
collector std::weak_ptr<ResponseCollector> | The ResponseCollector used to register and unregister the response |
virtual bool match_data( |
| ) override |
Attempts to match an InertialDataField to the expected data field response.
true if the field matches the expected data, false if it does not.
std::vector<uint16> parseResponse( |
| ) const |
Parses a successfully matched response for the GetDeviceDescriptorSets command.
response | The GenericInertialCommandResponse that matches the data field for this response. |
The descriptor sets parsed from the response.