EXT0002: Device State
- Extension dependencies: none
- Document status: Approved (2020-02-01)
This extension describes reading the current values of device status parameters.
Commands
Section titled “Commands”0004 Read State
Section titled “0004 Read State”Read a block of device state parameter values.
Request:
<TID> 3900 <LEN> 0004 [( <OFFSET> <BLOCKLEN> ) ...]If OFFSET and BLOCKLEN are not specified, returns maximum data. Multiple pairs can be specified for multiple blocks.
Response:
<TID> 3900 <LEN> 0004 (<BLOCKDATA>) ...| Field | Length | Description |
|---|---|---|
OFFSET | 2 bytes | Offset in parameter structure |
BLOCKLEN | 2 bytes | Block length |
BLOCKDATA | BLOCKLEN | Parameter block bytes |
Errors:
| Code | Description |
|---|---|
0010 | Reading out of bounds |
0011 | Response overflow |