PreviousNext
Sensor Types
Help > Sensor Types

Sensor type is a one-byte value that specifies the type (quantity) of the sensor as well as the size of the sensor data in case of Read Sensors command and FRC. The sensor type (byte) uses the following format to encode data width and actual sensor type (bits x):

[0000.0000] undefined

[0xxx.xxxx] => 2 bytes of data (127 options)

[100x.xxxx] => 1 byte of data (32 options)

[101x.xxxx] => 4 bytes of data (32 options)

[11xx.xxxx] => variable number of bytes (64 options), the 1st data byte specifies number of remaining data bytes (e.g. 5, 0xAA, 0xBB, 0xCC, 0xDD, 0xEE)