diff --git a/README.md b/README.md index 47028a3..fa329b4 100644 --- a/README.md +++ b/README.md @@ -97,8 +97,10 @@ If controller for some port is not connected, you can respond with 12 zero bytes | Offset | Length | Type | Meaning | | ------ | ------ | ---- | ------- | -| 0 | 4 | **Signed 32-bit** | Amount of ports you should report about. Always less than 5. | -| 4 | 1 to 4 | Unsigned 8-bit (array) | Each byte represent number of slot you should report about. Count of bytes here is determined by value above. Each value is less than 4. | +| 0 | 4 | **Signed 32-bit** | Amount of slots you should report about. Always less than 5. | +| 4 | 1 to 4 | Unsigned 8-bit (array) | Each byte represent index of slot you should report about. Count of bytes here is determined by value above. Each value is less than 4.| + +Example: 0x4 + 0x0,0x1,0x2,0x3 . You should reply with 4 separate packages. From slot 0 to 3. For every requested controller slot you should send one packet structured like described below. @@ -106,7 +108,7 @@ For every requested controller slot you should send one packet structured like d | Offset | Length | Type | Meaning | | ------ | ------ | ---- | ------- | -| 0 | 11 | Complex | Beginning described above | +| 0 | 11 | Complex | Shared response beginning for message types above| | 11 | 1 | N/A | Zero byte (`\0`). | # Actual controllers data