Trying to encode a configuration file and a set of instructions to be passed to a microcontroller

Dependencies:   MODSERIAL Nanopb

Revision:
0:abf096b1334e
Child:
2:89156c267f7a
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/LEX_Initialisation.pb.h	Sun Aug 18 18:53:32 2019 +0000
@@ -0,0 +1,55 @@
+/* Automatically generated nanopb header */
+/* Generated by nanopb-0.3.9.3 at Sat Aug 17 11:06:56 2019. */
+
+#ifndef PB_LEX_INITIALISATION_PB_H_INCLUDED
+#define PB_LEX_INITIALISATION_PB_H_INCLUDED
+#include <pb.h>
+
+/* @@protoc_insertion_point(includes) */
+#if PB_PROTO_HEADER_VERSION != 30
+#error Regenerate this file with the current version of nanopb generator.
+#endif
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Struct definitions */
+typedef struct _SetPoint {
+    float r_set_point;
+    int32_t time_point;
+    int32_t trig_time;
+/* @@protoc_insertion_point(struct:SetPoint) */
+} SetPoint;
+
+/* Default values for struct fields */
+
+/* Initializer values for message structs */
+#define SetPoint_init_default                    {0, 0, 0}
+#define SetPoint_init_zero                       {0, 0, 0}
+
+/* Field tags (for use in manual encoding/decoding) */
+#define SetPoint_r_set_point_tag                 1
+#define SetPoint_time_point_tag                  2
+#define SetPoint_trig_time_tag                   3
+
+/* Struct field encoding specification for nanopb */
+extern const pb_field_t SetPoint_fields[4];
+
+/* Maximum encoded size of messages (where known) */
+#define SetPoint_size                            27
+
+/* Message IDs (where set with "msgid" option) */
+#ifdef PB_MSGID
+
+#define LEX_INITIALISATION_MESSAGES \
+
+
+#endif
+
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+/* @@protoc_insertion_point(eof) */
+
+#endif
\ No newline at end of file