This command reads a parameter with the index and subindex as given on the corresponding port.
Command:
Octet # | Usage |
---|---|
0 | Command ID = 0x04 |
1 | Port index 0x00 or 0x01 |
2..3 | Index, 16-bit value |
4 | Subindex |
5 | Length |
The Length field is the desired/maximum length for the attribute. The structure of the attribute can be found in the SDCI device’s documentation.
Return Success:
Octet # | Usage |
---|---|
0 | Command ID = 0x0 |
1 | Port index 0x00 or 0x01 |
2..3 | Index, 16-bit value |
4 | Subindex |
5 | Read Length |
6.. | Read Data |
The structure for the Read Data can be found in the SDCI device’s documentation.