No. 17S142-00
STC-HD853HDMI
Product specifications and User’s guide
57/81
8 The communication protocol specifications
8.1 Communication settings
Setting
Baud rate
9,600 bps / 19,200 bps / 38,400 bps (Default)
Data bit
8 bits
Parity
None
Stop bit
1 bit
Flow control
None
8.2 Communication format
The format for the sending / receiving data between PC and camera is in below:
SOF
8bits
Command
8bits
Function
1bit
Data length
15bits
Data
[Data length] byte
(variable)
Check sum
8bits
EOF
8bits
Details for the format
Details
SOF
Start Of Frame. This value is always “0x02”.
Command
Command code.
Please refer “The Camera Control Command” for more details.
Function
0: Reading or receiving data from camera
1: Writing or sending data to camera
Note: This value is always “0” when camera responds.
Data length This “Data length” value tells how many bytes “Data” is contained.
This “Data length” must be specified in bytes.
Data
Writing or receiving data.
The size must be specified size as “Data length”.
Check sum
“Check sum” function is verifying the integrity of communication transmission.
“Check sum” value should equal last (low) eight bits of summary of
[“Command” + “Function” + “Data length” + “Data”].
EOF
End Of Frame. This value is always “0x03”.