16-Channel Digital Video Recorder
83
Appendix 6 — Protocol for Remote Controlling DVR
Message Format
<BOM><ID>:<Class>:<Code>[:Operands]:<Checksum>[EOM]
where
Symbol
Value
Description
: :
Field
delimiter
<BOM>
@
Beginning of message (for command)
<
Beginning of message (for reply)
<ID> 00~99
Device
ID
<Class>
DR
Device Class (DR for DVR systems)
<Code>
AA~zz
Op-code (see below)
<Operands>
Optional operands defined for each operation
<Checksum> 00~99
Checksum (sum of ASCII codes before checksum discarding
overflow)
*
No
checksum
[EOM] ^J^M
End of message (optional: only for convenience of users using
general terminal)
*All digits are used in decimal format.
*Letters are case sensitive.
Control Flow
• Every transaction consists of one command and one reply.
• Characters transmitted before <BOM> are ignored.
• The format of operands is defined independently for each op-code.
• The <BOM> received before <Checksum> of the previous message resets interpretation: i.e., discards the previous
message. EXCEPTION: in case of text input, none of characters within specified length has special interpretation.
Common Reply
Reply code
Reply data
Description
ok
er
0000~9999
Error: return error number
General Functions
Function
Code
Operands
Reply
Reply data
Power Off
PO
Time Setting
TM
YYYYMMDDHHMMSS
ii
Содержание PDR16-PC
Страница 1: ......
Страница 2: ...User s Manual ii ...
Страница 6: ...User s Manual vi ...
Страница 60: ...User s Manual 54 ...