Changes

Jump to navigation Jump to search
7 bytes added ,  22:16, 26 April 2020
The length of a packet is 22 bytes.
 
This amounts to a total of 360 readings (1 per degree) on 1980 bytes.
 
Each packet is organized as follows:
<br /> start byte index  speed Data 0 Data 1 Data 2 Data 3 checksum 
where:
* start byte is always 0xFA* index is the index byte in the 90 packets, going from 0xA0 (packet 0, readings 0 to 3) to 0xF9 (packet 89, readings 356 to 359).* speed is a two-byte information, little-endian. It represents the speed, in 64th of RPM (aka value in RPM represented in fixed point, with 6 bits used for the decimal part).* Data 0 to Data 3 are the 4 readings. Each one is 4 bytes long, and organized as follows :
<br />
byte 0 : Distance 7:0

Navigation menu