Standardize names for payload format.
[apps/agl-service-can-low-level.git] / README.md
index 719fb0e..e127543 100644 (file)
--- a/README.md
+++ b/README.md
@@ -328,26 +328,26 @@ changed.
 
     { "command_response": "af_bypass", "status": true}
 
-#### Message Format Control
+#### Payload 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.
+The `payload_format` command determines the format for output data from the VI
+and the expected format of commands sent to the VI.
 
-Valid formats are `json` and `binary`.
+Valid formats are `json` and `protobuf`.
 
 **Request**
 
-    { "command": "message_format",
-      "bus": 1,
+    { "command": "payload_format",
       "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.
+`true`. The response will be in the original message format, and all subsequent
+messages will be in the new format.
 
-    { "command_response": "message_format", "status": true}
+    { "command_response": "payload_format", "status": true}
 
 
 ### Trace File Format