7 The communication protocol specifications
7.1 Communication settings
Setting
Baud rate
Data bit
Parity
Stop bit
Flow control
7.2 Communication format
The format for the sending / receiving data between the PC and the camera is in below:
SOF
8bits
Details for the format
SOF
Command
Direction
Data length
Data
Check sum
EOF
STC-HD203DV / STC-HD203DV-CS / STC-HD203SDI / STC-HD203SDI-CS
Product Specifications and Users Guide
Value
9,600 bps / 19,200 bps / 38,400 bps (Default)
8 bits
None
1 bit
None
Command
Direction
8bits
1bit
Details
Start of the Frame. This value is always "0x02".
Command Code Refer to: "The Camera Control Command"
"0": Reading or receiving data from the camera is always a "0" value.
"1": Writing or sending data to the camera is always a "1" value.
Note: This value is always "0" when the Camera responds.
This "Data Length" value tells how many bytes the "Data" will contain.
The "Data Length" must be specified in bytes.
This field is for option, set value and/or acquired value.
The size must be specified as "Data Length".
The "Check sum" functions to verify the integrity of the communication transmission.
The "Check sum" value should equal the last (low) 8 bits of the summary of
["Command" + "Direction" + "Data Length" + "Data"].
If this value of "Check sum" does not match with last (low) 8 bits of the summary data of
["Command" + "Direction" + "Data Length" + "Data"],
the camera will generate the error message: "Check Sum Error".
End of the Frame. This value is always "0x03".
Data length
Data
15bits
[Data length] byte
(Variable)
No. 13S054-10
Check sum
EOF
8bits
8bits
34/78