diff options
Diffstat (limited to 'gen/cpp/openxc.pb.h')
-rw-r--r-- | gen/cpp/openxc.pb.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/gen/cpp/openxc.pb.h b/gen/cpp/openxc.pb.h index 95276b45..879dbb80 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 14:40:08 2014. */ +/* Generated by nanopb-0.2.5 at Fri Jan 17 16:33:23 2014. */ #ifndef _PB_OPENXC_PB_H_ #define _PB_OPENXC_PB_H_ @@ -48,13 +48,18 @@ typedef struct _openxc_DiagnosticMessage { openxc_DiagnosticMessage_payload_t payload; } openxc_DiagnosticMessage; +typedef struct { + size_t size; + uint8_t bytes[8]; +} openxc_RawMessage_data_t; + typedef struct _openxc_RawMessage { bool has_bus; int32_t bus; bool has_message_id; uint32_t message_id; bool has_data; - uint64_t data; + openxc_RawMessage_data_t data; } openxc_RawMessage; typedef struct _openxc_TranslatedMessage { @@ -120,8 +125,8 @@ extern const pb_field_t openxc_DiagnosticMessage_fields[8]; extern const pb_field_t openxc_TranslatedMessage_fields[9]; /* Maximum encoded size of messages (where known) */ -#define openxc_VehicleMessage_size 422 -#define openxc_RawMessage_size 28 +#define openxc_VehicleMessage_size 421 +#define openxc_RawMessage_size 27 #define openxc_DiagnosticMessage_size 47 #define openxc_TranslatedMessage_size 334 |