aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Peplin <github@rhubarbtech.com>2016-09-10 01:23:50 -0400
committerGitHub <noreply@github.com>2016-09-10 01:23:50 -0400
commit1f30cd503806c0844e3ee53ef3627b8a5464d124 (patch)
tree048eb1fd65d1edf8d4abd7d7a9acbc0a0069c666
parent15cd69864383276e2099b803cdb11cda7f2f6d0a (diff)
parent74608488b95bda83fc67a6eb25715e7a7cb0e0d1 (diff)
Merge pull request #29 from openxc/increase-payload
Increase payload
-rw-r--r--CHANGELOG.md5
-rw-r--r--gen/cpp/openxc.pb.c2
-rw-r--r--gen/cpp/openxc.pb.h6
-rw-r--r--openxc.options2
4 files changed, 10 insertions, 5 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3bd680d0..f2f8a7a5 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,10 @@
# OpenXC Message Format Changelog
+## v0.6.1
+
+* Improvement: Increase diagnostic response payload size to accommodate
+ multi-frame diagnostic responses.
+
## v0.6.0
* Feature: Added MessagePack support for BTLE connections.
diff --git a/gen/cpp/openxc.pb.c b/gen/cpp/openxc.pb.c
index f834836d..dc90530e 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.3.1 at Mon Feb 29 19:42:01 2016. */
+/* Generated by nanopb-0.3.1 at Thu Aug 4 17:56:35 2016. */
#include "openxc.pb.h"
diff --git a/gen/cpp/openxc.pb.h b/gen/cpp/openxc.pb.h
index 11386e3e..a15e44ba 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.3.1 at Mon Feb 29 19:42:01 2016. */
+/* Generated by nanopb-0.3.1 at Thu Aug 4 17:56:35 2016. */
#ifndef PB_OPENXC_PB_H_INCLUDED
#define PB_OPENXC_PB_H_INCLUDED
@@ -132,7 +132,7 @@ typedef struct _openxc_DiagnosticRequest {
openxc_DiagnosticRequest_DecodedType decoded_type;
} openxc_DiagnosticRequest;
-typedef PB_BYTES_ARRAY_T(8) openxc_DiagnosticResponse_payload_t;
+typedef PB_BYTES_ARRAY_T(255) openxc_DiagnosticResponse_payload_t;
typedef struct _openxc_DiagnosticResponse {
bool has_bus;
@@ -414,7 +414,7 @@ extern const pb_field_t openxc_SimpleMessage_fields[4];
#define openxc_RTCConfigurationCommand_size 6
#define openxc_CommandResponse_size 139
#define openxc_DiagnosticRequest_size 68
-#define openxc_DiagnosticResponse_size 56
+#define openxc_DiagnosticResponse_size 304
#define openxc_DynamicField_size 119
#define openxc_SimpleMessage_size 344
diff --git a/openxc.options b/openxc.options
index b434578b..53726fc4 100644
--- a/openxc.options
+++ b/openxc.options
@@ -1,7 +1,7 @@
openxc.SimpleMessage.name max_size:100
openxc.DynamicField.string_value max_size:100
openxc.CommandResponse.message max_size:128
-openxc.DiagnosticResponse.payload max_size:8
+openxc.DiagnosticResponse.payload max_size:255
openxc.DiagnosticRequest.name max_size:10
openxc.DiagnosticRequest.payload max_size:8
openxc.CanMessage.data max_size:8