X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=openxc.proto;h=5b7e78b479b5a40b6c0fb9640af092ee9c7963d0;hb=ab912b63e81209637f77f2e3eba23c5e75309dcb;hp=b7a1b22dc3903fe363cb045a734a9feaebb0a510;hpb=99f01a6d6da8012c297e2e7ccb2b8eaa69a9c4d1;p=apps%2Fagl-service-can-low-level.git diff --git a/openxc.proto b/openxc.proto index b7a1b22d..5b7e78b4 100644 --- a/openxc.proto +++ b/openxc.proto @@ -34,6 +34,8 @@ message CommandResponse { } message DiagnosticRequest { + enum DecodedType { NONE = 1; OBD2 = 2; } + optional int32 bus = 1; optional uint32 message_id = 2; optional uint32 mode = 3; @@ -41,10 +43,10 @@ message DiagnosticRequest { // TODO we are capping this at 8 bytes for now - need to change when we // support multi-frame responses optional bytes payload = 5; - optional bool parse_payload = 6; - optional double factor = 7; - optional double offset = 8; - optional double frequency = 9; + optional bool multiple_responses = 6; + optional double frequency = 7; + optional string name = 8; + optional DecodedType decoded_type = 9; } message DiagnosticResponse {