From bd624295d05e4420d21aea97499208efc3868c95 Mon Sep 17 00:00:00 2001 From: Zac Nelson Date: Thu, 4 Aug 2016 10:50:18 -0700 Subject: increase payload size for diagnostic response. still need to generate the files. --- openxc.options | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit 1.2.3-korg From 71e101af547dabd50e2a7b645eba7524b05218cb Mon Sep 17 00:00:00 2001 From: Eric Marsman Date: Thu, 4 Aug 2016 20:05:26 +0000 Subject: make results --- gen/cpp/openxc.pb.c | 2 +- gen/cpp/openxc.pb.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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 -- cgit 1.2.3-korg From 74608488b95bda83fc67a6eb25715e7a7cb0e0d1 Mon Sep 17 00:00:00 2001 From: Zac Nelson Date: Mon, 22 Aug 2016 17:09:30 -0700 Subject: update changelog. --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) 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. -- cgit 1.2.3-korg