diff --git a/JSON.mkd b/JSON.mkd index c972d84..309613f 100644 --- a/JSON.mkd +++ b/JSON.mkd @@ -313,7 +313,7 @@ response into the outgoing data stream. ### Device ID Query The `device_id` command triggers the VI to inject a unique device ID (e.g. the -MAC address of an included Bluetooth module) into into the outgoing data stream. +MAC address of an included Bluetooth module) into the outgoing data stream. If no device ID is available, the response message will be "Unknown". @@ -324,10 +324,24 @@ If no device ID is available, the response message will be "Unknown". **Response** { "command_response": "device_id", "message": "0012345678", "status": true} + +### VIN Query + +The `get_vin` command triggers the VI +get the VIN and inject it into the outgoing data stream. + +**Request** + + { "command": "get_vin"} + +**Response** + + { "command_response": "get_vin", + "message": "00000000123456789", "status": true} ### Platform Query -The `platform` command triggers the VI to inject a platform identifier into into the outgoing data stream. +The `platform` command triggers the VI to inject a platform identifier into the outgoing data stream. **Request** diff --git a/openxc.proto b/openxc.proto index fc6082f..a6c8a77 100644 --- a/openxc.proto +++ b/openxc.proto @@ -45,6 +45,7 @@ message ControlCommand { RTC_CONFIGURATION = 9; SD_MOUNT_STATUS = 10; PLATFORM = 11; + GET_VIN = 12; } Type type = 1;