Skip to content

Commit

Permalink
Updated readme with JSON example
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwallington committed Mar 5, 2015
1 parent 2ffaa8d commit d7bd414
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,23 @@
CargoCollector
==============

Cargo Collector Service. Android service that interfaces with car.
Cargo Collector Service. Android service that interfaces with car via a standard ELM327 compatable OBD-II reader.

Data points are gathered from the car and various sensors on the mobile phone on an interval and/or as changes occur. These data points are marshalled to JSON, compressed, and sent to an attached ZeroMQ server on a set interval.

Data points
___________
```json
{
"location": {
"lat": 123.456789,
"lng": 123.456789,
"timestamp": 1234567890
},
"timestamp": 1234567890,
"speed": 45.2,
"engine_temp": 202.3,
"maf": 2.324,
"rpm": 3948
}
```

0 comments on commit d7bd414

Please sign in to comment.