
3. Communication Format
20/21Z RS-232C
Communication Format
Communication between camera and user is available by using RS-232C.
3.1. Parameter of RS-232C
Baud Rate: 9.6kbps
Start bit: 1
Stop bit: 1
Data bits: 8
None Parity
Flow control: XON/XOFF, RTS/CTS is not supported.
3.2. Packet
Structure
The basic unit of communication is called
“
PACKET
”
. All bytes of the packet are ASCII
format. The first byte of the packet is called
“
Header
”
. The second and third bytes are
“
ID
”
of the camera. The forth and the fifth bytes are
“
Command Message
”
. And from the sixth
to the ninth bytes is
“
Command Option
”
. The last two bytes are
“
Check sum
”
of the
packet.
The check sum is sum of 9 bytes (byte0~byte8).
The header must be
‘*’
.
All bytes of the packet must be a Capital Letter.
Figure 8.
Command Packet Block
Doc # APN 20/21Z704 22X
Comm.
Issue Date: 3/25/2005
Revision: E
Page
12
of 28