2 configuration and status – GE Digital Video Multiplexer Recorder User Manual

Page 70

Advertising
background image

0150-0229D

70

Kalatel DVMRe StoreSafe

9.2 Configuration and

Status

i) Data structure

Byte 1: 0xFF
Byte 2: Command Type

0xAA: (SET) Update DVMRe with data.
0xBB: (GET) Extract data from DVMRe.

Byte 3: Data Length (n)
Byte 4: Data Type

0x61: Restart DVMRe

0xFE: Send configuration data to DVMRe

0x09: Read Alarm History from DVMRe
0xFF: Read configuration and status data

from DVMRe

Byte 5: Data byte 1
Byte 6: Data byte 2

:

:

Byte x: Data byte n

ii) Sending data to the DVMRe

a) Restart StoreSafe

This command will restart StoreSafe.

Byte 1: 0xFF
Byte 2: 0xAA
Byte 3: 0
Byte 4: 0x61

b) Send data to StoreSafe

Configuration data can be sent to StoreSafe,
to change the way it operates. The data is
arranged in the form of 16 byte blocks,
numbered from 1 to 213. Blocks 182, 183 and
185 are status blocks, and hence cannot be
written to. For details about the contents of
each block, contact GE-Interlogix and request
the Block Data Structure for StoreSafe.

Byte 1: 0xFF
Byte 2: 0xAA
Byte 3: 17
Byte 4: 0xFE
Byte 5: Block Number

(1-181, 184, 186-200)

Byte 6: data[0]
: :
: :
Byte 21:data[15]


After sending a block or series of blocks, block
number 255 must be updated to signal the end of
the configuration session. All data bytes for block
255 must be set to 0.






iii) Requesting data from the DVMRe

When a message of type 0xBB is sent to
StoreSafe, it will respond by sending 16 bytes of
requested data.

a) Read Alarm History List

Byte 1: 0xFF

Byte 2: 0xBB
Byte 3: 0
Byte 4: 0x09


When the "Read Alarm History List" message is
received by StoreSafe, it responds by sending a
start byte 0xFF, followed by ASCII strings for
every alarm event in its alarm history list, and a
stop byte, 0xFF. Each string is formatted as
follows:

dd.bmm/ddbhh:mm:ssbaa<CR><LF>

dd:

index number (00 - 99)

b:

space character

mm:

month (01-12)

dd:

day (01-31)

hh:

hours (00-23)

mm:

minutes (00-59)

ss:

seconds (00-59)

aa:

alarm number (01-16)

<CR>

Carriage return (0x0D)

<LF>

Line feed (0x0A)


Example: 03. 11/27 22:48:58 15

b) Read data from StoreSafe

Configuration and status data can be read from
StoreSafe. The data is arranged in the form of 16
byte blocks, numbered from 1 to 213. For details
about the contents of each block, contact GE-
Interlogix and request the Block Data Structure
for StoreSafe.

Byte 1: 0xFF
Byte 2: 0xBB
Byte 3: 1
Byte 4: 0xFF
Byte 5: Block Number 1-213 or 255 if all

blocks are requested.

StoreSafe responds to the “Read data” request by
sending all the requested data bytes
consecutively, without any start or stop bytes.

A total of either 16 bytes or 3408 bytes will be
transmitted, depending on whether a single block
or all the blocks were requested.

Advertising