No. 20S071-01 
 
 
 
 
 
 
STC-HD213DV / STC-HD213DV-CS / STC-HD213SDI / STC-HD213SDI-CS / 
STC-HD213DVN / STC-HD213DVN-CS / STC-HD213SDIN / STC-HD213SDIN-CS 
Product Specifications and User
66/94 
 
8  The Communication Protocol Specifications 
 
8.1  The communication settings 
 
Setting  Value 
Baud rate  9,600 bps / 19,200 bps / 38,400 bps (Default) / 57,600 bps / 115,200 bps 
Data bit  8 bits 
Parity  None 
Stop bit  1 bit 
Flow control  None 
 
 
8.2  The communication format 
 
The format for sending / receiving data between PC and camera is in below: 
 
STX 
8bits 
Command
8bits 
Direction 
1bit 
Data length
15bits 
Data 
[Data length] byte
(Variable) 
Check sum 
8bits 
ETX 
8bits 
 
The details for format 
 
  Details 
STX  Start of Frame. This value is always “0x02”. 
Command  Command Code refer to "The Camera Control Command" 
Direction  "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 camera responding. 
Data length  This "Data Length" value tells how many bytes "Data" will contain. 
The "Data Length" must be specified in bytes. 
Data  This field is for set option, value and/or acquired value. 
The size must be specified as "Data Length". 
Check sum  The "Check sum" functions to verify integrity of communication transmission. 
The "Check sum" value should equal last (low) 8 bits of summary of 
["Command" + "Direction" + "Data Length" + "Data"]. 
ETX  End of Frame. This value is always "0x03".