39
DVR Act: Changing the time and date.
D. 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_PLAY
3
STATE_SETUP
6
STATE_SEARCH
7
STATE_BACKUP
15
E. Time Search (Second Category=0x0b)
PC send: <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/2004 17:00 the Date/Time = <0xd4>, <0x07>, <0x06>,
<0x0c>, <0x11>, <0x00> where 2004= 212(=0xd4) + 7(=0x07) *256
F. 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 HDD Status( Primary Master/Slave, Secondary Master/Slave )
Every HDD use 12 Bytes=
#0 :HDD Exist ( 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
G. Request REC Position (Second Category=0x11)
PC send: <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
Non REC Mode
DVR Response ERROR: <0x41>, <0x20>, <0x01>, <0x02>, <0x11>, <0x01>, <0x45>,
<0x4f>
H. Playback Immediately (Second Category=0x12)
PC send: <0x41>, <0x01>, <0x20>, <0x02>, <0x12>, <0x0a>,<HDD#>, <0x0>,
<0x0>, <0x0>,<4 Bytes REC Position>, <2 Bytes Image NO.>, <0x4f>
On Success
DVR Response: <0x41>, <0x20>, <0x01>, <0x02>, <0x12>, <0x00>, <0x4f>
On
Error
DVR Response ERROR: <0x41>, <0x20>, <0x01>, <0x02>, <0x12>, <0x01>,
<0x45>, <0x4f>