Code: |
AS + 515 |
Symbolic: |
bccAlarmHInfo |
This command will query information about alarm history on the remote device. Request has no parameters.
On success, a bccAck is received with following data:
Offset |
Type |
Label |
Description |
---|---|---|---|
0 |
U32 |
OLDID |
Oldest alarm history ID |
4 |
U32 |
NEWID |
Newst alarm history ID |
8 |
U32 |
HCNT |
No. of alarm history between OLDID and NEWID (all included) |
12 |
U32 |
HSIZE |
History size (no. of storable alarms) |
16 |
U32 |
HID |
History content ID |
On failure, a bccNack is received.
Alarm history report handling is based on the following statements:
•Item ID are allocated progressively, with an exception: at value 0xFFFFFFFF, next valid ID will be 0.
•The no. of items from OLDID and NEWID will be calculated as: if NEWID great or equal than OLDID maximum no. is (NEWID - OLDID + 1), otherwise is ((0xFFFFFFFF - OLDID + 1) + NEWID + 1).