@blueid/access-proto 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BlueCore.proto +841 -0
- package/BlueLock.proto +35 -0
- package/BlueSDK.proto +56 -0
- package/BlueSystem.proto +278 -0
- package/es/BlueCore_pb.d.ts +2937 -0
- package/es/BlueCore_pb.js +975 -0
- package/es/BlueLock_pb.d.ts +118 -0
- package/es/BlueLock_pb.js +46 -0
- package/es/BlueSDK_pb.d.ts +197 -0
- package/es/BlueSDK_pb.js +73 -0
- package/es/BlueSystem_pb.d.ts +913 -0
- package/es/BlueSystem_pb.js +272 -0
- package/nanopb/BlueCore.pb.c +188 -0
- package/nanopb/BlueCore.pb.h +1715 -0
- package/nanopb/BlueLock.pb.c +16 -0
- package/nanopb/BlueLock.pb.h +104 -0
- package/nanopb/BlueSDK.pb.c +22 -0
- package/nanopb/BlueSDK.pb.h +159 -0
- package/nanopb/BlueSystem.pb.c +64 -0
- package/nanopb/BlueSystem.pb.h +631 -0
- package/package.json +18 -0
- package/swift/BlueCore.pb.swift +6840 -0
- package/swift/BlueLock.pb.swift +276 -0
- package/swift/BlueSDK.pb.swift +624 -0
- package/swift/BlueSystem.pb.swift +2489 -0
|
@@ -0,0 +1,631 @@
|
|
|
1
|
+
/* Automatically generated nanopb header */
|
|
2
|
+
/* Generated by nanopb-0.4.8-dev */
|
|
3
|
+
|
|
4
|
+
#ifndef PB_BLUESYSTEM_PB_H_INCLUDED
|
|
5
|
+
#define PB_BLUESYSTEM_PB_H_INCLUDED
|
|
6
|
+
#include "pb.h"
|
|
7
|
+
#include "BlueCore.pb.h"
|
|
8
|
+
#include "BlueLock.pb.h"
|
|
9
|
+
|
|
10
|
+
#if PB_PROTO_HEADER_VERSION != 40
|
|
11
|
+
#error Regenerate this file with the current version of nanopb generator.
|
|
12
|
+
#endif
|
|
13
|
+
|
|
14
|
+
/* Enum definitions */
|
|
15
|
+
typedef enum BlueOnlineMode {
|
|
16
|
+
/* Offline mode */
|
|
17
|
+
BlueOnlineMode_OfflineMode = 0,
|
|
18
|
+
/* Wifi is manually re-connected whenever required */
|
|
19
|
+
BlueOnlineMode_ManualWifi = 1,
|
|
20
|
+
/* Wifi is always connected and re-connects automatically */
|
|
21
|
+
BlueOnlineMode_AlwaysOnWifi = 2,
|
|
22
|
+
/* A LAN connection is available that shall be used */
|
|
23
|
+
BlueOnlineMode_UseLan = 3
|
|
24
|
+
} BlueOnlineMode_t;
|
|
25
|
+
|
|
26
|
+
/* Struct definitions */
|
|
27
|
+
typedef struct BlueTimeOffsetPeriod {
|
|
28
|
+
/* UTC-epoch when this shift occurs */
|
|
29
|
+
uint32_t epoch;
|
|
30
|
+
/* The time offset in minutes, negative or positive */
|
|
31
|
+
int32_t offset;
|
|
32
|
+
} BlueTimeOffsetPeriod_t;
|
|
33
|
+
|
|
34
|
+
typedef struct BlueBaseConfig {
|
|
35
|
+
/* The time offsets that get shifted automatically */
|
|
36
|
+
pb_size_t timeOffsetPeriods_count;
|
|
37
|
+
BlueTimeOffsetPeriod_t timeOffsetPeriods[12];
|
|
38
|
+
/* If enabled this will check the system-status every 24-hours and
|
|
39
|
+
react accordingly ie like when battery is running low opening the lock
|
|
40
|
+
and logging accordingly etc */
|
|
41
|
+
bool autoCheckSystemStatus;
|
|
42
|
+
} BlueBaseConfig_t;
|
|
43
|
+
|
|
44
|
+
typedef struct BlueBleConfig {
|
|
45
|
+
/* Whether ble is enabled or not */
|
|
46
|
+
bool isAdvertising;
|
|
47
|
+
/* Optional schedule on when ble advertising is enabled, if none
|
|
48
|
+
set then ble is always on when enabled */
|
|
49
|
+
pb_size_t advertisingSchedules_count;
|
|
50
|
+
BlueLocalTimeSchedule_t advertisingSchedules[8];
|
|
51
|
+
/* Index of advertising schedules (starting at zero) where it should
|
|
52
|
+
use the max power level available for broader reach */
|
|
53
|
+
pb_size_t maxPowerAdvertisingSchedulesIndices_count;
|
|
54
|
+
uint32_t maxPowerAdvertisingSchedulesIndices[4];
|
|
55
|
+
/* The desired advertising interval in ms */
|
|
56
|
+
uint32_t advertisingIntervalMs;
|
|
57
|
+
/* The maximal connection timeout per connection in milliseconds */
|
|
58
|
+
uint32_t maxConnectionTimeoutMs;
|
|
59
|
+
/* The actual tx power level used for bluetooth from (0 - lowest) to 7
|
|
60
|
+
(highest) */
|
|
61
|
+
uint32_t txPowerLevel;
|
|
62
|
+
/* The advertised tx power level at 1 meter in decibel (-XX - +XX) */
|
|
63
|
+
int32_t advertisedTxPower1Meter;
|
|
64
|
+
/* If set then advertises as IBeacon otherwise uses regular advertising */
|
|
65
|
+
bool isIBeaconAdvertisement;
|
|
66
|
+
} BlueBleConfig_t;
|
|
67
|
+
|
|
68
|
+
typedef struct BlueOnlineConfig {
|
|
69
|
+
/* The online mode */
|
|
70
|
+
BlueOnlineMode_t mode;
|
|
71
|
+
/* Schedules when it should go online for updating. Only takes effect if
|
|
72
|
+
online mode is set to manual wifi. The end time is not used. */
|
|
73
|
+
pb_size_t connectSchedules_count;
|
|
74
|
+
BlueLocalTimeSchedule_t connectSchedules[4];
|
|
75
|
+
/* The SSID of the wifi network */
|
|
76
|
+
char wifiSSID[33];
|
|
77
|
+
/* The wifi password */
|
|
78
|
+
char wifiPassword[33];
|
|
79
|
+
/* Default timeout for online connections */
|
|
80
|
+
uint32_t timeoutSec;
|
|
81
|
+
} BlueOnlineConfig_t;
|
|
82
|
+
|
|
83
|
+
typedef struct BlueAccessConfig {
|
|
84
|
+
/* The device's unique access id */
|
|
85
|
+
uint32_t id;
|
|
86
|
+
/* The site id bound to this device */
|
|
87
|
+
uint32_t siteId;
|
|
88
|
+
/* The access groups this device is part of */
|
|
89
|
+
pb_size_t groupIds_count;
|
|
90
|
+
uint32_t groupIds[16];
|
|
91
|
+
} BlueAccessConfig_t;
|
|
92
|
+
|
|
93
|
+
typedef struct BlueOssConfig { /* -- Oss SecureId -- */
|
|
94
|
+
/* The mifare aes-key for reading the oss secure id application, default is
|
|
95
|
+
the oss sid demo key */
|
|
96
|
+
pb_byte_t sidMifareAesKey[16];
|
|
97
|
+
/* The mifare application id for the oss secure id application, default is the
|
|
98
|
+
oss sid default aid. A value of 0 disables Oss Sid Mifare support. */
|
|
99
|
+
uint32_t sidMifareAid;
|
|
100
|
+
/* If set the system will try to connect online to refresh the presented oss
|
|
101
|
+
offline card if required as well as it will try to get and put the latest
|
|
102
|
+
blacklist on the card */
|
|
103
|
+
bool soUpdater;
|
|
104
|
+
/* If set the system will try to connect online if there are any events on a
|
|
105
|
+
presented card and transfer all events online */
|
|
106
|
+
bool soPushEvents;
|
|
107
|
+
/* If set the system will transfer pending events to an offline card */
|
|
108
|
+
bool soWritePendingEvents;
|
|
109
|
+
/* If set the system will update from the blacklist of an offline card */
|
|
110
|
+
bool soUpdateFromBlacklist;
|
|
111
|
+
/* The mifare aes-key for reading/writing the oss offline application, default
|
|
112
|
+
is the oss so demo key */
|
|
113
|
+
pb_byte_t soMifareAesKey[16];
|
|
114
|
+
/* The mifare application id for the oss offline application, default is the
|
|
115
|
+
oss so default aid. A value of 0 disables Oss So Mifare support. */
|
|
116
|
+
uint32_t soMifareAid;
|
|
117
|
+
} BlueOssConfig_t;
|
|
118
|
+
|
|
119
|
+
typedef struct BlueSystemConfig {
|
|
120
|
+
uint32_t version;
|
|
121
|
+
/* -- Base */
|
|
122
|
+
BlueBaseConfig_t base;
|
|
123
|
+
BlueBleConfig_t ble;
|
|
124
|
+
BlueOnlineConfig_t online;
|
|
125
|
+
BlueAccessConfig_t access;
|
|
126
|
+
BlueOssConfig_t oss;
|
|
127
|
+
/* -- Custom */
|
|
128
|
+
bool has_lock;
|
|
129
|
+
BlueLockConfig_t lock;
|
|
130
|
+
} BlueSystemConfig_t;
|
|
131
|
+
|
|
132
|
+
typedef struct BlueSystemTimeUnix {
|
|
133
|
+
uint32_t epoch;
|
|
134
|
+
} BlueSystemTimeUnix_t;
|
|
135
|
+
|
|
136
|
+
typedef struct BlueSystemUpdate {
|
|
137
|
+
bool has_config;
|
|
138
|
+
BlueSystemConfig_t config;
|
|
139
|
+
bool has_timeUnix;
|
|
140
|
+
BlueSystemTimeUnix_t timeUnix;
|
|
141
|
+
} BlueSystemUpdate_t;
|
|
142
|
+
|
|
143
|
+
typedef struct BlueSystemSettings {
|
|
144
|
+
uint32_t blacklistMaxEntriesCount;
|
|
145
|
+
uint32_t blacklistEntriesCount;
|
|
146
|
+
uint32_t eventLogMaxEntriesCount;
|
|
147
|
+
uint32_t eventLogEntriesCount;
|
|
148
|
+
uint32_t eventLogSequenceId;
|
|
149
|
+
uint32_t eventLogIndex;
|
|
150
|
+
uint32_t systemLogMaxEntriesCount;
|
|
151
|
+
uint32_t systemLogEntriesCount;
|
|
152
|
+
uint32_t systemLogSequenceId;
|
|
153
|
+
uint32_t systemLogIndex;
|
|
154
|
+
bool timeWasSet;
|
|
155
|
+
bool isBatteryLow;
|
|
156
|
+
} BlueSystemSettings_t;
|
|
157
|
+
|
|
158
|
+
typedef PB_BYTES_ARRAY_T(160) BlueSystemProvisioning_terminalPrivateKey_t;
|
|
159
|
+
typedef PB_BYTES_ARRAY_T(100) BlueSystemProvisioning_signaturePublicKey_t;
|
|
160
|
+
typedef struct BlueSystemProvisioning {
|
|
161
|
+
BlueHardwareType_t hardwareType;
|
|
162
|
+
/* Unique id generated by blueid which identitifies this device (default set
|
|
163
|
+
from BlueSharedDemoKeys) */
|
|
164
|
+
char deviceId[9];
|
|
165
|
+
/* Serial-number which is vendor specific stored as hex */
|
|
166
|
+
char serialNumber[21];
|
|
167
|
+
/* Private key used for signing to proof authenticity of this device (default
|
|
168
|
+
set from BlueSharedDemoKeys) */
|
|
169
|
+
BlueSystemProvisioning_terminalPrivateKey_t terminalPrivateKey;
|
|
170
|
+
/* Public key used for verifying signatures being valid on this device
|
|
171
|
+
(default set from BlueSharedDemoKeys) */
|
|
172
|
+
BlueSystemProvisioning_signaturePublicKey_t signaturePublicKey;
|
|
173
|
+
} BlueSystemProvisioning_t;
|
|
174
|
+
|
|
175
|
+
typedef struct BlueSystemStatus {
|
|
176
|
+
uint32_t configVersion;
|
|
177
|
+
char deviceId[9];
|
|
178
|
+
char serialNumber[21];
|
|
179
|
+
BlueHardwareType_t hardwareType;
|
|
180
|
+
BlueBatteryLevel_t batteryLevel;
|
|
181
|
+
uint32_t applicationVersion;
|
|
182
|
+
BlueLocalTimestamp_t localTime;
|
|
183
|
+
BlueSystemSettings_t settings;
|
|
184
|
+
uint32_t blacklistEntriesCount;
|
|
185
|
+
uint32_t eventLogEntriesCount;
|
|
186
|
+
uint32_t eventLogSequenceId;
|
|
187
|
+
uint32_t systemLogEntriesCount;
|
|
188
|
+
uint32_t systemLogSequenceId;
|
|
189
|
+
/* -- Custom */
|
|
190
|
+
bool has_lock;
|
|
191
|
+
BlueLockStatus_t lock;
|
|
192
|
+
} BlueSystemStatus_t;
|
|
193
|
+
|
|
194
|
+
typedef struct BlueSystemLogQuery {
|
|
195
|
+
uint32_t maxCount;
|
|
196
|
+
pb_size_t which_start;
|
|
197
|
+
union {
|
|
198
|
+
uint32_t sequenceId;
|
|
199
|
+
bool fromHead; /* false = starts from tail */
|
|
200
|
+
} start;
|
|
201
|
+
} BlueSystemLogQuery_t;
|
|
202
|
+
|
|
203
|
+
typedef struct BlueSystemLogEntry {
|
|
204
|
+
uint32_t sequenceId;
|
|
205
|
+
BlueLocalTimestamp_t time;
|
|
206
|
+
uint32_t severity;
|
|
207
|
+
uint32_t line;
|
|
208
|
+
char file[21];
|
|
209
|
+
char message[95];
|
|
210
|
+
} BlueSystemLogEntry_t;
|
|
211
|
+
|
|
212
|
+
typedef struct BlueSystemLogResult {
|
|
213
|
+
pb_size_t entries_count;
|
|
214
|
+
BlueSystemLogEntry_t entries[10];
|
|
215
|
+
} BlueSystemLogResult_t;
|
|
216
|
+
|
|
217
|
+
typedef struct BlueEventLogQuery {
|
|
218
|
+
uint32_t maxCount;
|
|
219
|
+
pb_size_t which_start;
|
|
220
|
+
union {
|
|
221
|
+
uint32_t sequenceId;
|
|
222
|
+
bool fromHead; /* false = starts from tail */
|
|
223
|
+
} start;
|
|
224
|
+
} BlueEventLogQuery_t;
|
|
225
|
+
|
|
226
|
+
typedef struct BlueEventLogResult {
|
|
227
|
+
pb_size_t events_count;
|
|
228
|
+
BlueEvent_t events[50];
|
|
229
|
+
} BlueEventLogResult_t;
|
|
230
|
+
|
|
231
|
+
typedef struct BlueBlacklistEntries {
|
|
232
|
+
pb_size_t entries_count;
|
|
233
|
+
BlueBlacklistEntry_t entries[75];
|
|
234
|
+
} BlueBlacklistEntries_t;
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
#ifdef __cplusplus
|
|
238
|
+
extern "C" {
|
|
239
|
+
#endif
|
|
240
|
+
|
|
241
|
+
/* Helper constants for enums */
|
|
242
|
+
#define _BLUEONLINEMODE_MIN BlueOnlineMode_OfflineMode
|
|
243
|
+
#define _BLUEONLINEMODE_MAX BlueOnlineMode_UseLan
|
|
244
|
+
#define _BLUEONLINEMODE_ARRAYSIZE ((BlueOnlineMode_t)(BlueOnlineMode_UseLan+1))
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
#define BlueOnlineConfig_t_mode_ENUMTYPE BlueOnlineMode_t
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
#define BlueSystemProvisioning_t_hardwareType_ENUMTYPE BlueHardwareType_t
|
|
258
|
+
|
|
259
|
+
#define BlueSystemStatus_t_hardwareType_ENUMTYPE BlueHardwareType_t
|
|
260
|
+
#define BlueSystemStatus_t_batteryLevel_ENUMTYPE BlueBatteryLevel_t
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
/* Initializer values for message structs */
|
|
270
|
+
#define BLUETIMEOFFSETPERIOD_INIT_DEFAULT {0, 0}
|
|
271
|
+
#define BLUEBASECONFIG_INIT_DEFAULT {0, {BLUETIMEOFFSETPERIOD_INIT_DEFAULT, BLUETIMEOFFSETPERIOD_INIT_DEFAULT, BLUETIMEOFFSETPERIOD_INIT_DEFAULT, BLUETIMEOFFSETPERIOD_INIT_DEFAULT, BLUETIMEOFFSETPERIOD_INIT_DEFAULT, BLUETIMEOFFSETPERIOD_INIT_DEFAULT, BLUETIMEOFFSETPERIOD_INIT_DEFAULT, BLUETIMEOFFSETPERIOD_INIT_DEFAULT, BLUETIMEOFFSETPERIOD_INIT_DEFAULT, BLUETIMEOFFSETPERIOD_INIT_DEFAULT, BLUETIMEOFFSETPERIOD_INIT_DEFAULT, BLUETIMEOFFSETPERIOD_INIT_DEFAULT}, false}
|
|
272
|
+
#define BLUEBLECONFIG_INIT_DEFAULT {true, 0, {BLUELOCALTIMESCHEDULE_INIT_DEFAULT, BLUELOCALTIMESCHEDULE_INIT_DEFAULT, BLUELOCALTIMESCHEDULE_INIT_DEFAULT, BLUELOCALTIMESCHEDULE_INIT_DEFAULT, BLUELOCALTIMESCHEDULE_INIT_DEFAULT, BLUELOCALTIMESCHEDULE_INIT_DEFAULT, BLUELOCALTIMESCHEDULE_INIT_DEFAULT, BLUELOCALTIMESCHEDULE_INIT_DEFAULT}, 0, {0, 0, 0, 0}, 500u, 3000u, 3u, -77, 0}
|
|
273
|
+
#define BLUEONLINECONFIG_INIT_DEFAULT {BlueOnlineMode_OfflineMode, 0, {BLUELOCALTIMESCHEDULE_INIT_DEFAULT, BLUELOCALTIMESCHEDULE_INIT_DEFAULT, BLUELOCALTIMESCHEDULE_INIT_DEFAULT, BLUELOCALTIMESCHEDULE_INIT_DEFAULT}, "", "", 30u}
|
|
274
|
+
#define BLUEACCESSCONFIG_INIT_DEFAULT {1u, 1u, 0, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}}
|
|
275
|
+
#define BLUEOSSCONFIG_INIT_DEFAULT {{0xff,0xee,0xdd,0xcc,0xbb,0xaa,0x99,0x88,0x77,0x66,0x55,0x44,0x33,0x22,0x11,0x00}, 16076801u, false, false, true, true, {0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f}, 16076800u}
|
|
276
|
+
#define BLUESYSTEMCONFIG_INIT_DEFAULT {0, BLUEBASECONFIG_INIT_DEFAULT, BLUEBLECONFIG_INIT_DEFAULT, BLUEONLINECONFIG_INIT_DEFAULT, BLUEACCESSCONFIG_INIT_DEFAULT, BLUEOSSCONFIG_INIT_DEFAULT, false, BLUELOCKCONFIG_INIT_DEFAULT}
|
|
277
|
+
#define BLUESYSTEMTIMEUNIX_INIT_DEFAULT {0}
|
|
278
|
+
#define BLUESYSTEMUPDATE_INIT_DEFAULT {false, BLUESYSTEMCONFIG_INIT_DEFAULT, false, BLUESYSTEMTIMEUNIX_INIT_DEFAULT}
|
|
279
|
+
#define BLUESYSTEMSETTINGS_INIT_DEFAULT {0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0, 0}
|
|
280
|
+
#define BLUESYSTEMPROVISIONING_INIT_DEFAULT {BlueHardwareType_TestHardware, "", "00000000000000000000", {0, {0}}, {0, {0}}}
|
|
281
|
+
#define BLUESYSTEMSTATUS_INIT_DEFAULT {0, "", "", _BLUEHARDWARETYPE_MIN, _BLUEBATTERYLEVEL_MIN, 0, BLUELOCALTIMESTAMP_INIT_DEFAULT, BLUESYSTEMSETTINGS_INIT_DEFAULT, 0, 0, 0, 0, 0, false, BLUELOCKSTATUS_INIT_DEFAULT}
|
|
282
|
+
#define BLUESYSTEMLOGQUERY_INIT_DEFAULT {0, 0, {0}}
|
|
283
|
+
#define BLUESYSTEMLOGENTRY_INIT_DEFAULT {0, BLUELOCALTIMESTAMP_INIT_DEFAULT, 0, 0, "", ""}
|
|
284
|
+
#define BLUESYSTEMLOGRESULT_INIT_DEFAULT {0, {BLUESYSTEMLOGENTRY_INIT_DEFAULT, BLUESYSTEMLOGENTRY_INIT_DEFAULT, BLUESYSTEMLOGENTRY_INIT_DEFAULT, BLUESYSTEMLOGENTRY_INIT_DEFAULT, BLUESYSTEMLOGENTRY_INIT_DEFAULT, BLUESYSTEMLOGENTRY_INIT_DEFAULT, BLUESYSTEMLOGENTRY_INIT_DEFAULT, BLUESYSTEMLOGENTRY_INIT_DEFAULT, BLUESYSTEMLOGENTRY_INIT_DEFAULT, BLUESYSTEMLOGENTRY_INIT_DEFAULT}}
|
|
285
|
+
#define BLUEEVENTLOGQUERY_INIT_DEFAULT {0, 0, {0}}
|
|
286
|
+
#define BLUEEVENTLOGRESULT_INIT_DEFAULT {0, {BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT}}
|
|
287
|
+
#define BLUEBLACKLISTENTRIES_INIT_DEFAULT {0, {BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT, BLUEBLACKLISTENTRY_INIT_DEFAULT}}
|
|
288
|
+
#define BLUETIMEOFFSETPERIOD_INIT_ZERO {0, 0}
|
|
289
|
+
#define BLUEBASECONFIG_INIT_ZERO {0, {BLUETIMEOFFSETPERIOD_INIT_ZERO, BLUETIMEOFFSETPERIOD_INIT_ZERO, BLUETIMEOFFSETPERIOD_INIT_ZERO, BLUETIMEOFFSETPERIOD_INIT_ZERO, BLUETIMEOFFSETPERIOD_INIT_ZERO, BLUETIMEOFFSETPERIOD_INIT_ZERO, BLUETIMEOFFSETPERIOD_INIT_ZERO, BLUETIMEOFFSETPERIOD_INIT_ZERO, BLUETIMEOFFSETPERIOD_INIT_ZERO, BLUETIMEOFFSETPERIOD_INIT_ZERO, BLUETIMEOFFSETPERIOD_INIT_ZERO, BLUETIMEOFFSETPERIOD_INIT_ZERO}, 0}
|
|
290
|
+
#define BLUEBLECONFIG_INIT_ZERO {0, 0, {BLUELOCALTIMESCHEDULE_INIT_ZERO, BLUELOCALTIMESCHEDULE_INIT_ZERO, BLUELOCALTIMESCHEDULE_INIT_ZERO, BLUELOCALTIMESCHEDULE_INIT_ZERO, BLUELOCALTIMESCHEDULE_INIT_ZERO, BLUELOCALTIMESCHEDULE_INIT_ZERO, BLUELOCALTIMESCHEDULE_INIT_ZERO, BLUELOCALTIMESCHEDULE_INIT_ZERO}, 0, {0, 0, 0, 0}, 0, 0, 0, 0, 0}
|
|
291
|
+
#define BLUEONLINECONFIG_INIT_ZERO {_BLUEONLINEMODE_MIN, 0, {BLUELOCALTIMESCHEDULE_INIT_ZERO, BLUELOCALTIMESCHEDULE_INIT_ZERO, BLUELOCALTIMESCHEDULE_INIT_ZERO, BLUELOCALTIMESCHEDULE_INIT_ZERO}, "", "", 0}
|
|
292
|
+
#define BLUEACCESSCONFIG_INIT_ZERO {0, 0, 0, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}}
|
|
293
|
+
#define BLUEOSSCONFIG_INIT_ZERO {{0}, 0, 0, 0, 0, 0, {0}, 0}
|
|
294
|
+
#define BLUESYSTEMCONFIG_INIT_ZERO {0, BLUEBASECONFIG_INIT_ZERO, BLUEBLECONFIG_INIT_ZERO, BLUEONLINECONFIG_INIT_ZERO, BLUEACCESSCONFIG_INIT_ZERO, BLUEOSSCONFIG_INIT_ZERO, false, BLUELOCKCONFIG_INIT_ZERO}
|
|
295
|
+
#define BLUESYSTEMTIMEUNIX_INIT_ZERO {0}
|
|
296
|
+
#define BLUESYSTEMUPDATE_INIT_ZERO {false, BLUESYSTEMCONFIG_INIT_ZERO, false, BLUESYSTEMTIMEUNIX_INIT_ZERO}
|
|
297
|
+
#define BLUESYSTEMSETTINGS_INIT_ZERO {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
|
|
298
|
+
#define BLUESYSTEMPROVISIONING_INIT_ZERO {_BLUEHARDWARETYPE_MIN, "", "", {0, {0}}, {0, {0}}}
|
|
299
|
+
#define BLUESYSTEMSTATUS_INIT_ZERO {0, "", "", _BLUEHARDWARETYPE_MIN, _BLUEBATTERYLEVEL_MIN, 0, BLUELOCALTIMESTAMP_INIT_ZERO, BLUESYSTEMSETTINGS_INIT_ZERO, 0, 0, 0, 0, 0, false, BLUELOCKSTATUS_INIT_ZERO}
|
|
300
|
+
#define BLUESYSTEMLOGQUERY_INIT_ZERO {0, 0, {0}}
|
|
301
|
+
#define BLUESYSTEMLOGENTRY_INIT_ZERO {0, BLUELOCALTIMESTAMP_INIT_ZERO, 0, 0, "", ""}
|
|
302
|
+
#define BLUESYSTEMLOGRESULT_INIT_ZERO {0, {BLUESYSTEMLOGENTRY_INIT_ZERO, BLUESYSTEMLOGENTRY_INIT_ZERO, BLUESYSTEMLOGENTRY_INIT_ZERO, BLUESYSTEMLOGENTRY_INIT_ZERO, BLUESYSTEMLOGENTRY_INIT_ZERO, BLUESYSTEMLOGENTRY_INIT_ZERO, BLUESYSTEMLOGENTRY_INIT_ZERO, BLUESYSTEMLOGENTRY_INIT_ZERO, BLUESYSTEMLOGENTRY_INIT_ZERO, BLUESYSTEMLOGENTRY_INIT_ZERO}}
|
|
303
|
+
#define BLUEEVENTLOGQUERY_INIT_ZERO {0, 0, {0}}
|
|
304
|
+
#define BLUEEVENTLOGRESULT_INIT_ZERO {0, {BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO}}
|
|
305
|
+
#define BLUEBLACKLISTENTRIES_INIT_ZERO {0, {BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO, BLUEBLACKLISTENTRY_INIT_ZERO}}
|
|
306
|
+
|
|
307
|
+
/* Field tags (for use in manual encoding/decoding) */
|
|
308
|
+
#define BLUETIMEOFFSETPERIOD_EPOCH_TAG 1
|
|
309
|
+
#define BLUETIMEOFFSETPERIOD_OFFSET_TAG 2
|
|
310
|
+
#define BLUEBASECONFIG_TIMEOFFSETPERIODS_TAG 1
|
|
311
|
+
#define BLUEBASECONFIG_AUTOCHECKSYSTEMSTATUS_TAG 2
|
|
312
|
+
#define BLUEBLECONFIG_ISADVERTISING_TAG 1
|
|
313
|
+
#define BLUEBLECONFIG_ADVERTISINGSCHEDULES_TAG 2
|
|
314
|
+
#define BLUEBLECONFIG_MAXPOWERADVERTISINGSCHEDULESINDICES_TAG 3
|
|
315
|
+
#define BLUEBLECONFIG_ADVERTISINGINTERVALMS_TAG 4
|
|
316
|
+
#define BLUEBLECONFIG_MAXCONNECTIONTIMEOUTMS_TAG 5
|
|
317
|
+
#define BLUEBLECONFIG_TXPOWERLEVEL_TAG 6
|
|
318
|
+
#define BLUEBLECONFIG_ADVERTISEDTXPOWER1METER_TAG 7
|
|
319
|
+
#define BLUEBLECONFIG_ISIBEACONADVERTISEMENT_TAG 8
|
|
320
|
+
#define BLUEONLINECONFIG_MODE_TAG 1
|
|
321
|
+
#define BLUEONLINECONFIG_CONNECTSCHEDULES_TAG 2
|
|
322
|
+
#define BLUEONLINECONFIG_WIFISSID_TAG 3
|
|
323
|
+
#define BLUEONLINECONFIG_WIFIPASSWORD_TAG 4
|
|
324
|
+
#define BLUEONLINECONFIG_TIMEOUTSEC_TAG 5
|
|
325
|
+
#define BLUEACCESSCONFIG_ID_TAG 1
|
|
326
|
+
#define BLUEACCESSCONFIG_SITEID_TAG 2
|
|
327
|
+
#define BLUEACCESSCONFIG_GROUPIDS_TAG 3
|
|
328
|
+
#define BLUEOSSCONFIG_SIDMIFAREAESKEY_TAG 1
|
|
329
|
+
#define BLUEOSSCONFIG_SIDMIFAREAID_TAG 2
|
|
330
|
+
#define BLUEOSSCONFIG_SOUPDATER_TAG 3
|
|
331
|
+
#define BLUEOSSCONFIG_SOPUSHEVENTS_TAG 4
|
|
332
|
+
#define BLUEOSSCONFIG_SOWRITEPENDINGEVENTS_TAG 5
|
|
333
|
+
#define BLUEOSSCONFIG_SOUPDATEFROMBLACKLIST_TAG 6
|
|
334
|
+
#define BLUEOSSCONFIG_SOMIFAREAESKEY_TAG 7
|
|
335
|
+
#define BLUEOSSCONFIG_SOMIFAREAID_TAG 8
|
|
336
|
+
#define BLUESYSTEMCONFIG_VERSION_TAG 1
|
|
337
|
+
#define BLUESYSTEMCONFIG_BASE_TAG 2
|
|
338
|
+
#define BLUESYSTEMCONFIG_BLE_TAG 3
|
|
339
|
+
#define BLUESYSTEMCONFIG_ONLINE_TAG 4
|
|
340
|
+
#define BLUESYSTEMCONFIG_ACCESS_TAG 5
|
|
341
|
+
#define BLUESYSTEMCONFIG_OSS_TAG 6
|
|
342
|
+
#define BLUESYSTEMCONFIG_LOCK_TAG 7
|
|
343
|
+
#define BLUESYSTEMTIMEUNIX_EPOCH_TAG 1
|
|
344
|
+
#define BLUESYSTEMUPDATE_CONFIG_TAG 1
|
|
345
|
+
#define BLUESYSTEMUPDATE_TIMEUNIX_TAG 2
|
|
346
|
+
#define BLUESYSTEMSETTINGS_BLACKLISTMAXENTRIESCOUNT_TAG 1
|
|
347
|
+
#define BLUESYSTEMSETTINGS_BLACKLISTENTRIESCOUNT_TAG 2
|
|
348
|
+
#define BLUESYSTEMSETTINGS_EVENTLOGMAXENTRIESCOUNT_TAG 3
|
|
349
|
+
#define BLUESYSTEMSETTINGS_EVENTLOGENTRIESCOUNT_TAG 4
|
|
350
|
+
#define BLUESYSTEMSETTINGS_EVENTLOGSEQUENCEID_TAG 5
|
|
351
|
+
#define BLUESYSTEMSETTINGS_EVENTLOGINDEX_TAG 6
|
|
352
|
+
#define BLUESYSTEMSETTINGS_SYSTEMLOGMAXENTRIESCOUNT_TAG 7
|
|
353
|
+
#define BLUESYSTEMSETTINGS_SYSTEMLOGENTRIESCOUNT_TAG 8
|
|
354
|
+
#define BLUESYSTEMSETTINGS_SYSTEMLOGSEQUENCEID_TAG 9
|
|
355
|
+
#define BLUESYSTEMSETTINGS_SYSTEMLOGINDEX_TAG 10
|
|
356
|
+
#define BLUESYSTEMSETTINGS_TIMEWASSET_TAG 11
|
|
357
|
+
#define BLUESYSTEMSETTINGS_ISBATTERYLOW_TAG 12
|
|
358
|
+
#define BLUESYSTEMPROVISIONING_HARDWARETYPE_TAG 1
|
|
359
|
+
#define BLUESYSTEMPROVISIONING_DEVICEID_TAG 2
|
|
360
|
+
#define BLUESYSTEMPROVISIONING_SERIALNUMBER_TAG 3
|
|
361
|
+
#define BLUESYSTEMPROVISIONING_TERMINALPRIVATEKEY_TAG 4
|
|
362
|
+
#define BLUESYSTEMPROVISIONING_SIGNATUREPUBLICKEY_TAG 5
|
|
363
|
+
#define BLUESYSTEMSTATUS_CONFIGVERSION_TAG 1
|
|
364
|
+
#define BLUESYSTEMSTATUS_DEVICEID_TAG 2
|
|
365
|
+
#define BLUESYSTEMSTATUS_SERIALNUMBER_TAG 3
|
|
366
|
+
#define BLUESYSTEMSTATUS_HARDWARETYPE_TAG 4
|
|
367
|
+
#define BLUESYSTEMSTATUS_BATTERYLEVEL_TAG 5
|
|
368
|
+
#define BLUESYSTEMSTATUS_APPLICATIONVERSION_TAG 6
|
|
369
|
+
#define BLUESYSTEMSTATUS_LOCALTIME_TAG 7
|
|
370
|
+
#define BLUESYSTEMSTATUS_SETTINGS_TAG 8
|
|
371
|
+
#define BLUESYSTEMSTATUS_BLACKLISTENTRIESCOUNT_TAG 9
|
|
372
|
+
#define BLUESYSTEMSTATUS_EVENTLOGENTRIESCOUNT_TAG 10
|
|
373
|
+
#define BLUESYSTEMSTATUS_EVENTLOGSEQUENCEID_TAG 11
|
|
374
|
+
#define BLUESYSTEMSTATUS_SYSTEMLOGENTRIESCOUNT_TAG 12
|
|
375
|
+
#define BLUESYSTEMSTATUS_SYSTEMLOGSEQUENCEID_TAG 13
|
|
376
|
+
#define BLUESYSTEMSTATUS_LOCK_TAG 14
|
|
377
|
+
#define BLUESYSTEMLOGQUERY_MAXCOUNT_TAG 1
|
|
378
|
+
#define BLUESYSTEMLOGQUERY_SEQUENCEID_TAG 2
|
|
379
|
+
#define BLUESYSTEMLOGQUERY_FROMHEAD_TAG 3
|
|
380
|
+
#define BLUESYSTEMLOGENTRY_SEQUENCEID_TAG 1
|
|
381
|
+
#define BLUESYSTEMLOGENTRY_TIME_TAG 2
|
|
382
|
+
#define BLUESYSTEMLOGENTRY_SEVERITY_TAG 3
|
|
383
|
+
#define BLUESYSTEMLOGENTRY_LINE_TAG 4
|
|
384
|
+
#define BLUESYSTEMLOGENTRY_FILE_TAG 5
|
|
385
|
+
#define BLUESYSTEMLOGENTRY_MESSAGE_TAG 6
|
|
386
|
+
#define BLUESYSTEMLOGRESULT_ENTRIES_TAG 1
|
|
387
|
+
#define BLUEEVENTLOGQUERY_MAXCOUNT_TAG 1
|
|
388
|
+
#define BLUEEVENTLOGQUERY_SEQUENCEID_TAG 2
|
|
389
|
+
#define BLUEEVENTLOGQUERY_FROMHEAD_TAG 3
|
|
390
|
+
#define BLUEEVENTLOGRESULT_EVENTS_TAG 1
|
|
391
|
+
#define BLUEBLACKLISTENTRIES_ENTRIES_TAG 1
|
|
392
|
+
|
|
393
|
+
/* Struct field encoding specification for nanopb */
|
|
394
|
+
#define BLUETIMEOFFSETPERIOD_FIELDLIST(X, a) \
|
|
395
|
+
X(a, STATIC, REQUIRED, UINT32, epoch, 1) \
|
|
396
|
+
X(a, STATIC, REQUIRED, INT32, offset, 2)
|
|
397
|
+
#define BLUETIMEOFFSETPERIOD_CALLBACK NULL
|
|
398
|
+
#define BLUETIMEOFFSETPERIOD_DEFAULT NULL
|
|
399
|
+
|
|
400
|
+
#define BLUEBASECONFIG_FIELDLIST(X, a) \
|
|
401
|
+
X(a, STATIC, REPEATED, MESSAGE, timeOffsetPeriods, 1) \
|
|
402
|
+
X(a, STATIC, REQUIRED, BOOL, autoCheckSystemStatus, 2)
|
|
403
|
+
#define BLUEBASECONFIG_CALLBACK NULL
|
|
404
|
+
#define BLUEBASECONFIG_DEFAULT (const pb_byte_t*)"\x10\x00\x00"
|
|
405
|
+
#define BlueBaseConfig_t_timeOffsetPeriods_MSGTYPE BlueTimeOffsetPeriod_t
|
|
406
|
+
|
|
407
|
+
#define BLUEBLECONFIG_FIELDLIST(X, a) \
|
|
408
|
+
X(a, STATIC, REQUIRED, BOOL, isAdvertising, 1) \
|
|
409
|
+
X(a, STATIC, REPEATED, MESSAGE, advertisingSchedules, 2) \
|
|
410
|
+
X(a, STATIC, REPEATED, UINT32, maxPowerAdvertisingSchedulesIndices, 3) \
|
|
411
|
+
X(a, STATIC, REQUIRED, UINT32, advertisingIntervalMs, 4) \
|
|
412
|
+
X(a, STATIC, REQUIRED, UINT32, maxConnectionTimeoutMs, 5) \
|
|
413
|
+
X(a, STATIC, REQUIRED, UINT32, txPowerLevel, 6) \
|
|
414
|
+
X(a, STATIC, REQUIRED, INT32, advertisedTxPower1Meter, 7) \
|
|
415
|
+
X(a, STATIC, REQUIRED, BOOL, isIBeaconAdvertisement, 8)
|
|
416
|
+
#define BLUEBLECONFIG_CALLBACK NULL
|
|
417
|
+
#define BLUEBLECONFIG_DEFAULT (const pb_byte_t*)"\x08\x01\x20\xf4\x03\x28\xb8\x17\x30\x03\x38\xb3\xff\xff\xff\xff\xff\xff\xff\xff\x01\x00"
|
|
418
|
+
#define BlueBleConfig_t_advertisingSchedules_MSGTYPE BlueLocalTimeSchedule_t
|
|
419
|
+
|
|
420
|
+
#define BLUEONLINECONFIG_FIELDLIST(X, a) \
|
|
421
|
+
X(a, STATIC, REQUIRED, UENUM, mode, 1) \
|
|
422
|
+
X(a, STATIC, REPEATED, MESSAGE, connectSchedules, 2) \
|
|
423
|
+
X(a, STATIC, REQUIRED, STRING, wifiSSID, 3) \
|
|
424
|
+
X(a, STATIC, REQUIRED, STRING, wifiPassword, 4) \
|
|
425
|
+
X(a, STATIC, REQUIRED, UINT32, timeoutSec, 5)
|
|
426
|
+
#define BLUEONLINECONFIG_CALLBACK NULL
|
|
427
|
+
#define BLUEONLINECONFIG_DEFAULT (const pb_byte_t*)"\x28\x1e\x00"
|
|
428
|
+
#define BlueOnlineConfig_t_connectSchedules_MSGTYPE BlueLocalTimeSchedule_t
|
|
429
|
+
|
|
430
|
+
#define BLUEACCESSCONFIG_FIELDLIST(X, a) \
|
|
431
|
+
X(a, STATIC, REQUIRED, UINT32, id, 1) \
|
|
432
|
+
X(a, STATIC, REQUIRED, UINT32, siteId, 2) \
|
|
433
|
+
X(a, STATIC, REPEATED, UINT32, groupIds, 3)
|
|
434
|
+
#define BLUEACCESSCONFIG_CALLBACK NULL
|
|
435
|
+
#define BLUEACCESSCONFIG_DEFAULT (const pb_byte_t*)"\x08\x01\x10\x01\x00"
|
|
436
|
+
|
|
437
|
+
#define BLUEOSSCONFIG_FIELDLIST(X, a) \
|
|
438
|
+
X(a, STATIC, REQUIRED, FIXED_LENGTH_BYTES, sidMifareAesKey, 1) \
|
|
439
|
+
X(a, STATIC, REQUIRED, UINT32, sidMifareAid, 2) \
|
|
440
|
+
X(a, STATIC, REQUIRED, BOOL, soUpdater, 3) \
|
|
441
|
+
X(a, STATIC, REQUIRED, BOOL, soPushEvents, 4) \
|
|
442
|
+
X(a, STATIC, REQUIRED, BOOL, soWritePendingEvents, 5) \
|
|
443
|
+
X(a, STATIC, REQUIRED, BOOL, soUpdateFromBlacklist, 6) \
|
|
444
|
+
X(a, STATIC, REQUIRED, FIXED_LENGTH_BYTES, soMifareAesKey, 7) \
|
|
445
|
+
X(a, STATIC, REQUIRED, UINT32, soMifareAid, 8)
|
|
446
|
+
#define BLUEOSSCONFIG_CALLBACK NULL
|
|
447
|
+
#define BLUEOSSCONFIG_DEFAULT (const pb_byte_t*)"\x0a\x10\xff\xee\xdd\xcc\xbb\xaa\x99\x88\x77\x66\x55\x44\x33\x22\x11\x00\x10\x81\xa0\xd5\x07\x18\x00\x20\x00\x28\x01\x30\x01\x3a\x10\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f\x40\x80\xa0\xd5\x07\x00"
|
|
448
|
+
|
|
449
|
+
#define BLUESYSTEMCONFIG_FIELDLIST(X, a) \
|
|
450
|
+
X(a, STATIC, REQUIRED, UINT32, version, 1) \
|
|
451
|
+
X(a, STATIC, REQUIRED, MESSAGE, base, 2) \
|
|
452
|
+
X(a, STATIC, REQUIRED, MESSAGE, ble, 3) \
|
|
453
|
+
X(a, STATIC, REQUIRED, MESSAGE, online, 4) \
|
|
454
|
+
X(a, STATIC, REQUIRED, MESSAGE, access, 5) \
|
|
455
|
+
X(a, STATIC, REQUIRED, MESSAGE, oss, 6) \
|
|
456
|
+
X(a, STATIC, OPTIONAL, MESSAGE, lock, 7)
|
|
457
|
+
#define BLUESYSTEMCONFIG_CALLBACK NULL
|
|
458
|
+
#define BLUESYSTEMCONFIG_DEFAULT NULL
|
|
459
|
+
#define BlueSystemConfig_t_base_MSGTYPE BlueBaseConfig_t
|
|
460
|
+
#define BlueSystemConfig_t_ble_MSGTYPE BlueBleConfig_t
|
|
461
|
+
#define BlueSystemConfig_t_online_MSGTYPE BlueOnlineConfig_t
|
|
462
|
+
#define BlueSystemConfig_t_access_MSGTYPE BlueAccessConfig_t
|
|
463
|
+
#define BlueSystemConfig_t_oss_MSGTYPE BlueOssConfig_t
|
|
464
|
+
#define BlueSystemConfig_t_lock_MSGTYPE BlueLockConfig_t
|
|
465
|
+
|
|
466
|
+
#define BLUESYSTEMTIMEUNIX_FIELDLIST(X, a) \
|
|
467
|
+
X(a, STATIC, REQUIRED, UINT32, epoch, 1)
|
|
468
|
+
#define BLUESYSTEMTIMEUNIX_CALLBACK NULL
|
|
469
|
+
#define BLUESYSTEMTIMEUNIX_DEFAULT NULL
|
|
470
|
+
|
|
471
|
+
#define BLUESYSTEMUPDATE_FIELDLIST(X, a) \
|
|
472
|
+
X(a, STATIC, OPTIONAL, MESSAGE, config, 1) \
|
|
473
|
+
X(a, STATIC, OPTIONAL, MESSAGE, timeUnix, 2)
|
|
474
|
+
#define BLUESYSTEMUPDATE_CALLBACK NULL
|
|
475
|
+
#define BLUESYSTEMUPDATE_DEFAULT NULL
|
|
476
|
+
#define BlueSystemUpdate_t_config_MSGTYPE BlueSystemConfig_t
|
|
477
|
+
#define BlueSystemUpdate_t_timeUnix_MSGTYPE BlueSystemTimeUnix_t
|
|
478
|
+
|
|
479
|
+
#define BLUESYSTEMSETTINGS_FIELDLIST(X, a) \
|
|
480
|
+
X(a, STATIC, REQUIRED, UINT32, blacklistMaxEntriesCount, 1) \
|
|
481
|
+
X(a, STATIC, REQUIRED, UINT32, blacklistEntriesCount, 2) \
|
|
482
|
+
X(a, STATIC, REQUIRED, UINT32, eventLogMaxEntriesCount, 3) \
|
|
483
|
+
X(a, STATIC, REQUIRED, UINT32, eventLogEntriesCount, 4) \
|
|
484
|
+
X(a, STATIC, REQUIRED, UINT32, eventLogSequenceId, 5) \
|
|
485
|
+
X(a, STATIC, REQUIRED, UINT32, eventLogIndex, 6) \
|
|
486
|
+
X(a, STATIC, REQUIRED, UINT32, systemLogMaxEntriesCount, 7) \
|
|
487
|
+
X(a, STATIC, REQUIRED, UINT32, systemLogEntriesCount, 8) \
|
|
488
|
+
X(a, STATIC, REQUIRED, UINT32, systemLogSequenceId, 9) \
|
|
489
|
+
X(a, STATIC, REQUIRED, UINT32, systemLogIndex, 10) \
|
|
490
|
+
X(a, STATIC, REQUIRED, BOOL, timeWasSet, 11) \
|
|
491
|
+
X(a, STATIC, REQUIRED, BOOL, isBatteryLow, 12)
|
|
492
|
+
#define BLUESYSTEMSETTINGS_CALLBACK NULL
|
|
493
|
+
#define BLUESYSTEMSETTINGS_DEFAULT (const pb_byte_t*)"\x08\x00\x10\x00\x18\x00\x20\x00\x28\x00\x30\x00\x38\x00\x40\x00\x48\x00\x50\x00\x00"
|
|
494
|
+
|
|
495
|
+
#define BLUESYSTEMPROVISIONING_FIELDLIST(X, a) \
|
|
496
|
+
X(a, STATIC, REQUIRED, UENUM, hardwareType, 1) \
|
|
497
|
+
X(a, STATIC, REQUIRED, STRING, deviceId, 2) \
|
|
498
|
+
X(a, STATIC, REQUIRED, STRING, serialNumber, 3) \
|
|
499
|
+
X(a, STATIC, REQUIRED, BYTES, terminalPrivateKey, 4) \
|
|
500
|
+
X(a, STATIC, REQUIRED, BYTES, signaturePublicKey, 5)
|
|
501
|
+
#define BLUESYSTEMPROVISIONING_CALLBACK NULL
|
|
502
|
+
#define BLUESYSTEMPROVISIONING_DEFAULT (const pb_byte_t*)"\x08\x01\x1a\x14\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x00"
|
|
503
|
+
|
|
504
|
+
#define BLUESYSTEMSTATUS_FIELDLIST(X, a) \
|
|
505
|
+
X(a, STATIC, REQUIRED, UINT32, configVersion, 1) \
|
|
506
|
+
X(a, STATIC, REQUIRED, STRING, deviceId, 2) \
|
|
507
|
+
X(a, STATIC, REQUIRED, STRING, serialNumber, 3) \
|
|
508
|
+
X(a, STATIC, REQUIRED, UENUM, hardwareType, 4) \
|
|
509
|
+
X(a, STATIC, REQUIRED, UENUM, batteryLevel, 5) \
|
|
510
|
+
X(a, STATIC, REQUIRED, UINT32, applicationVersion, 6) \
|
|
511
|
+
X(a, STATIC, REQUIRED, MESSAGE, localTime, 7) \
|
|
512
|
+
X(a, STATIC, REQUIRED, MESSAGE, settings, 8) \
|
|
513
|
+
X(a, STATIC, REQUIRED, UINT32, blacklistEntriesCount, 9) \
|
|
514
|
+
X(a, STATIC, REQUIRED, UINT32, eventLogEntriesCount, 10) \
|
|
515
|
+
X(a, STATIC, REQUIRED, UINT32, eventLogSequenceId, 11) \
|
|
516
|
+
X(a, STATIC, REQUIRED, UINT32, systemLogEntriesCount, 12) \
|
|
517
|
+
X(a, STATIC, REQUIRED, UINT32, systemLogSequenceId, 13) \
|
|
518
|
+
X(a, STATIC, OPTIONAL, MESSAGE, lock, 14)
|
|
519
|
+
#define BLUESYSTEMSTATUS_CALLBACK NULL
|
|
520
|
+
#define BLUESYSTEMSTATUS_DEFAULT NULL
|
|
521
|
+
#define BlueSystemStatus_t_localTime_MSGTYPE BlueLocalTimestamp_t
|
|
522
|
+
#define BlueSystemStatus_t_settings_MSGTYPE BlueSystemSettings_t
|
|
523
|
+
#define BlueSystemStatus_t_lock_MSGTYPE BlueLockStatus_t
|
|
524
|
+
|
|
525
|
+
#define BLUESYSTEMLOGQUERY_FIELDLIST(X, a) \
|
|
526
|
+
X(a, STATIC, REQUIRED, UINT32, maxCount, 1) \
|
|
527
|
+
X(a, STATIC, ONEOF, UINT32, (start,sequenceId,start.sequenceId), 2) \
|
|
528
|
+
X(a, STATIC, ONEOF, BOOL, (start,fromHead,start.fromHead), 3)
|
|
529
|
+
#define BLUESYSTEMLOGQUERY_CALLBACK NULL
|
|
530
|
+
#define BLUESYSTEMLOGQUERY_DEFAULT NULL
|
|
531
|
+
|
|
532
|
+
#define BLUESYSTEMLOGENTRY_FIELDLIST(X, a) \
|
|
533
|
+
X(a, STATIC, REQUIRED, UINT32, sequenceId, 1) \
|
|
534
|
+
X(a, STATIC, REQUIRED, MESSAGE, time, 2) \
|
|
535
|
+
X(a, STATIC, REQUIRED, UINT32, severity, 3) \
|
|
536
|
+
X(a, STATIC, REQUIRED, UINT32, line, 4) \
|
|
537
|
+
X(a, STATIC, REQUIRED, STRING, file, 5) \
|
|
538
|
+
X(a, STATIC, REQUIRED, STRING, message, 6)
|
|
539
|
+
#define BLUESYSTEMLOGENTRY_CALLBACK NULL
|
|
540
|
+
#define BLUESYSTEMLOGENTRY_DEFAULT NULL
|
|
541
|
+
#define BlueSystemLogEntry_t_time_MSGTYPE BlueLocalTimestamp_t
|
|
542
|
+
|
|
543
|
+
#define BLUESYSTEMLOGRESULT_FIELDLIST(X, a) \
|
|
544
|
+
X(a, STATIC, REPEATED, MESSAGE, entries, 1)
|
|
545
|
+
#define BLUESYSTEMLOGRESULT_CALLBACK NULL
|
|
546
|
+
#define BLUESYSTEMLOGRESULT_DEFAULT NULL
|
|
547
|
+
#define BlueSystemLogResult_t_entries_MSGTYPE BlueSystemLogEntry_t
|
|
548
|
+
|
|
549
|
+
#define BLUEEVENTLOGQUERY_FIELDLIST(X, a) \
|
|
550
|
+
X(a, STATIC, REQUIRED, UINT32, maxCount, 1) \
|
|
551
|
+
X(a, STATIC, ONEOF, UINT32, (start,sequenceId,start.sequenceId), 2) \
|
|
552
|
+
X(a, STATIC, ONEOF, BOOL, (start,fromHead,start.fromHead), 3)
|
|
553
|
+
#define BLUEEVENTLOGQUERY_CALLBACK NULL
|
|
554
|
+
#define BLUEEVENTLOGQUERY_DEFAULT NULL
|
|
555
|
+
|
|
556
|
+
#define BLUEEVENTLOGRESULT_FIELDLIST(X, a) \
|
|
557
|
+
X(a, STATIC, REPEATED, MESSAGE, events, 1)
|
|
558
|
+
#define BLUEEVENTLOGRESULT_CALLBACK NULL
|
|
559
|
+
#define BLUEEVENTLOGRESULT_DEFAULT NULL
|
|
560
|
+
#define BlueEventLogResult_t_events_MSGTYPE BlueEvent_t
|
|
561
|
+
|
|
562
|
+
#define BLUEBLACKLISTENTRIES_FIELDLIST(X, a) \
|
|
563
|
+
X(a, STATIC, REPEATED, MESSAGE, entries, 1)
|
|
564
|
+
#define BLUEBLACKLISTENTRIES_CALLBACK NULL
|
|
565
|
+
#define BLUEBLACKLISTENTRIES_DEFAULT NULL
|
|
566
|
+
#define BlueBlacklistEntries_t_entries_MSGTYPE BlueBlacklistEntry_t
|
|
567
|
+
|
|
568
|
+
extern const pb_msgdesc_t BlueTimeOffsetPeriod_t_msg;
|
|
569
|
+
extern const pb_msgdesc_t BlueBaseConfig_t_msg;
|
|
570
|
+
extern const pb_msgdesc_t BlueBleConfig_t_msg;
|
|
571
|
+
extern const pb_msgdesc_t BlueOnlineConfig_t_msg;
|
|
572
|
+
extern const pb_msgdesc_t BlueAccessConfig_t_msg;
|
|
573
|
+
extern const pb_msgdesc_t BlueOssConfig_t_msg;
|
|
574
|
+
extern const pb_msgdesc_t BlueSystemConfig_t_msg;
|
|
575
|
+
extern const pb_msgdesc_t BlueSystemTimeUnix_t_msg;
|
|
576
|
+
extern const pb_msgdesc_t BlueSystemUpdate_t_msg;
|
|
577
|
+
extern const pb_msgdesc_t BlueSystemSettings_t_msg;
|
|
578
|
+
extern const pb_msgdesc_t BlueSystemProvisioning_t_msg;
|
|
579
|
+
extern const pb_msgdesc_t BlueSystemStatus_t_msg;
|
|
580
|
+
extern const pb_msgdesc_t BlueSystemLogQuery_t_msg;
|
|
581
|
+
extern const pb_msgdesc_t BlueSystemLogEntry_t_msg;
|
|
582
|
+
extern const pb_msgdesc_t BlueSystemLogResult_t_msg;
|
|
583
|
+
extern const pb_msgdesc_t BlueEventLogQuery_t_msg;
|
|
584
|
+
extern const pb_msgdesc_t BlueEventLogResult_t_msg;
|
|
585
|
+
extern const pb_msgdesc_t BlueBlacklistEntries_t_msg;
|
|
586
|
+
|
|
587
|
+
/* Defines for backwards compatibility with code written before nanopb-0.4.0 */
|
|
588
|
+
#define BLUETIMEOFFSETPERIOD_FIELDS &BlueTimeOffsetPeriod_t_msg
|
|
589
|
+
#define BLUEBASECONFIG_FIELDS &BlueBaseConfig_t_msg
|
|
590
|
+
#define BLUEBLECONFIG_FIELDS &BlueBleConfig_t_msg
|
|
591
|
+
#define BLUEONLINECONFIG_FIELDS &BlueOnlineConfig_t_msg
|
|
592
|
+
#define BLUEACCESSCONFIG_FIELDS &BlueAccessConfig_t_msg
|
|
593
|
+
#define BLUEOSSCONFIG_FIELDS &BlueOssConfig_t_msg
|
|
594
|
+
#define BLUESYSTEMCONFIG_FIELDS &BlueSystemConfig_t_msg
|
|
595
|
+
#define BLUESYSTEMTIMEUNIX_FIELDS &BlueSystemTimeUnix_t_msg
|
|
596
|
+
#define BLUESYSTEMUPDATE_FIELDS &BlueSystemUpdate_t_msg
|
|
597
|
+
#define BLUESYSTEMSETTINGS_FIELDS &BlueSystemSettings_t_msg
|
|
598
|
+
#define BLUESYSTEMPROVISIONING_FIELDS &BlueSystemProvisioning_t_msg
|
|
599
|
+
#define BLUESYSTEMSTATUS_FIELDS &BlueSystemStatus_t_msg
|
|
600
|
+
#define BLUESYSTEMLOGQUERY_FIELDS &BlueSystemLogQuery_t_msg
|
|
601
|
+
#define BLUESYSTEMLOGENTRY_FIELDS &BlueSystemLogEntry_t_msg
|
|
602
|
+
#define BLUESYSTEMLOGRESULT_FIELDS &BlueSystemLogResult_t_msg
|
|
603
|
+
#define BLUEEVENTLOGQUERY_FIELDS &BlueEventLogQuery_t_msg
|
|
604
|
+
#define BLUEEVENTLOGRESULT_FIELDS &BlueEventLogResult_t_msg
|
|
605
|
+
#define BLUEBLACKLISTENTRIES_FIELDS &BlueBlacklistEntries_t_msg
|
|
606
|
+
|
|
607
|
+
/* Maximum encoded size of messages (where known) */
|
|
608
|
+
#define BLUEACCESSCONFIG_SIZE 108
|
|
609
|
+
#define BLUEBASECONFIG_SIZE 230
|
|
610
|
+
#define BLUEBLACKLISTENTRIES_SIZE 4050
|
|
611
|
+
#define BLUEBLECONFIG_SIZE 449
|
|
612
|
+
#define BLUEEVENTLOGQUERY_SIZE 12
|
|
613
|
+
#define BLUEEVENTLOGRESULT_SIZE 4050
|
|
614
|
+
#define BLUEONLINECONFIG_SIZE 272
|
|
615
|
+
#define BLUEOSSCONFIG_SIZE 56
|
|
616
|
+
#define BLUESYSTEMCONFIG_SIZE 1475
|
|
617
|
+
#define BLUESYSTEMLOGENTRY_SIZE 174
|
|
618
|
+
#define BLUESYSTEMLOGQUERY_SIZE 12
|
|
619
|
+
#define BLUESYSTEMLOGRESULT_SIZE 1770
|
|
620
|
+
#define BLUESYSTEMPROVISIONING_SIZE 299
|
|
621
|
+
#define BLUESYSTEMSETTINGS_SIZE 64
|
|
622
|
+
#define BLUESYSTEMSTATUS_SIZE 193
|
|
623
|
+
#define BLUESYSTEMTIMEUNIX_SIZE 6
|
|
624
|
+
#define BLUESYSTEMUPDATE_SIZE 1486
|
|
625
|
+
#define BLUETIMEOFFSETPERIOD_SIZE 17
|
|
626
|
+
|
|
627
|
+
#ifdef __cplusplus
|
|
628
|
+
} /* extern "C" */
|
|
629
|
+
#endif
|
|
630
|
+
|
|
631
|
+
#endif
|
package/package.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@blueid/access-proto",
|
|
3
|
+
"version": "0.13.0",
|
|
4
|
+
"description": "BlueID Access Proto files",
|
|
5
|
+
"author": "BlueID GmbH",
|
|
6
|
+
"scripts": {},
|
|
7
|
+
"files": [
|
|
8
|
+
"es",
|
|
9
|
+
"nanopb",
|
|
10
|
+
"swift",
|
|
11
|
+
"*.proto",
|
|
12
|
+
"package.json"
|
|
13
|
+
],
|
|
14
|
+
"dependencies": {
|
|
15
|
+
"@bufbuild/protobuf": "^1.4.0",
|
|
16
|
+
"@bufbuild/protoc-gen-es": "^1.4.0"
|
|
17
|
+
}
|
|
18
|
+
}
|