OD Command - Distance Odometer
Manages distance traveled odometers, allowing you to query and reset total and partial mileage.
What is it for?
- 📏 Mileage control — Monitor total distance traveled by the vehicle
- 🔄 Partial trip — Measure distances between specific points or per trip
- 🛠️ Preventive maintenance — Schedule services based on mileage
- 📊 Fleet reports — Usage and performance analysis by distance
- 💰 Cost control — Calculate fuel expenses per km traveled
Features
- Two independent odometers: Total and Partial
- IGN conditioned: Only accumulates with ignition on
- Persistence: Saves every 250 meters or 5 minutes
- Precision: Reading in meters
Command Summary
| Action | Command | Description |
|---|---|---|
| Query | QOD | Gets both odometers |
| Reset Total | SODT | Resets total odometer to zero |
| Reset Partial | SODP | Resets partial odometer to zero |
| Set Total | SODT,value | Sets total odometer in km (v1.9.17+) |
| Set Partial | SODP,value | Sets partial odometer in km (v1.9.17+) |
Response Format
>RODaaaaaaaaaabbbbbbbbbb<| Field | Description |
|---|---|
| aaaaaaaaaa | Meters accumulated in total odometer (10 digits) |
| bbbbbbbbbb | Meters accumulated in partial odometer (10 digits) |
Examples
Query odometers
>QOD<
// Response: ROD00001523400000015234
// Total: 15,234 meters (15.2 km)
// Partial: 15,234 meters (15.2 km)Reset partial odometer (new trip)
>SODP<
// The partial odometer returns to 0, the total continues accumulatingReset total odometer
>SODT<
// ⚠️ Resets the total counter to 0 (use with caution)Set Custom Values
Available since v1.9.17 — Allows setting odometers to a specific value in kilometers.
Syntax
>SODT,value< // Sets total odometer
>SODP,value< // Sets partial odometerThe value is specified in kilometers with decimals.
Set examples
// Sync with dashboard odometer (150,500 km)
>SODT,150500<
>ROD OK...
// Set partial after service (25.3 km traveled)
>SODP,25.3<
>ROD OK...
// Set values with decimals
>SODT,12345.678<
>ROD OK...Useful for syncing the GPS odometer with the vehicle’s actual mileage at installation time.
The odometer only accumulates distance when the ignition is active (contact ON). Distance traveled with the vehicle turned off is not counted.
Compatibility
💾Firmware:v1.00.00
SPLegacy
ULLegacy
MTLegacy
C3Legacy
C5Legacy
SP-IOT
SM-IOT
ZE-IOT
Last updated