From d7bd414ec334274951a355e6f640542a9fba4dbd Mon Sep 17 00:00:00 2001 From: Matt Wallington Date: Thu, 5 Mar 2015 13:44:36 -0800 Subject: [PATCH] Updated readme with JSON example --- README.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cc62cb8..95a481b 100644 --- a/README.md +++ b/README.md @@ -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 + } + ```