diff options
author | Christopher Peplin <chris.peplin@rhubarbtech.com> | 2014-10-06 23:10:57 -0400 |
---|---|---|
committer | Christopher Peplin <chris.peplin@rhubarbtech.com> | 2014-10-06 23:10:57 -0400 |
commit | fde9efb8224468dd8fb3c6204a7e80a9dd38a97c (patch) | |
tree | ddb787aa241453331bb9358ada5e28601000ab0d /JSON.mkd | |
parent | 28c895ef2fc4e152c506b0965d8f1830f848870e (diff) | |
parent | 8416597aecd8b3e97a016e9240d9b3fa640c0a07 (diff) |
Merge remote-tracking branch 'origin/16-new-names' into next
Conflicts:
README.md
Diffstat (limited to 'JSON.mkd')
-rw-r--r-- | JSON.mkd | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -16,9 +16,9 @@ to your application. For example: } } -## Single Valued +## Simple Vehicle Message -There may not be a 1:1 relationship between input and output signals - i.e. raw +There may not be a 1:1 relationship between input and output signals - i.e. engine timing CAN signals may be summarized in an "engine performance" metric on the abstract side of the interface. @@ -26,7 +26,7 @@ The expected format of a single valued message is: {"name": "steering_wheel_angle", "value": 45} -## Evented +## Evented Simple Vehicle Message The expected format of an event message is: @@ -35,9 +35,9 @@ The expected format of an event message is: This format is good for something like a button event, where there are two discrete pieces of information in the measurement. -## Raw CAN Message format +## CAN Message -The format for a raw CAN message: +The format for a plain CAN message: {"bus": 1, "id": 1234, "data": "0x12345678"} @@ -157,7 +157,7 @@ exist in parallel with a recurring request for the same key. **name** - (optional, defaults to nothing) A human readable, string name for this request. If provided, the response will have a `name` field (much like a - normal translated message) with this value in place of `bus`, `id`, `mode` and + simple vehicle message) with this value in place of `bus`, `id`, `mode` and `pid`. **multiple_responses** - (optional, false by default) if true, request will stay |