EXT0006: Basic Events
- Extension dependencies:
EXT000F - Document status: Testing
This extension describes reading and management of simple events (scheduled or triggered by parameter changes).
Event Format
Section titled “Event Format”<DATE> (<PARAM> ...)| Field | Length | Description |
|---|---|---|
DATE | 4 bytes | Unix timestamp |
PARAM | regulated | Parameter sequences (device-specific) |
Commands
Section titled “Commands”000D Read Events
Section titled “000D Read Events”Request:
<TID> 3900 0006 000D <AFTEREV>Response:
<TID> 3900 <LEN> 000D <LASTEV> [<EVENT> ...]| Field | Length | Description |
|---|---|---|
AFTEREV | 4 bytes | LASTEV from previous packet (0 for first) |
LASTEV | 4 bytes | Address of last entry |
EVENT | regulated | Event data |
Errors: 0010 ROM read error, 0011 Invalid AFTEREV
000E Write Events
Section titled “000E Write Events”Request:
<TID> 3900 <LEN> 000E (<EVENT> ...)Response:
<TID> 3900 0002 000EErrors: 0010 ROM write, 0011 ROM expired, 0012 No space, 0013 Invalid EVENT
000F Delete Events
Section titled “000F Delete Events”Request:
<TID> 3900 <LEN> 000F (<EVENT> ...)Response:
<TID> 3900 0002 000FErrors: 0010 ROM write, 0011 ROM expired, 0012 Invalid EVENT
0010 Clear Events
Section titled “0010 Clear Events”Delete all events. Asynchronous process.
Request:
<TID> 3900 0002 0010Response:
<TID> 3900 <LEN> 0010 <PROCID> [<BUSYTIME>]