Télécharger Imprimer la page

Capture CPT-DVR4132XP Manuel D'utilisation page 203

Publicité

Les langues disponibles

Les langues disponibles

User's Manual
Appendix 6 — Protocol for Remote Controlling
DVR
Message Format
<BOM><ID>:<Class>:<Code>[:Operands]:<Checksum>[EOM]
where
Symbol
Value
:
:
<BOM>
@
<
<ID>
00~99
<Class>
DR
<Code>
AA~zz
<Operands>
<Checksum>
00~99
*
[EOM]
^J^M
*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
ok
er
0000~9999
General Functions
Function
Power Off
Time Setting
LogIn
LogOut
Cursor Control
Function
Tab
Enter
Text Input
96
Description
Field delimiter
Beginning of message (for command)
Beginning of message (for reply)
Device ID
Device Class ("DR" for DVR systems)
Op-code (see below)
Optional operands defined for each operation
Checksum (sum of ASCII codes before checksum discarding overflow)
No checksum
End of message (optional: only for convenience of users using general terminal)
Code
Operands ii
PO
TM
YYYYMMDDHHMMSS iii
LI
01~16:****:01~08:****
LO
Code
Operands
TB
F/B(direction)
EN
TI
01~99(length):string iv
Description
Error: return error number
Reply
Reply
i
Reply data
Reply data

Publicité

loading