Skip to content

Commit 3687544

Browse files
authored
Merge pull request #33 from connectedcars/mex-patch-1
Adds CAN odometer to push API
2 parents a297682 + d8f3746 commit 3687544

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

push.md

+20
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,26 @@ This message requires the `vehicle_fuel_level` scope
379379
]
380380
```
381381

382+
### can_odometer message - CAN Odometer
383+
384+
This message type requires the `vehicle_odometer` scope
385+
386+
387+
| Name | Type | Unit/Format | Example | Description |
388+
|:--------:|:--------:|:-------------------:|----------------------|-------------------------------------------------|
389+
| odometer | decimal | km | 45000.0 | Total distance travelled by vehicle since start |
390+
391+
``` json
392+
[
393+
{
394+
"type": "can_odometer",
395+
"carId": "3bbcee75-cecc-5b56-8031-b6641c1ed1f1",
396+
"time": "2017-01-01T12:30:10Z",
397+
"odometer": 123123.0
398+
}
399+
]
400+
```
401+
382402
### WORK IN PROGRESS
383403

384404
This section is for apis that are currently beeing developed or in our road map

0 commit comments

Comments
 (0)