Initial commit, moved from openxcplatform.com.
authorChristopher Peplin <chris.peplin@rhubarbtech.com>
Fri, 3 May 2013 16:15:49 +0000 (12:15 -0400)
committerChristopher Peplin <chris.peplin@rhubarbtech.com>
Fri, 3 May 2013 16:15:49 +0000 (12:15 -0400)
CHANGELOG.md [new file with mode: 0644]
README.md [new file with mode: 0644]

diff --git a/CHANGELOG.md b/CHANGELOG.md
new file mode 100644 (file)
index 0000000..4022550
--- /dev/null
@@ -0,0 +1,5 @@
+# OpenXC Message Format Changelog
+
+## v0.1
+
+* Initial release
diff --git a/README.md b/README.md
new file mode 100644 (file)
index 0000000..3ae3775
--- /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.