/* Automatically generated nanopb header */ /* Generated by nanopb-0.4.9 */ #ifndef PB_READ_V1_READ_V1_READ_PB_H_INCLUDED #define PB_READ_V1_READ_V1_READ_PB_H_INCLUDED #include #include "google/protobuf/timestamp.pb.h" #include "util/uuid.pb.h" #if PB_PROTO_HEADER_VERSION != 40 #error Regenerate this file with the current version of nanopb generator. #endif /* Struct definitions */ typedef struct _read_v1_Read { bool has_reader_id; util_UUID reader_id; pb_callback_t epc; uint32_t antenna; int32_t rssi; bool has_timestamp; google_protobuf_Timestamp timestamp; } read_v1_Read; #ifdef __cplusplus extern "C" { #endif /* Initializer values for message structs */ #define read_v1_Read_init_default {false, util_UUID_init_default, {{NULL}, NULL}, 0, 0, false, google_protobuf_Timestamp_init_default} #define read_v1_Read_init_zero {false, util_UUID_init_zero, {{NULL}, NULL}, 0, 0, false, google_protobuf_Timestamp_init_zero} /* Field tags (for use in manual encoding/decoding) */ #define read_v1_Read_reader_id_tag 1 #define read_v1_Read_epc_tag 2 #define read_v1_Read_antenna_tag 3 #define read_v1_Read_rssi_tag 4 #define read_v1_Read_timestamp_tag 5 /* Struct field encoding specification for nanopb */ #define read_v1_Read_FIELDLIST(X, a) \ X(a, STATIC, OPTIONAL, MESSAGE, reader_id, 1) \ X(a, CALLBACK, SINGULAR, STRING, epc, 2) \ X(a, STATIC, SINGULAR, UINT32, antenna, 3) \ X(a, STATIC, SINGULAR, SINT32, rssi, 4) \ X(a, STATIC, OPTIONAL, MESSAGE, timestamp, 5) #define read_v1_Read_CALLBACK pb_default_field_callback #define read_v1_Read_DEFAULT NULL #define read_v1_Read_reader_id_MSGTYPE util_UUID #define read_v1_Read_timestamp_MSGTYPE google_protobuf_Timestamp extern const pb_msgdesc_t read_v1_Read_msg; /* Defines for backwards compatibility with code written before nanopb-0.4.0 */ #define read_v1_Read_fields &read_v1_Read_msg /* Maximum encoded size of messages (where known) */ /* read_v1_Read_size depends on runtime parameters */ #ifdef __cplusplus } /* extern "C" */ #endif #endif