2020-02-01 11:56:32 -08:00
|
|
|
/* Automatically generated nanopb constant definitions */
|
2020-02-03 22:22:53 -08:00
|
|
|
/* Generated by nanopb-0.4.1 */
|
2020-02-01 11:56:32 -08:00
|
|
|
|
|
|
|
|
#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 14:23:02 -08:00
|
|
|
PB_BIND(Position, Position, AUTO)
|
2020-02-01 11:56:32 -08:00
|
|
|
|
|
|
|
|
|
2020-02-14 16:25:11 -08:00
|
|
|
PB_BIND(Data, Data, 2)
|
2020-02-01 11:56:32 -08:00
|
|
|
|
|
|
|
|
|
2020-02-01 14:23:02 -08:00
|
|
|
PB_BIND(User, User, AUTO)
|
2020-02-01 11:56:32 -08:00
|
|
|
|
|
|
|
|
|
2020-02-14 16:25:11 -08:00
|
|
|
PB_BIND(SubPacket, SubPacket, 2)
|
2020-02-01 11:56:32 -08:00
|
|
|
|
|
|
|
|
|
2020-02-14 16:25:11 -08:00
|
|
|
PB_BIND(MeshPacket, MeshPacket, 2)
|
2020-02-01 11:56:32 -08:00
|
|
|
|
|
|
|
|
|
2020-02-11 11:56:48 -08:00
|
|
|
PB_BIND(ChannelSettings, ChannelSettings, AUTO)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PB_BIND(RadioConfig, RadioConfig, AUTO)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PB_BIND(RadioConfig_UserPreferences, RadioConfig_UserPreferences, 2)
|
2020-02-01 11:56:32 -08:00
|
|
|
|
|
|
|
|
|
2020-02-01 14:23:02 -08:00
|
|
|
PB_BIND(NodeInfo, NodeInfo, AUTO)
|
2020-02-01 11:56:32 -08:00
|
|
|
|
|
|
|
|
|
2020-02-05 15:37:58 -08:00
|
|
|
PB_BIND(MyNodeInfo, MyNodeInfo, AUTO)
|
2020-02-01 11:56:32 -08:00
|
|
|
|
|
|
|
|
|
2020-02-08 09:50:15 -08:00
|
|
|
PB_BIND(DeviceState, DeviceState, 4)
|
2020-02-03 10:00:53 -08:00
|
|
|
|
|
|
|
|
|
2020-02-14 16:25:11 -08:00
|
|
|
PB_BIND(FromRadio, FromRadio, 2)
|
2020-02-01 11:56:32 -08:00
|
|
|
|
|
|
|
|
|
2020-02-14 16:25:11 -08:00
|
|
|
PB_BIND(ToRadio, ToRadio, 2)
|
2020-02-01 11:56:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-02-06 22:57:58 -08:00
|
|
|
|
2020-02-08 07:41:04 -08:00
|
|
|
|
2020-02-01 11:56:32 -08: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
|
|
|
|
|
|