Description

The SessionRead command is used to read a previously recorded session. This differs from [SessionDownload][dd-00] which fully integrates a drop-free mechanism while this command uses a more flexible mechanism enabling user complete control on how to read a session.

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 8
2 CRC uint8_t Calculated
3 Command uint8_t 0x06

Payload

Byte Name C Type Value
4 - 5 Session Identifier uint16_t Varies
6 - 7 Length to read uint16_t 0x00 to 0x0D
8 - 11 Session Offset uint32_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 X
2 CRC uint8_t Calculated
3 Command uint8_t 0x06

Payload

Byte Name C Type Value
4 Data (First byte) uint8_t Varies
... ... ... ...
4 + (X-1) Data (Last byte) uint8_t Varies