Description

The DownsampleGet command is used to retrieve a sensor stream downsample factor.

Protocol

This command uses the Command-Ack-Response protocol.

Command

Byte Name C Type Value
0 Control Byte ( Packet Type (7:5) / SubSystem (4:0) ) uint8_t 0x4D ( 0b010 / 0b01101 )
1 Payload Length uint8_t 2
2 CRC uint8_t Calculated
3 Command uint8_t 0x03

Payload

Byte Name C Type Value
4 - 5 Stream Type uint16_t Varies

Response

Header

Byte Name C Type Value
0 Control Byte ( Packet Type (7:5) / SubSystem (4:0) ) uint8_t 0x0D ( 0b000 / 0b01101 )
1 Payload Length uint8_t 4
2 CRC uint8_t Calculated
3 Command uint8_t 0x03

Payload

Byte Name C Type Value
4 - 5 Stream Type uint16_t Varies
6 - 7 Bandwidth uint16_t Varies