Skip to content

Commit

Permalink
Renamed odometer to mileage for coherence
Browse files Browse the repository at this point in the history
  • Loading branch information
Padamdam committed Dec 23, 2021
1 parent eb2e539 commit 9a37726
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions ike/17.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# `0x17` Odometer
# `0x17` Mileage

Cluster `0x80` → Broadcast `0xbf`

The cluster will periodically broadcast the current odometer reading, while the bus is active.
The cluster will periodically broadcast the current mileage reading, while the bus is active.

### Example Frames

Expand All @@ -14,21 +14,21 @@ A 32 Bit value of the total kilometres, little endian formatted (INT32 - Little

Use online converter to test your values, ex : https://www.scadacore.com/tools/programming-calculators/online-hex-converter/

### Odometer
### Mileage

TODO : add information about the Odometer sensor
TODO : add information about the mileage sensor

This value is a whole number. The value might be off by a constant value of maximum 250, remove or add the offset to get your cluster-indicated mileage.

## Example

# Example Odometer Frame 1
# Example Mileage Frame 1
80 06 BF 17 12 E9 04 D1

Hex value = 12E904
Converted to Int32 Little Endian = 321810 (in my case, the odometer displays 321560, so i have to remove 250 km)

# Example Odometer Frame 2
# Example Mileage Frame 2
80 06 BF 17 12 E9 02 D1

Hex value = 12E902
Expand Down

0 comments on commit 9a37726

Please sign in to comment.