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

#ifndef PB_SNS_AONT_PB_H_INCLUDED
#define PB_SNS_AONT_PB_H_INCLUDED
#include <pb.h>
#include "sns_std_sensor.pb.h"

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

/* Enum definitions */
/* @brief Message IDs for Always On Test Sensor */
typedef enum _sns_aont_msgid {
    SNS_AONT_MSGID_SNS_AONT_DATA = 1024
} sns_aont_msgid;

/* Struct definitions */
/* @brief Output data event generated by the aont sensor. */
typedef struct _sns_aont_data {
    /* @brief AONT output - Accel data along axis x,y,z in m/s2 */
    pb_size_t aont_count;
    float aont[3];
} sns_aont_data;


#ifdef __cplusplus
extern "C" {
#endif

/* Helper constants for enums */
#define _sns_aont_msgid_MIN SNS_AONT_MSGID_SNS_AONT_DATA
#define _sns_aont_msgid_MAX SNS_AONT_MSGID_SNS_AONT_DATA
#define _sns_aont_msgid_ARRAYSIZE ((sns_aont_msgid)(SNS_AONT_MSGID_SNS_AONT_DATA+1))
#define sns_aont_msgid_SNS_AONT_MSGID_SNS_AONT_DATA SNS_AONT_MSGID_SNS_AONT_DATA



/* Initializer values for message structs */
#define sns_aont_data_init_default               {0, {0, 0, 0}}
#define sns_aont_data_init_zero                  {0, {0, 0, 0}}

/* Field tags (for use in manual encoding/decoding) */
#define sns_aont_data_aont_tag                   1

/* Struct field encoding specification for nanopb */
#define sns_aont_data_FIELDLIST(X, a) \
X(a, STATIC,   REPEATED, FLOAT,    aont,              1)
#define sns_aont_data_CALLBACK NULL
#define sns_aont_data_DEFAULT NULL

extern const pb_msgdesc_t sns_aont_data_msg;

/* Defines for backwards compatibility with code written before nanopb-0.4.0 */
#define sns_aont_data_fields &sns_aont_data_msg

/* Maximum encoded size of messages (where known) */
#define SNS_AONT_PB_H_MAX_SIZE                   sns_aont_data_size
#define sns_aont_data_size                       15

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

#endif
