48
6.2.2 COMMAND Types
6.2.2.0 Command (Main Category=0x02)
6.2.2.1 Handshake (Second Category=0x01)
PC Request: <0x41>, <0x01>, <0x20>, <0x02>, <0x01>, <0x00>, <0x4f>
DVR Response: <0x41>, <0x20>, <0x01>, <0x02>, <0x08>, <0x00>, <0x4f>
6.2.2.2 Request Time (Second Category=0x02)
PC Request: <0x41>, <0x01>, <0x20>, <0x02>, <0x02>, <0x00>, <0x4f>
DVR Response: <0x41>, <0x20>, <0x01>, <0x02>, <0x02>, <0x07>, <7 Time Value >, <0x4f>
The following case is an illustration of
< 7 Time Value>
2001/06/20 17:05:00 = <0xD1>, <0x07>, <0x06>, <0x14>, <0x11>, <0x05>, <0x00>
6.2.2.3 Set Time (Second Category=0x02)
PC Request: <0x41>, <0x01>, <0x20>, <0x02>, <0x02>, <0x07>, < 7 Time Value >, <0x4f>
The following case is an illustration of
< 7 Time Value>
2001/06/20 17:05:00 = <0xD1>, <0x07>, <0x06>, <0x14>, <0x11>, <0x05>, <0x00>
DVR Act: Changing the time and date.
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_MENU
4
STATE_SETUP
6
STATE_SEARCH
7
STATE_BACKUP
13
STATE_NET_PLAY
23
6.2.2.5 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/2003 17:00 the Date/Time =
<0xd3>,<0x07><0x06>,<0x0b>,<0x11>,<0x00> where 2003= 210(=0xd3) + 7(=0x07) *256
NOTE: The DVR accepts RS-232 time search commands only under the live or playback Mode.
Содержание DGR204
Страница 79: ...79 Digimerge Technologies Inc 300 Alden Road Markham Ontario L3R 4C1 www digimerge com rev01...
Страница 80: ...80...