X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=openxc.proto;h=937fe186a56570e5c92a0bac1e88b8f0244376c3;hb=75ec5e7c6bf86b6af90168d8e39b3404f4ce6b1e;hp=5b7e78b479b5a40b6c0fb9640af092ee9c7963d0;hpb=f1c1af529c32284c6b81a6ba4fcada464ce4401f;p=apps%2Fagl-service-can-low-level.git diff --git a/openxc.proto b/openxc.proto index 5b7e78b4..937fe186 100644 --- a/openxc.proto +++ b/openxc.proto @@ -23,14 +23,17 @@ message RawMessage { message ControlCommand { enum Type { VERSION = 1; DEVICE_ID = 2; DIAGNOSTIC = 3; } + enum Action { ADD = 1; CANCEL = 2; } optional Type type = 1; optional DiagnosticRequest diagnostic_request = 2; + optional Action action = 3; } message CommandResponse { optional ControlCommand.Type type = 1; optional string message = 2; + optional bool status = 3; } message DiagnosticRequest {