summaryrefslogtreecommitdiffstats
path: root/gen/cpp/openxc.pb.h
diff options
context:
space:
mode:
Diffstat (limited to 'gen/cpp/openxc.pb.h')
-rw-r--r--gen/cpp/openxc.pb.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/gen/cpp/openxc.pb.h b/gen/cpp/openxc.pb.h
index e4619ce1..f5f117e4 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:12:22 2014. */
+/* Generated by nanopb-0.2.5 at Fri Jan 17 14:31:26 2014. */
#ifndef _PB_OPENXC_PB_H_
#define _PB_OPENXC_PB_H_
@@ -25,6 +25,11 @@ typedef enum _openxc_TranslatedMessage_Type {
} openxc_TranslatedMessage_Type;
/* Struct definitions */
+typedef struct {
+ size_t size;
+ uint8_t bytes[8];
+} openxc_DiagnosticMessage_payload_t;
+
typedef struct _openxc_DiagnosticMessage {
bool has_bus;
int32_t bus;
@@ -39,7 +44,7 @@ typedef struct _openxc_DiagnosticMessage {
bool has_negative_response_code;
uint32_t negative_response_code;
bool has_payload;
- uint64_t payload;
+ openxc_DiagnosticMessage_payload_t payload;
} openxc_DiagnosticMessage;
typedef struct _openxc_RawMessage {
@@ -113,7 +118,7 @@ extern const pb_field_t openxc_TranslatedMessage_fields[9];
/* Maximum encoded size of messages (where known) */
#define openxc_VehicleMessage_size 373
#define openxc_RawMessage_size 28
-#define openxc_DiagnosticMessage_size 48
+#define openxc_DiagnosticMessage_size 47
#define openxc_TranslatedMessage_size 334
#ifdef __cplusplus