47
6.2.2.4 Request State (Second Category=0x06)
PC Request: <0x41>, <0x01>, <0x20>, <0x02>, <0x06>, <0x00>, <0x4f>
DVR Response: <0x41>, <0x20>, <0x01>, <0x02>, <0x06>, <0x01>,
<System State = 0..>, <0x4f>
Description of <System State>:
STATE_STOP
0
STATE_REC
1
STATE_PLAY
3
STATE_SETUP
6
STATE_SEARCH
7
STATE_BACKUP
15
STATE_NET_PLAY
23
6.2.2.5 Time Search (Second Category=0x0b)
PC message: <0x41>, <0x01>, <0x20>, <0x02>, <0x0b>, <0x06>, <6 Bytes Date/Time>,
<0x4f> where < 6 bytes Date/Time >, = year (2 bytes, =L HighByte*256), month (1
byte), day (1 byte), hour (1 byte), min (1 byte)
Example: to search 06/12/2003 17:00 the Date/Time =
<0xd3>, <0x07>, <0x06>, <0x0c>, <0x11>, <0x00> where 2003= 210(=0xd3) + 7(=0x07) *256
6.2.2.6 Request HDD Info (Second Category=0x10)
PC send: <0x41>, <0x01>, <0x20>, <0x02>, <0x10>, <0x00>, <0x4f>
DVR Response: <0x41>, <0x20>, <0x01>, <0x02>, <0x10>, <0x32>, <0x00>, <0x00>,
<48 Bytes Data> <0x4f>
<48 Bytes Data>=4 HDDs Status( Primary Master/Slave, Secondary Master/Slave )
Every HDD use 12 Bytes=
#0 :HDD Exists ( if = 1 )
#1 :Active HDD ( if = 1 )
#2 :Current HDD for REC ( if = 1 )
#3 :Current HDD for PLAY ( if = 1 )
#4…#7 :Capacity
#8..#11
:REC/PLAY
Position
6.2.2.7 Request REC Position (Second Category=0x11)
PC message: <0x41>, <0x01>, <0x20>, <0x02>, <0x11>, <0x00>, <0x4f>
REC Mode
DVR Response: <0x41>, <0x20>, <0x01>, <0x02>, <0x11>, <0x08>, <HDD#>, <0x0>,
<4 Bytes REC Position>, <2 Bytes Image NO.>, <0x4f>
Get HDD#, REC Position and Image NO. used in Playback Immediately command (
6.2.2.8
)
Non REC Mode
DVR Response ERROR: <0x41>, <0x20>, <0x01>, <0x02>, <0x11>, <0x01>, <0x45>, <0x4f>
6.2.2.8 Playback Immediately (Second Category=0x12)
PC message: <0x41>, <0x01>, <0x20>, <0x02>, <0x12>, <0x0a>,<HDD#>, <0x0>, <0x0>,
<0x0>,
<4 Bytes REC Position>, <2 Bytes Image NO.>, <0x4f>
DVR
Playback Immediately
DVR Response: <0x41>, <0x20>, <0x01>, <0x02>, <0x12>, <0x00>, <0x4f>
DVR
Playback ERROR
DVR Response ERROR: <0x41>, <0x20>, <0x01>, <0x02>, <0x12>, <0x01>, <0x45>, <0x4f>
NOTE: The DVR accepts RS-232 time search commands only in the live or playback mode.