diff options
author | Christopher Peplin <chris.peplin@rhubarbtech.com> | 2014-10-06 23:20:36 -0400 |
---|---|---|
committer | Christopher Peplin <chris.peplin@rhubarbtech.com> | 2014-10-06 23:20:36 -0400 |
commit | 58dfea8e7562588b3dfc71e07c3c8736187e29dc (patch) | |
tree | b05477c2cb234f4f0a81cb05aa1b26437fc9d7c3 /JSON.mkd | |
parent | e47f58b38d86e6aefd1b8f2fba2fc9dba3eae702 (diff) |
Give diagnostic request field a more specific name.
Fixed #18.
Diffstat (limited to 'JSON.mkd')
-rw-r--r-- | JSON.mkd | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -65,7 +65,7 @@ A diagnostic request is added or cancelled with a JSON object like this example: { "command": "diagnostic_request", "action": "add", - "request": { + "diagnostic_request": { "bus": 1, "id": 1234, "mode": 1, @@ -92,7 +92,7 @@ simple one-time diagnostic request: { "command": "diagnostic_request", "action": "add", - "request": { + "diagnostic_request": { "bus": 1, "id": 1234, "mode": 1, @@ -111,7 +111,7 @@ previous example as a recurring request at 1Hz: { "command": "diagnostic_request", "action": "add", - "request": { + "diagnostic_request": { "bus": 1, "id": 1234, "mode": 1, @@ -125,7 +125,7 @@ To cancel a recurring request, send a `cancel` action with the same key, e.g.: { "command": "diagnostic_request", "action": "cancel", - "request": { + "diagnostic_request": { "bus": 1, "id": 1234, "mode": 1, |