init
This commit is contained in:
78
vendor/protobuf/read/v1/subscribe.pb.h
vendored
Normal file
78
vendor/protobuf/read/v1/subscribe.pb.h
vendored
Normal file
@@ -0,0 +1,78 @@
|
||||
/* Automatically generated nanopb header */
|
||||
/* Generated by nanopb-0.4.9 */
|
||||
|
||||
#ifndef PB_READ_V1_READ_V1_SUBSCRIBE_PB_H_INCLUDED
|
||||
#define PB_READ_V1_READ_V1_SUBSCRIBE_PB_H_INCLUDED
|
||||
#include <pb.h>
|
||||
#include "read/v1/read.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_SubscribeReadsRequest {
|
||||
bool has_reader_id;
|
||||
util_UUID reader_id;
|
||||
pb_callback_t epc;
|
||||
bool has_antenna;
|
||||
uint32_t antenna;
|
||||
} read_v1_SubscribeReadsRequest;
|
||||
|
||||
typedef struct _read_v1_SubscribeReadsResponse {
|
||||
bool has_read;
|
||||
read_v1_Read read;
|
||||
} read_v1_SubscribeReadsResponse;
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Initializer values for message structs */
|
||||
#define read_v1_SubscribeReadsRequest_init_default {false, util_UUID_init_default, {{NULL}, NULL}, false, 0}
|
||||
#define read_v1_SubscribeReadsResponse_init_default {false, read_v1_Read_init_default}
|
||||
#define read_v1_SubscribeReadsRequest_init_zero {false, util_UUID_init_zero, {{NULL}, NULL}, false, 0}
|
||||
#define read_v1_SubscribeReadsResponse_init_zero {false, read_v1_Read_init_zero}
|
||||
|
||||
/* Field tags (for use in manual encoding/decoding) */
|
||||
#define read_v1_SubscribeReadsRequest_reader_id_tag 1
|
||||
#define read_v1_SubscribeReadsRequest_epc_tag 2
|
||||
#define read_v1_SubscribeReadsRequest_antenna_tag 3
|
||||
#define read_v1_SubscribeReadsResponse_read_tag 1
|
||||
|
||||
/* Struct field encoding specification for nanopb */
|
||||
#define read_v1_SubscribeReadsRequest_FIELDLIST(X, a) \
|
||||
X(a, STATIC, OPTIONAL, MESSAGE, reader_id, 1) \
|
||||
X(a, CALLBACK, OPTIONAL, STRING, epc, 2) \
|
||||
X(a, STATIC, OPTIONAL, UINT32, antenna, 3)
|
||||
#define read_v1_SubscribeReadsRequest_CALLBACK pb_default_field_callback
|
||||
#define read_v1_SubscribeReadsRequest_DEFAULT NULL
|
||||
#define read_v1_SubscribeReadsRequest_reader_id_MSGTYPE util_UUID
|
||||
|
||||
#define read_v1_SubscribeReadsResponse_FIELDLIST(X, a) \
|
||||
X(a, STATIC, OPTIONAL, MESSAGE, read, 1)
|
||||
#define read_v1_SubscribeReadsResponse_CALLBACK NULL
|
||||
#define read_v1_SubscribeReadsResponse_DEFAULT NULL
|
||||
#define read_v1_SubscribeReadsResponse_read_MSGTYPE read_v1_Read
|
||||
|
||||
extern const pb_msgdesc_t read_v1_SubscribeReadsRequest_msg;
|
||||
extern const pb_msgdesc_t read_v1_SubscribeReadsResponse_msg;
|
||||
|
||||
/* Defines for backwards compatibility with code written before nanopb-0.4.0 */
|
||||
#define read_v1_SubscribeReadsRequest_fields &read_v1_SubscribeReadsRequest_msg
|
||||
#define read_v1_SubscribeReadsResponse_fields &read_v1_SubscribeReadsResponse_msg
|
||||
|
||||
/* Maximum encoded size of messages (where known) */
|
||||
/* read_v1_SubscribeReadsRequest_size depends on runtime parameters */
|
||||
#if defined(read_v1_Read_size)
|
||||
#define READ_V1_READ_V1_SUBSCRIBE_PB_H_MAX_SIZE read_v1_SubscribeReadsResponse_size
|
||||
#define read_v1_SubscribeReadsResponse_size (6 + read_v1_Read_size)
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user