Code: |
AS + 730 |
Symbolic: |
bccReportInfo |
This command will query information about report 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 report item ID |
4 |
U32 |
NEWID |
Newest report item ID |
8 |
U32 |
NITEM |
No. of report items (in range from OLDID to NEWID, all included) |
12 |
U32 |
SIZE |
Report size (no. of storable items) |
16 |
U32 |
REPID |
Report content ID |
On failure, a bccNack is received.
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).