summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Peplin <chris.peplin@rhubarbtech.com>2013-05-03 12:15:49 -0400
committerChristopher Peplin <chris.peplin@rhubarbtech.com>2013-05-03 12:15:49 -0400
commitb4bdf4e1ecdf99d8ecb0f13a99605aa10154169a (patch)
tree5b8cdf1287de80a7142ef70c150fcecb533a82bc
Initial commit, moved from openxcplatform.com.
-rw-r--r--CHANGELOG.md5
-rw-r--r--README.md26
2 files changed, 31 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
new file mode 100644
index 00000000..4022550a
--- /dev/null
+++ b/CHANGELOG.md
@@ -0,0 +1,5 @@
+# OpenXC Message Format Changelog
+
+## v0.1
+
+* Initial release
diff --git a/README.md b/README.md
new file mode 100644
index 00000000..3ae3775b
--- /dev/null
+++ b/README.md
@@ -0,0 +1,26 @@
+# OpenXC Message Format Specification
+
+There are two valid message types - single valued and evented.
+
+There may not be a 1:1 relationship between input and output signals - i.e. raw
+engine timing CAN signals may be summarized in an "engine performance" metric on
+the abstract side of the interface.
+
+## Single Valued
+
+The expected format of a single valued message is:
+
+{% highlight javascript %}
+{"name": "steering_wheel_angle", "value": 45}
+{% endhighlight %}
+
+## Evented
+
+The expected format of an event message is:
+
+{% highlight javascript %}
+{"name": "button_event", "value": "up", "event": "pressed"}
+{% endhighlight %}
+
+This format is good for something like a button event, where there are two
+discrete pieces of information in the measurement.