Code Review
/
apps
/
low-level-can-service.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Refactor diagnostic fields for decoding payload.
[apps/low-level-can-service.git]
/
gen
/
cpp
/
openxc.pb
diff --git
a/gen/cpp/openxc.pb
b/gen/cpp/openxc.pb
index
d4bd0a8
..
da31233
100644
(file)
--- a/
gen/cpp/openxc.pb
+++ b/
gen/cpp/openxc.pb
@@
-1,17
+1,21
@@
-«
-
\f
openxc.proto
\12
\ 6
openxc"
\85
\ 2
+Ã
\f
+
\f
openxc.proto
\12
\ 6
openxc"
\94
\ 3
\ e
VehicleMessage
\12
)
\ 4
type
\18
\ 1
\ 1
(
\ e
2
\e
.openxc.VehicleMessage.Type
\12
'
\v
raw_message
\18
\ 2
\ 1
(
\v
2
\12
.openxc.RawMessage
\12
5
\12
translated_message
\18
\ 3
\ 1
(
\v
2
\19
.openxc.TranslatedMessage
\12
7
\ e
VehicleMessage
\12
)
\ 4
type
\18
\ 1
\ 1
(
\ e
2
\e
.openxc.VehicleMessage.Type
\12
'
\v
raw_message
\18
\ 2
\ 1
(
\v
2
\12
.openxc.RawMessage
\12
5
\12
translated_message
\18
\ 3
\ 1
(
\v
2
\19
.openxc.TranslatedMessage
\12
7
-
\13
diagnostic_response
\18
\ 4
\ 1
(
\v
2
\1a
.openxc.DiagnosticResponse"/
+
\13
diagnostic_response
\18
\ 4
\ 1
(
\v
2
\1a
.openxc.DiagnosticResponse
\12
/
+
\ f
control_command
\18
\ 5
\ 1
(
\v
2
\16
.openxc.ControlCommand
\12
1
+
\10
command_response
\18
\ 6
\ 1
(
\v
2
\17
.openxc.CommandResponse"Z
\ 4
Type
\12
\a
\ 3
RAW
\10
\ 1
\12
\ e
TRANSLATED
\10
\ 2
\12
\ e
\ 4
Type
\12
\a
\ 3
RAW
\10
\ 1
\12
\ e
TRANSLATED
\10
\ 2
\12
\ e
-DIAGNOSTIC
\10
\ 3
";
+DIAGNOSTIC
\10
\ 3
\12
\13
+
\ f
CONTROL_COMMAND
\10
\ 4
\12
\14
+
\10
COMMAND_RESPONSE
\10
\ 5
";
RawMessage
\12
\v
\ 3
bus
\18
\ 1
\ 1
(
\ 5
\12
\12
RawMessage
\12
\v
\ 3
bus
\18
\ 1
\ 1
(
\ 5
\12
\12
@@
-25,18
+29,24
@@
message_id
\18
\ 2
\ 1
(
\r
\12
\a
VERSION
\10
\ 1
\12
\r
DEVICE_ID
\10
\ 2
\12
\ e
\a
VERSION
\10
\ 1
\12
\r
DEVICE_ID
\10
\ 2
\12
\ e
-DIAGNOSTIC
\10
\ 3
"ª
\ 1
+DIAGNOSTIC
\10
\ 3
"M
+
\ f
CommandResponse
\12
)
+
\ 4
type
\18
\ 1
\ 1
(
\ e
2
\e
.openxc.ControlCommand.Type
\12
\ f
+
\a
message
\18
\ 2
\ 1
( "ý
\ 1
\11
DiagnosticRequest
\12
\v
\ 3
bus
\18
\ 1
\ 1
(
\ 5
\12
\12
message_id
\18
\ 2
\ 1
(
\r
\12
\f
\ 4
mode
\18
\ 3
\ 1
(
\r
\12
\v
\ 3
pid
\18
\ 4
\ 1
(
\r
\12
\ f
\11
DiagnosticRequest
\12
\v
\ 3
bus
\18
\ 1
\ 1
(
\ 5
\12
\12
message_id
\18
\ 2
\ 1
(
\r
\12
\f
\ 4
mode
\18
\ 3
\ 1
(
\r
\12
\v
\ 3
pid
\18
\ 4
\ 1
(
\r
\12
\ f
-
\a
payload
\18
\ 5
\ 1
(
\f
\12
\15
-
\r
parse_payload
\18
\ 6
\ 1
(
\b
\12
\ e
-
\ 6
factor
\18
\a
\ 1
(
\ 1
\12
\ e
-
\ 6
offset
\18
\b
\ 1
(
\ 1
\12
\11
- frequency
\18
\ 1
(
\ 1
"¡
\ 1
+
\a
payload
\18
\ 5
\ 1
(
\f
\12
\1a
+
\12
multiple_responses
\18
\ 6
\ 1
(
\b
\12
\11
+ frequency
\18
\a
\ 1
(
\ 1
\12
\f
+
\ 4
name
\18
\b
\ 1
(
\12
;
+
\f
decoded_type
\18
\ 1
(
\ e
2%.openxc.DiagnosticRequest.DecodedType"!
+
\v
DecodedType
\12
\b
+
\ 4
NONE
\10
\ 1
\12
\b
+
\ 4
OBD2
\10
\ 2
"¡
\ 1
\12
DiagnosticResponse
\12
\v
\ 3
bus
\18
\ 1
\ 1
(
\ 5
\12
\12
\12
DiagnosticResponse
\12
\v
\ 3
bus
\18
\ 1
\ 1
(
\ 5
\12
\12
@@
-46,16
+56,22
@@
message_id
\18
\ 2
\ 1
(
\r
\12
\a
success
\18
\ 5
\ 1
(
\b
\12
\1e
\16
negative_response_code
\18
\ 6
\ 1
(
\r
\12
\ f
\a
payload
\18
\a
\ 1
(
\f
\12
\r
\a
success
\18
\ 5
\ 1
(
\b
\12
\1e
\16
negative_response_code
\18
\ 6
\ 1
(
\r
\12
\ f
\a
payload
\18
\a
\ 1
(
\f
\12
\r
-
\ 5
value
\18
\b
\ 1
(
\ 1
"µ
\ 2
+
\ 5
value
\18
\b
\ 1
(
\ 1
"¢
\ 1
+
\f
DynamicField
\12
'
+
\ 4
type
\18
\ 1
\ 1
(
\ e
2
\19
.openxc.DynamicField.Type
\12
\14
+
\f
string_value
\18
\ 2
\ 1
(
\12
\15
+
\r
numeric_value
\18
\ 3
\ 1
(
\ 1
\12
\15
+
\r
boolean_value
\18
\ 4
\ 1
(
\b
"%
+
\ 4
Type
\12
+
+
\ 6
STRING
\10
\ 1
\12
\a
+
\ 3
NUM
\10
\ 2
\12
\b
+
\ 4
BOOL
\10
\ 3
"÷
\ 1
\11
TranslatedMessage
\12
,
\ 4
type
\18
\ 1
\ 1
(
\ e
2
\1e
.openxc.TranslatedMessage.Type
\12
\f
\11
TranslatedMessage
\12
,
\ 4
type
\18
\ 1
\ 1
(
\ e
2
\1e
.openxc.TranslatedMessage.Type
\12
\f
-
\ 4
name
\18
\ 2
\ 1
(
\12
\14
-
\f
string_value
\18
\ 3
\ 1
(
\12
\15
-
\r
numeric_value
\18
\ 4
\ 1
(
\ 1
\12
\15
-
\r
boolean_value
\18
\ 5
\ 1
(
\b
\12
\14
-
\f
string_event
\18
\ 6
\ 1
(
\12
\15
-
\r
numeric_event
\18
\a
\ 1
(
\ 1
\12
\15
-
\r
boolean_event
\18
\b
\ 1
(
\b
"\
+
\ 4
name
\18
\ 2
\ 1
(
\12
#
+
\ 5
value
\18
\ 3
\ 1
(
\v
2
\14
.openxc.DynamicField
\12
#
+
\ 5
event
\18
\ 4
\ 1
(
\v
2
\14
.openxc.DynamicField"\
\ 4
Type
\12
\ 6
STRING
\10
\ 1
\12
\a
\ 4
Type
\12
\ 6
STRING
\10
\ 1
\12
\a