Share via


2.1.2.1 MultiByteInt31-(1 Byte)

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)


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

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