From 42a683033594289ddc520dffec652967e366e785 Mon Sep 17 00:00:00 2001 From: Aditya Naik Date: Wed, 22 Apr 2020 16:30:15 -0400 Subject: Added dataflow protocol files --- src/data.pb.c | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 src/data.pb.c (limited to 'src/data.pb.c') diff --git a/src/data.pb.c b/src/data.pb.c new file mode 100644 index 0000000..fb1e203 --- /dev/null +++ b/src/data.pb.c @@ -0,0 +1,38 @@ +/* Automatically generated nanopb constant definitions */ +/* Generated by nanopb-0.4.2-dev */ + +#include "data.pb.h" +#if PB_PROTO_HEADER_VERSION != 40 +#error Regenerate this file with the current version of nanopb generator. +#endif + +PB_BIND(m2s_SOR, m2s_SOR, AUTO) + + +PB_BIND(s2m_DOC, s2m_DOC, AUTO) + + +PB_BIND(m2s_CTS, m2s_CTS, AUTO) + + +PB_BIND(m2s_command, m2s_command, AUTO) + + +PB_BIND(s2m_command, s2m_command, AUTO) + + +PB_BIND(_datapoint, _datapoint, AUTO) + + +PB_BIND(s2m_data, s2m_data, AUTO) + + + +#ifndef PB_CONVERT_DOUBLE_FLOAT +/* On some platforms (such as AVR), double is really float. + * To be able to encode/decode double on these platforms, you need. + * to define PB_CONVERT_DOUBLE_FLOAT in pb.h or compiler command line. + */ +PB_STATIC_ASSERT(sizeof(double) == 8, DOUBLE_MUST_BE_8_BYTES) +#endif + -- cgit v1.2.3