simplersble 0.10.4-dev50

The all-in-one Bluetooth library that makes it easy to add wireless connectivity to your projects.
Documentation
/* Automatically generated nanopb header */
/* Generated by nanopb-0.4.9.1 */

#ifndef PB_SIMPLEBLE_SIMPLEBLE_PB_H_INCLUDED
#define PB_SIMPLEBLE_SIMPLEBLE_PB_H_INCLUDED
#include "nanopb/pb.h"

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

/* Struct definitions */
typedef struct _simpleble_InitCmd {
    char dummy_field;
} simpleble_InitCmd;

typedef struct _simpleble_InitRsp {
    char dummy_field;
} simpleble_InitRsp;

typedef struct _simpleble_Command {
    pb_size_t which_cmd;
    union {
        simpleble_InitCmd init;
    } cmd;
} simpleble_Command;

typedef struct _simpleble_Response {
    pb_size_t which_rsp;
    union {
        simpleble_InitRsp init;
    } rsp;
} simpleble_Response;


#ifdef __cplusplus
extern "C" {
#endif

/* Initializer values for message structs */
#define simpleble_InitCmd_init_default           {0}
#define simpleble_InitRsp_init_default           {0}
#define simpleble_Command_init_default           {0, {simpleble_InitCmd_init_default}}
#define simpleble_Response_init_default          {0, {simpleble_InitRsp_init_default}}
#define simpleble_InitCmd_init_zero              {0}
#define simpleble_InitRsp_init_zero              {0}
#define simpleble_Command_init_zero              {0, {simpleble_InitCmd_init_zero}}
#define simpleble_Response_init_zero             {0, {simpleble_InitRsp_init_zero}}

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

/* Struct field encoding specification for nanopb */
#define simpleble_InitCmd_FIELDLIST(X, a) \

#define simpleble_InitCmd_CALLBACK NULL
#define simpleble_InitCmd_DEFAULT NULL

#define simpleble_InitRsp_FIELDLIST(X, a) \

#define simpleble_InitRsp_CALLBACK NULL
#define simpleble_InitRsp_DEFAULT NULL

#define simpleble_Command_FIELDLIST(X, a) \
X(a, STATIC,   ONEOF,    MESSAGE,  (cmd,init,cmd.init),   1)
#define simpleble_Command_CALLBACK NULL
#define simpleble_Command_DEFAULT NULL
#define simpleble_Command_cmd_init_MSGTYPE simpleble_InitCmd

#define simpleble_Response_FIELDLIST(X, a) \
X(a, STATIC,   ONEOF,    MESSAGE,  (rsp,init,rsp.init),   1)
#define simpleble_Response_CALLBACK NULL
#define simpleble_Response_DEFAULT NULL
#define simpleble_Response_rsp_init_MSGTYPE simpleble_InitRsp

extern const pb_msgdesc_t simpleble_InitCmd_msg;
extern const pb_msgdesc_t simpleble_InitRsp_msg;
extern const pb_msgdesc_t simpleble_Command_msg;
extern const pb_msgdesc_t simpleble_Response_msg;

/* Defines for backwards compatibility with code written before nanopb-0.4.0 */
#define simpleble_InitCmd_fields &simpleble_InitCmd_msg
#define simpleble_InitRsp_fields &simpleble_InitRsp_msg
#define simpleble_Command_fields &simpleble_Command_msg
#define simpleble_Response_fields &simpleble_Response_msg

/* Maximum encoded size of messages (where known) */
#define SIMPLEBLE_SIMPLEBLE_PB_H_MAX_SIZE        simpleble_Command_size
#define simpleble_Command_size                   2
#define simpleble_InitCmd_size                   0
#define simpleble_InitRsp_size                   0
#define simpleble_Response_size                  2

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

#endif