diff --git a/avr/modules/comproto/MESSAGES b/avr/modules/comproto/MESSAGES index 3836e0a..64cee6e 100644 --- a/avr/modules/comproto/MESSAGES +++ b/avr/modules/comproto/MESSAGES @@ -176,16 +176,16 @@ Offset Length Meaning --------------------------------------------------------- 0 1 destination address 1 1 remaining message length +--------------------------------------------------------- 2 1 command code (REPORT_VALUE, REQ_SET_VALUE, RSP_SET_VALUE) 3 1 source address --------------------------------------------------------- - 4 1 module id - 5 1 value id - 6-7 2 msg id/ref msg id - 8 1 value type - 9-10 2 value - 11-12 2 denom - 13 1 CRC8 byte + 4 2 msg id/ref msg id + 6 1 value id + 7 1 value type + 8 2 value + 10 2 denom + 12 1 CRC8 byte @@ -196,13 +196,20 @@ Offset Length Meaning --------------------------------------------------------- 0 1 destination address 1 1 remaining message length +--------------------------------------------------------- 2 1 command code 3 1 source address --------------------------------------------------------- 4 4 UID of the sending node - 8 2 firmware type - 10 2 firmware version - 12 2 modules mask + 8 4 manufacturer + 12 2 device type + 14 1 device hw version + 15 1 device hw revision + 16 1 firmware variant (depends on hardware type) + 17 1 firmware version: major + 18 1 firmware version: minor + 19 1 firmware version: patchlevel + 20 1 CRC8 byte @@ -213,6 +220,7 @@ Offset Length Meaning --------------------------------------------------------- 0 1 destination address 1 1 remaining message length +--------------------------------------------------------- 2 1 command code 3 1 source address --------------------------------------------------------- @@ -230,6 +238,7 @@ Offset Length Meaning --------------------------------------------------------- 0 1 destination address 1 1 remaining message length +--------------------------------------------------------- 2 1 command code 3 1 source address --------------------------------------------------------- @@ -257,8 +266,6 @@ Offset Length Meaning 3 1 source address --------------------------------------------------------- 4 4 UID - 8 2 firmware type - 10 2 firmware version @@ -269,13 +276,20 @@ Offset Length Meaning --------------------------------------------------------- 0 1 destination address 1 1 remaining message length +--------------------------------------------------------- 2 1 command code 3 1 source address --------------------------------------------------------- 4 4 UID - 8 2 firmware type - 10 2 firmware version - 12 2 page size in bytes + 8 4 manufacturer + 12 2 device type + 14 1 device hw version + 15 1 device hw revision + 16 1 firmware variant (depends on hardware type) + 17 1 firmware version: major + 18 1 firmware version: minor + 19 1 firmware version: patchlevel + 20 2 page size in bytes @@ -286,6 +300,7 @@ Offset Length Meaning --------------------------------------------------------- 0 1 destination address 1 1 remaining message length +--------------------------------------------------------- 2 1 command code 3 1 source address --------------------------------------------------------- @@ -301,6 +316,7 @@ Offset Length Meaning --------------------------------------------------------- 0 1 destination address 1 1 remaining message length +--------------------------------------------------------- 2 1 command code 3 1 source address --------------------------------------------------------- @@ -315,6 +331,7 @@ Offset Length Meaning --------------------------------------------------------- 0 1 destination address 1 1 remaining message length +--------------------------------------------------------- 2 1 command code 3 1 source address --------------------------------------------------------- @@ -329,6 +346,7 @@ Offset Length Meaning --------------------------------------------------------- 0 1 destination address 1 1 remaining message length +--------------------------------------------------------- 2 1 command code 3 1 source address ---------------------------------------------------------