ALS Tire BLE Install Guide
15
© Alsense Motorsport SRL
Current Protocol Version
The current protocol version is Version 2.
Protocol Version 2
Temperature Service
Temperature Characteristic Packet
Field
Size
(bytes)
Description
Values
Protocol
Version
1
The current protocol version.
2
Battery Level
1
The battery level in percentage.
0-100
Number of
Channels
1
The number of channels.
1-3
Payload
32
The channel temperature values (Number of Channels x
2 bytes).
Examples:
- for 3 channels we will have a payload of 3 x 2 = 6 bytes
and a padding of 26 bytes which are not used.
- for 2 channels we will have a payload of 2 x 2 = 4 bytes
and a padding of 28 bytes which are not used.
Each value is stored in 2 bytes and it is sent as a signed
short value.
Each value has a multiplication factor of 10.
Examples:
- 33.5 will be encoded as 335.
- 124.2 will be encoded as 1242.
- -10.5 will be encoded as -105.
-32767 -
+32767
The length of this packet is 35 bytes.
The usable packet length is 9(1 + 1 + 1 + 3 * 2) bytes. The rest of the bytes are not used, but might
be used in future releases if the channel count increases.