diff options
author | Christopher Peplin <chris.peplin@rhubarbtech.com> | 2014-09-27 19:56:21 -0400 |
---|---|---|
committer | Christopher Peplin <chris.peplin@rhubarbtech.com> | 2014-09-27 19:56:21 -0400 |
commit | e3162f7da4b6b5ad422bccdb9b2a4e1b144ab9c9 (patch) | |
tree | 8562c39987fad59481f60f7953a769fbcc31754b /README.md | |
parent | edf010f735fcb8ace870b07b71db06c2c7cf2476 (diff) |
Add a command to change message format while running.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -328,6 +328,28 @@ changed. { "command_response": "af_bypass", "status": true} +#### Message Format Control + +The `message_format` command determines the format for output data from the VI +and also the expected format of commands sent to the VI. + +Valid formats are `json` and `binary`. + +**Request** + + { "command": "message_format", + "bus": 1, + "format": "json" + } + +**Response** + +If the format was changed successfully, the `status` in the response will be +`true`. The response will be in the new message format. + + { "command_response": "message_format", "status": true} + + ### Trace File Format An OpenXC vehicle trace file is a plaintext file that contains JSON objects, |