iol-hat:sw:3_binary-protocol:3.5_cmd-write
3.5 CMD_WRITE
This command writes a parameter with the index and subindex as given on the addressed port.
Command:
| Octet # | Usage |
|---|---|
| 0 | Command ID = 0x05 |
| 1 | Port index 0x00 or 0x01 |
| 2..3 | Index, 16-bit value |
| 4 | Subindex |
| 5 | Length |
| 6.. | Write Data |
The structure of the Write Data can be found in the SDCI device’s documentation.
Return Success:
| Octet # | Usage |
|---|---|
| 0 | Command ID = 0x05 |
| 1 | Port index 0x00 or 0x01 |
| 2..3 | Index, 16-bit value |
| 4 | Subindex |
| 5 | Length (as given in the command) |
To verify the write operation, a read operation (Command ID 0x04) can be used on the same Index and Subindex.
iol-hat/sw/3_binary-protocol/3.5_cmd-write.txt · Last modified: by anla
