Don't use pygments highlighting in README.
[apps/low-level-can-service.git] / README.md
1 # OpenXC Message Format Specification
2
3 There are two valid message types - single valued and evented.
4
5 There may not be a 1:1 relationship between input and output signals - i.e. raw
6 engine timing CAN signals may be summarized in an "engine performance" metric on
7 the abstract side of the interface.
8
9 ## Single Valued
10
11 The expected format of a single valued message is:
12
13     {"name": "steering_wheel_angle", "value": 45}
14
15 ## Evented
16
17 The expected format of an event message is:
18
19     {"name": "button_event", "value": "up", "event": "pressed"}
20
21 This format is good for something like a button event, where there are two
22 discrete pieces of information in the measurement.