Configuring the Camera
BASLER A202k 4-5
DRAFT
4.2.1 Command Frame and Response Format
Figure 4-2: Representation of a Command Frame and Response
STX Identifies the start of the frame text
Size = 1 Byte
(The value of the STX byte is always 0x02)
DESC Descriptor
Size = 2 Bytes
The bits in the descriptor are assigned as follows:
The MSB of the descriptor is on the left (highest bit of the command ID) and the LSB of
the descriptor is on the right (lowest bit of the data length).
DATA Data field
Size = Number of bytes indicated in the Data Length portion of the descriptor.
BCC Block check character
Size = 1 Byte
The block check character is the exclusive-or sum (XOR sum) of the bytes in the
descriptor field and the data field.
ETX Identifies the end of the frame text
Size = 1 Byte
(The value of the ETX byte is always 0x03)
8 bits 1 bit 7 bits
Command ID Read/Write Flag
( 0 = write, 1 = read )
Data Length
(in Bytes)