0x0002 Querying Error Codes
Request
Bit Numbering (LSB) |
Description |
Content |
---|---|---|
1 |
LUN/flag |
Bit0-bit3=0 indicates local. Bit0-bit3=(1–15) indicates the index of the MINI management chip. Bit7=1 indicates the last frame. Bit7=0 indicates that data writing is not complete. |
2 |
Request parameter |
0x00: This parameter is not used in this command. |
3–4 |
opcode |
0x0002 |
5–8 |
offset |
0 |
9–12 |
length |
Subject to the actual specifications |
Response
Bit Numbering (LSB) |
Description |
Content |
---|---|---|
1–2 |
error_code |
0: success Other values are error codes. |
3–4 |
opcode |
0x0002 |
5–8 |
total_length |
Subject to the actual specifications |
9–12 |
length |
Data length. The value varies with the actual length. |
13–N |
Response data |
byte[0–3]: LSB. Type: integer. Error code: error code when Health is not 0. If n concurrent faults occur, n error codes are returned. The size of each fault code is 2*n. If no fault occurs, the value is 0x0000. The value is in the little endian format. |