Read Element Status
Julyl 2017 Command Set 183
Read Element Status Data
The library returns data for a Read Element Status command with this structure:
• An eight-byte Element Status Data header, followed by
• One to four element pages, one page per element type.
A page consists of:
• An eight-byte Element Status Page header, followed by
• One or more Element Descriptors. The format of the descriptor is based on the
element type reported in this page. Each element type receives a separate
Element Descriptor format.
Data can be truncated based on the length specified in the allocation field.
Element Status Data Header Definition
The library sends this header once for each Read Element Status command.
TABLE 4-102 Element Status Data Header Definition
Byte
Bit
76543210
0
to
1
(MSB)
First Element Address Reported
(LSB)
2
to
3
(MSB)
Number of Elements Available
(LSB)
4 Reserved (00h)
5
to
7
(MSB)
Byte Count of Report Available (all pages, n-7)
(LSB)
8
to
n
Element Status pages
Element Status Data Header Definitions:
First Element Address
Reported
This field indicates the lowest element address found of the type specified in the
Element Type Codes and greater than or equal to the Starting Element Address.
Number of Elements
Available
This field indicates the number of elements found of the type specified in the
Element Type Codes and greater than or equal to the Starting Element Address.
This number is adjusted to be less than or equal to the count specified in the
Number of Elements field in the Read Element Status command.
Byte Count of Report
Available
This field indicates the number of bytes of element status data available for all
elements meeting the requirements of the Read Element Status command. This
count does not include the Element Status Data header bytes. This value is not
adjusted to match the allocation length from the command.