firmware/src/mesh.pb.c

61 lines
1.0 KiB
C
Raw Normal View History

2020-02-01 19:56:32 +00:00
/* Automatically generated nanopb constant definitions */
/* Generated by nanopb-0.4.0 */
#include "mesh.pb.h"
#if PB_PROTO_HEADER_VERSION != 40
#error Regenerate this file with the current version of nanopb generator.
#endif
2020-02-01 22:23:02 +00:00
PB_BIND(Position, Position, AUTO)
2020-02-01 19:56:32 +00:00
2020-02-01 22:23:02 +00:00
PB_BIND(Time, Time, AUTO)
2020-02-01 19:56:32 +00:00
2020-02-01 22:23:02 +00:00
PB_BIND(Data, Data, AUTO)
2020-02-01 19:56:32 +00:00
2020-02-01 22:23:02 +00:00
PB_BIND(User, User, AUTO)
2020-02-01 19:56:32 +00:00
2020-02-01 22:23:02 +00:00
PB_BIND(WantNodeNum, WantNodeNum, AUTO)
2020-02-01 19:56:32 +00:00
2020-02-01 22:23:02 +00:00
PB_BIND(DenyNodeNum, DenyNodeNum, AUTO)
2020-02-01 19:56:32 +00:00
2020-02-01 22:23:02 +00:00
PB_BIND(SubPacket, SubPacket, AUTO)
2020-02-01 19:56:32 +00:00
2020-02-02 17:59:00 +00:00
PB_BIND(MeshPacket, MeshPacket, AUTO)
2020-02-01 19:56:32 +00:00
2020-02-01 22:23:02 +00:00
PB_BIND(RadioConfig, RadioConfig, 2)
2020-02-01 19:56:32 +00:00
2020-02-01 22:23:02 +00:00
PB_BIND(NodeInfo, NodeInfo, AUTO)
2020-02-01 19:56:32 +00:00
2020-02-02 17:59:00 +00:00
PB_BIND(DeviceState, DeviceState, 2)
2020-02-01 19:56:32 +00:00
2020-02-02 17:59:00 +00:00
PB_BIND(FromRadio, FromRadio, AUTO)
2020-02-01 19:56:32 +00:00
2020-02-01 22:23:02 +00:00
PB_BIND(ToRadio, ToRadio, 2)
2020-02-01 19:56:32 +00:00
2020-02-01 22:23:02 +00:00
PB_BIND(ToRadio_WantNodes, ToRadio_WantNodes, AUTO)
2020-02-01 19:56:32 +00:00
#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