init
This commit is contained in:
15
vendor/protobuf/read/v1/get.pb.c
vendored
Normal file
15
vendor/protobuf/read/v1/get.pb.c
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
/* Automatically generated nanopb constant definitions */
|
||||
/* Generated by nanopb-0.4.9 */
|
||||
|
||||
#include "read/v1/get.pb.h"
|
||||
#if PB_PROTO_HEADER_VERSION != 40
|
||||
#error Regenerate this file with the current version of nanopb generator.
|
||||
#endif
|
||||
|
||||
PB_BIND(read_v1_GetReadsRequest, read_v1_GetReadsRequest, AUTO)
|
||||
|
||||
|
||||
PB_BIND(read_v1_GetReadsResponse, read_v1_GetReadsResponse, AUTO)
|
||||
|
||||
|
||||
|
||||
80
vendor/protobuf/read/v1/get.pb.h
vendored
Normal file
80
vendor/protobuf/read/v1/get.pb.h
vendored
Normal file
@@ -0,0 +1,80 @@
|
||||
/* Automatically generated nanopb header */
|
||||
/* Generated by nanopb-0.4.9 */
|
||||
|
||||
#ifndef PB_READ_V1_READ_V1_GET_PB_H_INCLUDED
|
||||
#define PB_READ_V1_READ_V1_GET_PB_H_INCLUDED
|
||||
#include <pb.h>
|
||||
#include "read/v1/read.pb.h"
|
||||
#include "util/between.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_GetReadsRequest {
|
||||
bool has_reader_id;
|
||||
util_UUID reader_id;
|
||||
pb_callback_t epc;
|
||||
bool has_antenna;
|
||||
uint32_t antenna;
|
||||
bool has_timestamp;
|
||||
util_TimestampBetween timestamp;
|
||||
} read_v1_GetReadsRequest;
|
||||
|
||||
typedef struct _read_v1_GetReadsResponse {
|
||||
pb_callback_t reads;
|
||||
} read_v1_GetReadsResponse;
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Initializer values for message structs */
|
||||
#define read_v1_GetReadsRequest_init_default {false, util_UUID_init_default, {{NULL}, NULL}, false, 0, false, util_TimestampBetween_init_default}
|
||||
#define read_v1_GetReadsResponse_init_default {{{NULL}, NULL}}
|
||||
#define read_v1_GetReadsRequest_init_zero {false, util_UUID_init_zero, {{NULL}, NULL}, false, 0, false, util_TimestampBetween_init_zero}
|
||||
#define read_v1_GetReadsResponse_init_zero {{{NULL}, NULL}}
|
||||
|
||||
/* Field tags (for use in manual encoding/decoding) */
|
||||
#define read_v1_GetReadsRequest_reader_id_tag 1
|
||||
#define read_v1_GetReadsRequest_epc_tag 2
|
||||
#define read_v1_GetReadsRequest_antenna_tag 3
|
||||
#define read_v1_GetReadsRequest_timestamp_tag 4
|
||||
#define read_v1_GetReadsResponse_reads_tag 1
|
||||
|
||||
/* Struct field encoding specification for nanopb */
|
||||
#define read_v1_GetReadsRequest_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) \
|
||||
X(a, STATIC, OPTIONAL, MESSAGE, timestamp, 4)
|
||||
#define read_v1_GetReadsRequest_CALLBACK pb_default_field_callback
|
||||
#define read_v1_GetReadsRequest_DEFAULT NULL
|
||||
#define read_v1_GetReadsRequest_reader_id_MSGTYPE util_UUID
|
||||
#define read_v1_GetReadsRequest_timestamp_MSGTYPE util_TimestampBetween
|
||||
|
||||
#define read_v1_GetReadsResponse_FIELDLIST(X, a) \
|
||||
X(a, CALLBACK, REPEATED, MESSAGE, reads, 1)
|
||||
#define read_v1_GetReadsResponse_CALLBACK pb_default_field_callback
|
||||
#define read_v1_GetReadsResponse_DEFAULT NULL
|
||||
#define read_v1_GetReadsResponse_reads_MSGTYPE read_v1_Read
|
||||
|
||||
extern const pb_msgdesc_t read_v1_GetReadsRequest_msg;
|
||||
extern const pb_msgdesc_t read_v1_GetReadsResponse_msg;
|
||||
|
||||
/* Defines for backwards compatibility with code written before nanopb-0.4.0 */
|
||||
#define read_v1_GetReadsRequest_fields &read_v1_GetReadsRequest_msg
|
||||
#define read_v1_GetReadsResponse_fields &read_v1_GetReadsResponse_msg
|
||||
|
||||
/* Maximum encoded size of messages (where known) */
|
||||
/* read_v1_GetReadsRequest_size depends on runtime parameters */
|
||||
/* read_v1_GetReadsResponse_size depends on runtime parameters */
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
#endif
|
||||
|
||||
#endif
|
||||
12
vendor/protobuf/read/v1/read.pb.c
vendored
Normal file
12
vendor/protobuf/read/v1/read.pb.c
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
/* Automatically generated nanopb constant definitions */
|
||||
/* Generated by nanopb-0.4.9 */
|
||||
|
||||
#include "read/v1/read.pb.h"
|
||||
#if PB_PROTO_HEADER_VERSION != 40
|
||||
#error Regenerate this file with the current version of nanopb generator.
|
||||
#endif
|
||||
|
||||
PB_BIND(read_v1_Read, read_v1_Read, AUTO)
|
||||
|
||||
|
||||
|
||||
65
vendor/protobuf/read/v1/read.pb.h
vendored
Normal file
65
vendor/protobuf/read/v1/read.pb.h
vendored
Normal file
@@ -0,0 +1,65 @@
|
||||
/* 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 <pb.h>
|
||||
#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
|
||||
9
vendor/protobuf/read/v1/service.pb.c
vendored
Normal file
9
vendor/protobuf/read/v1/service.pb.c
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
/* Automatically generated nanopb constant definitions */
|
||||
/* Generated by nanopb-0.4.9 */
|
||||
|
||||
#include "read/v1/service.pb.h"
|
||||
#if PB_PROTO_HEADER_VERSION != 40
|
||||
#error Regenerate this file with the current version of nanopb generator.
|
||||
#endif
|
||||
|
||||
|
||||
23
vendor/protobuf/read/v1/service.pb.h
vendored
Normal file
23
vendor/protobuf/read/v1/service.pb.h
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
/* Automatically generated nanopb header */
|
||||
/* Generated by nanopb-0.4.9 */
|
||||
|
||||
#ifndef PB_READ_V1_READ_V1_SERVICE_PB_H_INCLUDED
|
||||
#define PB_READ_V1_READ_V1_SERVICE_PB_H_INCLUDED
|
||||
#include <pb.h>
|
||||
#include "read/v1/get.pb.h"
|
||||
#include "read/v1/stream.pb.h"
|
||||
#include "read/v1/subscribe.pb.h"
|
||||
|
||||
#if PB_PROTO_HEADER_VERSION != 40
|
||||
#error Regenerate this file with the current version of nanopb generator.
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
#endif
|
||||
|
||||
#endif
|
||||
15
vendor/protobuf/read/v1/stream.pb.c
vendored
Normal file
15
vendor/protobuf/read/v1/stream.pb.c
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
/* Automatically generated nanopb constant definitions */
|
||||
/* Generated by nanopb-0.4.9 */
|
||||
|
||||
#include "read/v1/stream.pb.h"
|
||||
#if PB_PROTO_HEADER_VERSION != 40
|
||||
#error Regenerate this file with the current version of nanopb generator.
|
||||
#endif
|
||||
|
||||
PB_BIND(read_v1_StreamReadsRequest, read_v1_StreamReadsRequest, AUTO)
|
||||
|
||||
|
||||
PB_BIND(read_v1_StreamReadsResponse, read_v1_StreamReadsResponse, AUTO)
|
||||
|
||||
|
||||
|
||||
67
vendor/protobuf/read/v1/stream.pb.h
vendored
Normal file
67
vendor/protobuf/read/v1/stream.pb.h
vendored
Normal file
@@ -0,0 +1,67 @@
|
||||
/* Automatically generated nanopb header */
|
||||
/* Generated by nanopb-0.4.9 */
|
||||
|
||||
#ifndef PB_READ_V1_READ_V1_STREAM_PB_H_INCLUDED
|
||||
#define PB_READ_V1_READ_V1_STREAM_PB_H_INCLUDED
|
||||
#include <pb.h>
|
||||
#include "read/v1/read.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_StreamReadsRequest {
|
||||
bool has_read;
|
||||
read_v1_Read read;
|
||||
} read_v1_StreamReadsRequest;
|
||||
|
||||
typedef struct _read_v1_StreamReadsResponse {
|
||||
char dummy_field;
|
||||
} read_v1_StreamReadsResponse;
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Initializer values for message structs */
|
||||
#define read_v1_StreamReadsRequest_init_default {false, read_v1_Read_init_default}
|
||||
#define read_v1_StreamReadsResponse_init_default {0}
|
||||
#define read_v1_StreamReadsRequest_init_zero {false, read_v1_Read_init_zero}
|
||||
#define read_v1_StreamReadsResponse_init_zero {0}
|
||||
|
||||
/* Field tags (for use in manual encoding/decoding) */
|
||||
#define read_v1_StreamReadsRequest_read_tag 1
|
||||
|
||||
/* Struct field encoding specification for nanopb */
|
||||
#define read_v1_StreamReadsRequest_FIELDLIST(X, a) \
|
||||
X(a, STATIC, OPTIONAL, MESSAGE, read, 1)
|
||||
#define read_v1_StreamReadsRequest_CALLBACK NULL
|
||||
#define read_v1_StreamReadsRequest_DEFAULT NULL
|
||||
#define read_v1_StreamReadsRequest_read_MSGTYPE read_v1_Read
|
||||
|
||||
#define read_v1_StreamReadsResponse_FIELDLIST(X, a) \
|
||||
|
||||
#define read_v1_StreamReadsResponse_CALLBACK NULL
|
||||
#define read_v1_StreamReadsResponse_DEFAULT NULL
|
||||
|
||||
extern const pb_msgdesc_t read_v1_StreamReadsRequest_msg;
|
||||
extern const pb_msgdesc_t read_v1_StreamReadsResponse_msg;
|
||||
|
||||
/* Defines for backwards compatibility with code written before nanopb-0.4.0 */
|
||||
#define read_v1_StreamReadsRequest_fields &read_v1_StreamReadsRequest_msg
|
||||
#define read_v1_StreamReadsResponse_fields &read_v1_StreamReadsResponse_msg
|
||||
|
||||
/* Maximum encoded size of messages (where known) */
|
||||
#if defined(read_v1_Read_size)
|
||||
#define READ_V1_READ_V1_STREAM_PB_H_MAX_SIZE read_v1_StreamReadsRequest_size
|
||||
#define read_v1_StreamReadsRequest_size (6 + read_v1_Read_size)
|
||||
#endif
|
||||
#define read_v1_StreamReadsResponse_size 0
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
#endif
|
||||
|
||||
#endif
|
||||
15
vendor/protobuf/read/v1/subscribe.pb.c
vendored
Normal file
15
vendor/protobuf/read/v1/subscribe.pb.c
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
/* Automatically generated nanopb constant definitions */
|
||||
/* Generated by nanopb-0.4.9 */
|
||||
|
||||
#include "read/v1/subscribe.pb.h"
|
||||
#if PB_PROTO_HEADER_VERSION != 40
|
||||
#error Regenerate this file with the current version of nanopb generator.
|
||||
#endif
|
||||
|
||||
PB_BIND(read_v1_SubscribeReadsRequest, read_v1_SubscribeReadsRequest, AUTO)
|
||||
|
||||
|
||||
PB_BIND(read_v1_SubscribeReadsResponse, read_v1_SubscribeReadsResponse, AUTO)
|
||||
|
||||
|
||||
|
||||
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