summaryrefslogtreecommitdiffstats
path: root/libs/openxc-message-format/gen/cpp
diff options
context:
space:
mode:
authorArthur Guyader <arthur.guyader@iot.bzh>2019-12-16 16:54:07 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2020-01-09 16:25:36 +0100
commite28ae5f481c3a0d78bb7d6c21416dc38be541a4d (patch)
tree1ef30b4274ba82cdc585d7f81bbb0d1f8c258a8b /libs/openxc-message-format/gen/cpp
parent8c1df02d734676f79807e3a4682fb96ea88c5cb5 (diff)
openxc-utils : Add json value for DynamicField
Change-Id: I93d31768804d4e30994897487e9fd312a56c547b Signed-off-by: Arthur Guyader <arthur.guyader@iot.bzh> Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'libs/openxc-message-format/gen/cpp')
-rw-r--r--libs/openxc-message-format/gen/cpp/openxc.pb.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libs/openxc-message-format/gen/cpp/openxc.pb.h b/libs/openxc-message-format/gen/cpp/openxc.pb.h
index 30b0818d..8b1cb19a 100644
--- a/libs/openxc-message-format/gen/cpp/openxc.pb.h
+++ b/libs/openxc-message-format/gen/cpp/openxc.pb.h
@@ -4,6 +4,7 @@
#ifndef PB_OPENXC_PB_H_INCLUDED
#define PB_OPENXC_PB_H_INCLUDED
#include <pb.h>
+#include <json-c/json.h>
#if PB_PROTO_HEADER_VERSION != 30
#error Regenerate this file with the current version of nanopb generator.
@@ -76,7 +77,8 @@ typedef enum _openxc_DynamicField_Type {
openxc_DynamicField_Type_STRING = 1,
openxc_DynamicField_Type_NUM = 2,
openxc_DynamicField_Type_BOOL = 3,
- openxc_DynamicField_Type_BYTES = 4
+ openxc_DynamicField_Type_BYTES = 4,
+ openxc_DynamicField_Type_JSON = 5
} openxc_DynamicField_Type;
/* Struct definitions */
@@ -169,6 +171,8 @@ typedef struct _openxc_DynamicField {
uint8_t bytes_value[MAX_ISOTP_BYTES];
uint32_t length_array;
bool has_bytes_value;
+ json_object* json_value;
+ bool has_json_value;
} openxc_DynamicField;
typedef struct _openxc_NetworkOperatorSettings_NetworkDescriptor {