diff options
author | Christopher Peplin <chris.peplin@rhubarbtech.com> | 2014-02-19 16:05:59 -0500 |
---|---|---|
committer | Christopher Peplin <chris.peplin@rhubarbtech.com> | 2014-02-19 16:05:59 -0500 |
commit | a9e6edd6bc7952313997ec3cae5bfda3b2f62ee9 (patch) | |
tree | 950c27406741ecdedd58bca5b4ff6da685fb023f /gen/cpp/openxc.pb.h | |
parent | 6f4799ca62b964e5626d9b22c4d292e6bd378d57 (diff) |
Add a value field to diagnostic responses for parsed payloads.
Diffstat (limited to 'gen/cpp/openxc.pb.h')
-rw-r--r-- | gen/cpp/openxc.pb.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/gen/cpp/openxc.pb.h b/gen/cpp/openxc.pb.h index 879dbb80..9e4c3a27 100644 --- a/gen/cpp/openxc.pb.h +++ b/gen/cpp/openxc.pb.h @@ -1,5 +1,5 @@ /* Automatically generated nanopb header */ -/* Generated by nanopb-0.2.5 at Fri Jan 17 16:33:23 2014. */ +/* Generated by nanopb-0.2.5 at Wed Feb 19 14:35:41 2014. */ #ifndef _PB_OPENXC_PB_H_ #define _PB_OPENXC_PB_H_ @@ -46,6 +46,8 @@ typedef struct _openxc_DiagnosticMessage { uint32_t negative_response_code; bool has_payload; openxc_DiagnosticMessage_payload_t payload; + bool has_value; + double value; } openxc_DiagnosticMessage; typedef struct { @@ -102,6 +104,7 @@ typedef struct _openxc_VehicleMessage { #define openxc_DiagnosticMessage_success_tag 5 #define openxc_DiagnosticMessage_negative_response_code_tag 6 #define openxc_DiagnosticMessage_payload_tag 7 +#define openxc_DiagnosticMessage_value_tag 8 #define openxc_RawMessage_bus_tag 1 #define openxc_RawMessage_message_id_tag 2 #define openxc_RawMessage_data_tag 3 @@ -121,13 +124,13 @@ typedef struct _openxc_VehicleMessage { /* Struct field encoding specification for nanopb */ extern const pb_field_t openxc_VehicleMessage_fields[5]; extern const pb_field_t openxc_RawMessage_fields[4]; -extern const pb_field_t openxc_DiagnosticMessage_fields[8]; +extern const pb_field_t openxc_DiagnosticMessage_fields[9]; extern const pb_field_t openxc_TranslatedMessage_fields[9]; /* Maximum encoded size of messages (where known) */ -#define openxc_VehicleMessage_size 421 +#define openxc_VehicleMessage_size 430 #define openxc_RawMessage_size 27 -#define openxc_DiagnosticMessage_size 47 +#define openxc_DiagnosticMessage_size 56 #define openxc_TranslatedMessage_size 334 #ifdef __cplusplus |