Contains the logic for the "Continuous Data Stream" command.
CMD_ID | CMD_CONTINUOUS_DATA_STREAM - The InertialTypes::Command for this command |
FIELD_DATA_BYTE | 0x85 - The Data Field Descriptor byte |
static uint8 getDeviceSelector( |
| ) |
Converts an InertialTypes::InertialCategory to the device selector for this command.
type | The InertialTypes::InertialCategory to get the device selector for. |
The device selector for the given InertialTypes::InertialCategory.
static ByteStream buildCommand_get( |
| ) |
Builds the bytes for the "get" command.
type | The InertialTypes::InertialCategory to get the current state for. |
A ByteStream that holds the bytes that make up the command.
static ByteStream buildCommand_set( |
| ) |
Builds the bytes for the "set" command.
type | The InertialTypes::InertialCategory to set the state for. |
enable bool | Whether to enable (true) or disable (false) continuous data streaming. |
A ByteStream that holds the bytes that make up the command.