Description

The SessionGeneralInfo command is used to retrieve a session general information. This includes the session length in number of bytes, and the Unix Timestamp corresponding to the date/time of the recording.

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 0x4B ( 0b010 / 0b01011 )
1 Payload Length uint8_t 2
2 CRC uint8_t Calculated
3 Command uint8_t 0x05

Payload

Byte Name C Type Value
4 - 5 Session Identifier uint16_t Varies

Response

Header

Byte Name C Type Value
0 Control Byte ( Packet Type (7:5) / SubSystem (4:0) ) uint8_t 0x0B ( 0b000 / 0b01011 )
1 Payload Length uint8_t 8
2 CRC uint8_t Calculated
3 Command uint8_t 0x05

Payload

Byte Name C Type Value
4 - 7 Session Length (in bytes) uint32_t Varies
8 - 11 Timestamp Unix uint32_t Varies