summaryrefslogtreecommitdiffstats
path: root/gen/cpp/openxc.pb.h
diff options
context:
space:
mode:
authorChristopher Peplin <chris.peplin@rhubarbtech.com>2014-03-04 13:35:02 -0500
committerChristopher Peplin <chris.peplin@rhubarbtech.com>2014-03-04 13:35:02 -0500
commit5347f07163d737f6c6cfde9ad943c110b47e0963 (patch)
tree2491b8a98560782534ddf50fd0e09cb3d6e3efea /gen/cpp/openxc.pb.h
parent37d7cb54624eaf3e674b700f706b53782489e764 (diff)
Move ControlCommand inside VehicleMessage so it can be on same stream.
Diffstat (limited to 'gen/cpp/openxc.pb.h')
-rw-r--r--gen/cpp/openxc.pb.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/gen/cpp/openxc.pb.h b/gen/cpp/openxc.pb.h
index cfb0ef74..3363d474 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 Mon Mar 3 15:48:39 2014. */
+/* Generated by nanopb-0.2.5 at Tue Mar 4 12:52:45 2014. */
#ifndef _PB_OPENXC_PB_H_
#define _PB_OPENXC_PB_H_
@@ -13,7 +13,8 @@ extern "C" {
typedef enum _openxc_VehicleMessage_Type {
openxc_VehicleMessage_Type_RAW = 1,
openxc_VehicleMessage_Type_TRANSLATED = 2,
- openxc_VehicleMessage_Type_DIAGNOSTIC = 3
+ openxc_VehicleMessage_Type_DIAGNOSTIC = 3,
+ openxc_VehicleMessage_Type_CONTROL_COMMAND = 4
} openxc_VehicleMessage_Type;
typedef enum _openxc_ControlCommand_Type {
@@ -131,6 +132,8 @@ typedef struct _openxc_VehicleMessage {
openxc_TranslatedMessage translated_message;
bool has_diagnostic_response;
openxc_DiagnosticResponse diagnostic_response;
+ bool has_control_command;
+ openxc_ControlCommand control_command;
} openxc_VehicleMessage;
/* Default values for struct fields */
@@ -170,9 +173,10 @@ typedef struct _openxc_VehicleMessage {
#define openxc_VehicleMessage_raw_message_tag 2
#define openxc_VehicleMessage_translated_message_tag 3
#define openxc_VehicleMessage_diagnostic_response_tag 4
+#define openxc_VehicleMessage_control_command_tag 5
/* Struct field encoding specification for nanopb */
-extern const pb_field_t openxc_VehicleMessage_fields[5];
+extern const pb_field_t openxc_VehicleMessage_fields[6];
extern const pb_field_t openxc_RawMessage_fields[4];
extern const pb_field_t openxc_ControlCommand_fields[3];
extern const pb_field_t openxc_DiagnosticRequest_fields[10];
@@ -180,7 +184,7 @@ extern const pb_field_t openxc_DiagnosticResponse_fields[9];
extern const pb_field_t openxc_TranslatedMessage_fields[9];
/* Maximum encoded size of messages (where known) */
-#define openxc_VehicleMessage_size 430
+#define openxc_VehicleMessage_size 508
#define openxc_RawMessage_size 27
#define openxc_ControlCommand_size 76
#define openxc_DiagnosticRequest_size 68