aboutsummaryrefslogtreecommitdiffstats
path: root/gen/cpp/openxc.pb.c
diff options
context:
space:
mode:
authorChristopher Peplin <chris.peplin@rhubarbtech.com>2014-08-04 22:04:57 -0400
committerChristopher Peplin <chris.peplin@rhubarbtech.com>2014-08-04 23:16:02 -0400
commitaa4a2cd92afecf5ce6e3faba441d3b8758b5c372 (patch)
tree70fbde118b4abb5d589a934f68610471713f6780 /gen/cpp/openxc.pb.c
parent570048644e960862858dfd984c34f55f6b63144f (diff)
Require an 'action' in diagnostic requests.
It wasn't very clean to try and infer a delete/create/update based on the value of the frequency field - this will require a little more code, but as they say in Python, explicit is better than implicit. Fixed https://github.com/openxc/openxc-message-format/issues/12
Diffstat (limited to 'gen/cpp/openxc.pb.c')
-rw-r--r--gen/cpp/openxc.pb.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gen/cpp/openxc.pb.c b/gen/cpp/openxc.pb.c
index e3be2570..24f4b3c6 100644
--- a/gen/cpp/openxc.pb.c
+++ b/gen/cpp/openxc.pb.c
@@ -1,5 +1,5 @@
/* Automatically generated nanopb constant definitions */
-/* Generated by nanopb-0.2.5 at Wed Mar 26 09:29:06 2014. */
+/* Generated by nanopb-0.2.5 at Mon Aug 4 23:15:59 2014. */
#include "openxc.pb.h"
@@ -34,7 +34,7 @@ const pb_field_t openxc_CommandResponse_fields[3] = {
PB_LAST_FIELD
};
-const pb_field_t openxc_DiagnosticRequest_fields[10] = {
+const pb_field_t openxc_DiagnosticRequest_fields[11] = {
PB_FIELD2( 1, INT32 , OPTIONAL, STATIC , FIRST, openxc_DiagnosticRequest, bus, bus, 0),
PB_FIELD2( 2, UINT32 , OPTIONAL, STATIC , OTHER, openxc_DiagnosticRequest, message_id, bus, 0),
PB_FIELD2( 3, UINT32 , OPTIONAL, STATIC , OTHER, openxc_DiagnosticRequest, mode, message_id, 0),
@@ -44,6 +44,7 @@ const pb_field_t openxc_DiagnosticRequest_fields[10] = {
PB_FIELD2( 7, DOUBLE , OPTIONAL, STATIC , OTHER, openxc_DiagnosticRequest, frequency, multiple_responses, 0),
PB_FIELD2( 8, STRING , OPTIONAL, STATIC , OTHER, openxc_DiagnosticRequest, name, frequency, 0),
PB_FIELD2( 9, ENUM , OPTIONAL, STATIC , OTHER, openxc_DiagnosticRequest, decoded_type, name, 0),
+ PB_FIELD2( 10, ENUM , OPTIONAL, STATIC , OTHER, openxc_DiagnosticRequest, action, decoded_type, 0),
PB_LAST_FIELD
};