Description

The RecorderStatus is used to retrieve the status of the Recorder subsystem.

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 0x40 ( 0b010 / 0b00000 )
1 Payload Length uint8_t 0
2 CRC uint8_t Calculated
3 Command uint8_t 0x03

Payload

This command contains no payload.

Response

Header

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

Payload

Byte Name C Type Value
4 Status uint8_t See Below

The following table shows the list of recorder status:

Status Name Description
0x00 IDLE Recorder is idling.
0x01 READ Currently reading a session.
0x02 RECORD Currently recording a session.
0x03 ERASE Currently erasing flash storage.
0x04 DOWNLOAD Currently downloading a session.
0x05 - 0xFE Reserved Reserved
0xFF UNKNOWN Unknown status.