/* Automatically generated nanopb header */
/* Generated by nanopb-0.4.8 */

#ifndef PB_MSP_LD150_I_PB_H_INCLUDED
#define PB_MSP_LD150_I_PB_H_INCLUDED
#include "pb.h"

#if PB_PROTO_HEADER_VERSION != 40
#error Regenerate this file with the current version of nanopb generator.
#endif

/* Struct definitions */
typedef struct _location {
    double x;
    double y;
} location;

typedef struct _LD150_struct_define {
    int32_t TagToAnc0;
    int32_t TagToAnc1;
    int32_t TagToAnc2;
    bool has_location_anc;
    location location_anc;
    bool has_location_tag;
    location location_tag;
} LD150_struct_define;


#ifdef __cplusplus
extern "C" {
#endif

/* Initializer values for message structs */
#define location_init_default                    {0, 0}
#define LD150_struct_define_init_default         {0, 0, 0, false, location_init_default, false, location_init_default}
#define location_init_zero                       {0, 0}
#define LD150_struct_define_init_zero            {0, 0, 0, false, location_init_zero, false, location_init_zero}

/* Field tags (for use in manual encoding/decoding) */
#define location_x_tag                           1
#define location_y_tag                           2
#define LD150_struct_define_TagToAnc0_tag        1
#define LD150_struct_define_TagToAnc1_tag        2
#define LD150_struct_define_TagToAnc2_tag        3
#define LD150_struct_define_location_anc_tag     4
#define LD150_struct_define_location_tag_tag     5

/* Struct field encoding specification for nanopb */
#define location_FIELDLIST(X, a) \
X(a, STATIC,   SINGULAR, DOUBLE,   x,                 1) \
X(a, STATIC,   SINGULAR, DOUBLE,   y,                 2)
#define location_CALLBACK NULL
#define location_DEFAULT NULL

#define LD150_struct_define_FIELDLIST(X, a) \
X(a, STATIC,   SINGULAR, INT32,    TagToAnc0,         1) \
X(a, STATIC,   SINGULAR, INT32,    TagToAnc1,         2) \
X(a, STATIC,   SINGULAR, INT32,    TagToAnc2,         3) \
X(a, STATIC,   OPTIONAL, MESSAGE,  location_anc,      4) \
X(a, STATIC,   OPTIONAL, MESSAGE,  location_tag,      5)
#define LD150_struct_define_CALLBACK NULL
#define LD150_struct_define_DEFAULT NULL
#define LD150_struct_define_location_anc_MSGTYPE location
#define LD150_struct_define_location_tag_MSGTYPE location

extern const pb_msgdesc_t location_msg;
extern const pb_msgdesc_t LD150_struct_define_msg;

/* Defines for backwards compatibility with code written before nanopb-0.4.0 */
#define location_fields &location_msg
#define LD150_struct_define_fields &LD150_struct_define_msg

/* Maximum encoded size of messages (where known) */
#define LD150_struct_define_size                 73
#define MSP_LD150_I_PB_H_MAX_SIZE                LD150_struct_define_size
#define location_size                            18

#ifdef __cplusplus
} /* extern "C" */
#endif

#endif
