avr: updated documentation for messages.
This commit is contained in:
@@ -176,16 +176,16 @@ Offset Length Meaning
|
|||||||
---------------------------------------------------------
|
---------------------------------------------------------
|
||||||
0 1 destination address
|
0 1 destination address
|
||||||
1 1 remaining message length
|
1 1 remaining message length
|
||||||
|
---------------------------------------------------------
|
||||||
2 1 command code (REPORT_VALUE, REQ_SET_VALUE, RSP_SET_VALUE)
|
2 1 command code (REPORT_VALUE, REQ_SET_VALUE, RSP_SET_VALUE)
|
||||||
3 1 source address
|
3 1 source address
|
||||||
---------------------------------------------------------
|
---------------------------------------------------------
|
||||||
4 1 module id
|
4 2 msg id/ref msg id
|
||||||
5 1 value id
|
6 1 value id
|
||||||
6-7 2 msg id/ref msg id
|
7 1 value type
|
||||||
8 1 value type
|
8 2 value
|
||||||
9-10 2 value
|
10 2 denom
|
||||||
11-12 2 denom
|
12 1 CRC8 byte
|
||||||
13 1 CRC8 byte
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -196,13 +196,20 @@ Offset Length Meaning
|
|||||||
---------------------------------------------------------
|
---------------------------------------------------------
|
||||||
0 1 destination address
|
0 1 destination address
|
||||||
1 1 remaining message length
|
1 1 remaining message length
|
||||||
|
---------------------------------------------------------
|
||||||
2 1 command code
|
2 1 command code
|
||||||
3 1 source address
|
3 1 source address
|
||||||
---------------------------------------------------------
|
---------------------------------------------------------
|
||||||
4 4 UID of the sending node
|
4 4 UID of the sending node
|
||||||
8 2 firmware type
|
8 4 manufacturer
|
||||||
10 2 firmware version
|
12 2 device type
|
||||||
12 2 modules mask
|
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
|
0 1 destination address
|
||||||
1 1 remaining message length
|
1 1 remaining message length
|
||||||
|
---------------------------------------------------------
|
||||||
2 1 command code
|
2 1 command code
|
||||||
3 1 source address
|
3 1 source address
|
||||||
---------------------------------------------------------
|
---------------------------------------------------------
|
||||||
@@ -230,6 +238,7 @@ Offset Length Meaning
|
|||||||
---------------------------------------------------------
|
---------------------------------------------------------
|
||||||
0 1 destination address
|
0 1 destination address
|
||||||
1 1 remaining message length
|
1 1 remaining message length
|
||||||
|
---------------------------------------------------------
|
||||||
2 1 command code
|
2 1 command code
|
||||||
3 1 source address
|
3 1 source address
|
||||||
---------------------------------------------------------
|
---------------------------------------------------------
|
||||||
@@ -257,8 +266,6 @@ Offset Length Meaning
|
|||||||
3 1 source address
|
3 1 source address
|
||||||
---------------------------------------------------------
|
---------------------------------------------------------
|
||||||
4 4 UID
|
4 4 UID
|
||||||
8 2 firmware type
|
|
||||||
10 2 firmware version
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -269,13 +276,20 @@ Offset Length Meaning
|
|||||||
---------------------------------------------------------
|
---------------------------------------------------------
|
||||||
0 1 destination address
|
0 1 destination address
|
||||||
1 1 remaining message length
|
1 1 remaining message length
|
||||||
|
---------------------------------------------------------
|
||||||
2 1 command code
|
2 1 command code
|
||||||
3 1 source address
|
3 1 source address
|
||||||
---------------------------------------------------------
|
---------------------------------------------------------
|
||||||
4 4 UID
|
4 4 UID
|
||||||
8 2 firmware type
|
8 4 manufacturer
|
||||||
10 2 firmware version
|
12 2 device type
|
||||||
12 2 page size in bytes
|
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
|
0 1 destination address
|
||||||
1 1 remaining message length
|
1 1 remaining message length
|
||||||
|
---------------------------------------------------------
|
||||||
2 1 command code
|
2 1 command code
|
||||||
3 1 source address
|
3 1 source address
|
||||||
---------------------------------------------------------
|
---------------------------------------------------------
|
||||||
@@ -301,6 +316,7 @@ Offset Length Meaning
|
|||||||
---------------------------------------------------------
|
---------------------------------------------------------
|
||||||
0 1 destination address
|
0 1 destination address
|
||||||
1 1 remaining message length
|
1 1 remaining message length
|
||||||
|
---------------------------------------------------------
|
||||||
2 1 command code
|
2 1 command code
|
||||||
3 1 source address
|
3 1 source address
|
||||||
---------------------------------------------------------
|
---------------------------------------------------------
|
||||||
@@ -315,6 +331,7 @@ Offset Length Meaning
|
|||||||
---------------------------------------------------------
|
---------------------------------------------------------
|
||||||
0 1 destination address
|
0 1 destination address
|
||||||
1 1 remaining message length
|
1 1 remaining message length
|
||||||
|
---------------------------------------------------------
|
||||||
2 1 command code
|
2 1 command code
|
||||||
3 1 source address
|
3 1 source address
|
||||||
---------------------------------------------------------
|
---------------------------------------------------------
|
||||||
@@ -329,6 +346,7 @@ Offset Length Meaning
|
|||||||
---------------------------------------------------------
|
---------------------------------------------------------
|
||||||
0 1 destination address
|
0 1 destination address
|
||||||
1 1 remaining message length
|
1 1 remaining message length
|
||||||
|
---------------------------------------------------------
|
||||||
2 1 command code
|
2 1 command code
|
||||||
3 1 source address
|
3 1 source address
|
||||||
---------------------------------------------------------
|
---------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user