Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The MultiByteInt31-(1 Byte) packet is used to store unsigned integer values in the range of 0x00 to 0x7F (decimal 0 to 127) inclusive.
MultiByteInt31 (7 bits encoded in 1 byte)
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Value_A |
Value_A (7 bits): Seven LSB of value
0 |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
---|---|---|---|---|---|---|---|
0 |
Value_A |
Example: decimal 17
0 |
1 |
2 |
3 |
4 |
5 |
6 |
---|---|---|---|---|---|---|
0 |
0 |
1 |
0 |
0 |
0 |
1 |
Encodes as follows.
0 |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
---|---|---|---|---|---|---|---|
0 |
0 |
0 |
1 |
0 |
0 |
0 |
1 |
Thus, the decimal value 17 is encoded as 1 byte, as in the following example.
-
0x11