72
12.2 Communication Protocol
IMPORTANT: This section is designed to allow users to control the DVR via the RS -232 and
RS-485 ports. The following information is intended to be used by qualified professionals.
Do not make any changes to your system’s settings unless instructed by a qualified
technician.
12.2.0 General Command Format
<Lead Code = 0x41>, < Dest ID >, < Src ID >, <Main category >, <Second category >, {<N umber
of parameters>,<Parameter 1>, <Parameter 2> ..,} <End Code= 0x4f>
Lead Code = 0x41
Dest ID = 0x01
Src ID = 0x20
Main Category = 0x01 Keys and Signals
= 0x02 Command
Second Category = 0x01 Handshake
= 0x02 Request Time/Set Time
= 0x06 Request System State
End Code= 0x4f
The different command types and their corresponding parameters are as follows:
12.2.1 Keys and signals
PC Send: <0x41>, <0x01>, <0x20>, <0x01>, <Key Value>, <0x4f>
< The value of a specific front panel key >
KEY_PLAY 1
KEY_STOP 3
KEY_PAUSE 4
KEY_POWER 5
KEY_REC 6
KEY_SETUP 7
KEY_ENTER 8
KEY_SEARCH 10
KEY_DISPLAY 11
KEY_UP 13
KEY_DOWN 14
KEY_LEFT 15
KEY_RIGHT 16
KEY_MONITOR 36