aboutsummaryrefslogtreecommitdiffstats
path: root/gen/cpp/openxc.pb.h
diff options
context:
space:
mode:
authorChristopher Peplin <chris.peplin@rhubarbtech.com>2014-01-17 16:38:23 -0500
committerChristopher Peplin <chris.peplin@rhubarbtech.com>2014-01-17 16:38:23 -0500
commit6f4799ca62b964e5626d9b22c4d292e6bd378d57 (patch)
tree6f1998a6ce3fff0a8730f89ffe5a5017fb523301 /gen/cpp/openxc.pb.h
parentd5d62371b4b6b2c2c7211aef55a3a967540948fe (diff)
Store raw CAN payload in bytes instead of uint64_t.
Diffstat (limited to 'gen/cpp/openxc.pb.h')
-rw-r--r--gen/cpp/openxc.pb.h13
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