Maxtor SLD240 User Manual

Page 75

Advertising
background image

74

12.2.2 COMMAND Types

12.2.2.0 Command (Main Category=0x02)

12.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>

12.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>

12.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.

12.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_PREREC

2

STATE_PLAY

3

STATE_MENU

4

STATE_PLAYIDLE

5

STATE_SETUP

6

STATE_SEARCH

7

STATE_BACKUP

13

STATE_NET_PLAY 23

12.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, =LowByte + HighByte*256), month

( 1 byte), day (1 byte), hour(1 byte),min(1 byte)

Example: to search 06/12/2002 17:00 the Date/Time =

<0xd2>,<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.

Advertising