@blueid/access-proto 2.30.0 → 2.32.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/BlueSDK.proto +10 -9
- package/BlueSystem.proto +3 -0
- package/cjs/BlueSDK_pb.d.ts +5 -0
- package/cjs/BlueSDK_pb.js +8 -1
- package/cjs/BlueSystem_pb.d.ts +7 -0
- package/cjs/BlueSystem_pb.js +2 -1
- package/es/BlueSDK_pb.d.ts +5 -0
- package/es/BlueSDK_pb.js +1 -0
- package/es/BlueSystem_pb.d.ts +7 -0
- package/es/BlueSystem_pb.js +1 -0
- package/nanopb/BlueSDK.pb.c +1 -1
- package/nanopb/BlueSDK.pb.h +6 -3
- package/nanopb/BlueSystem.pb.h +9 -4
- package/package.json +1 -1
- package/swift/BlueSDK.pb.swift +18 -0
- package/swift/BlueSystem.pb.swift +17 -0
package/BlueSDK.proto
CHANGED
|
@@ -34,7 +34,7 @@ message BlueI18n {
|
|
|
34
34
|
required string nfcTransponderSuccessReadMessage = 102
|
|
35
35
|
[ default = "Transponder was successfully read" ];
|
|
36
36
|
|
|
37
|
-
|
|
37
|
+
|
|
38
38
|
required string openViaOssTitle = 10
|
|
39
39
|
[ default = "Unlocking in Progress"];
|
|
40
40
|
required string openViaOssWaitMessage = 11
|
|
@@ -193,8 +193,9 @@ message BlueIdentity {
|
|
|
193
193
|
required int32 siteId = 10;
|
|
194
194
|
optional string siteName = 11;
|
|
195
195
|
optional bytes privateKey = 12;
|
|
196
|
+
required string status = 13;
|
|
196
197
|
}
|
|
197
|
-
|
|
198
|
+
|
|
198
199
|
message BlueIdentitiesList {
|
|
199
200
|
repeated BlueIdentity identities = 1;
|
|
200
201
|
}
|
|
@@ -267,7 +268,7 @@ message BlueSynchronizeIdentities {
|
|
|
267
268
|
repeated BlueSynchronizeIdentity identities = 1;
|
|
268
269
|
}
|
|
269
270
|
|
|
270
|
-
message BlueLegacyProvisioningRequest {
|
|
271
|
+
message BlueLegacyProvisioningRequest {
|
|
271
272
|
required string deviceId = 1;
|
|
272
273
|
required string soid = 2;
|
|
273
274
|
required string vendor = 3;
|
|
@@ -276,7 +277,7 @@ message BlueLegacyProvisioningRequest {
|
|
|
276
277
|
optional string hardwareSerialNumber = 6;
|
|
277
278
|
}
|
|
278
279
|
|
|
279
|
-
message BlueLegacyProvisioningResponse {
|
|
280
|
+
message BlueLegacyProvisioningResponse {
|
|
280
281
|
required string deviceId = 1;
|
|
281
282
|
required string objectId = 2;
|
|
282
283
|
required string objectName = 3;
|
|
@@ -303,7 +304,7 @@ message BlueAccessCredential {
|
|
|
303
304
|
required string organisation = 12;
|
|
304
305
|
optional string organisationName = 13;
|
|
305
306
|
}
|
|
306
|
-
|
|
307
|
+
|
|
307
308
|
message BlueAccessCredentialList {
|
|
308
309
|
repeated BlueAccessCredential credentials = 1;
|
|
309
310
|
}
|
|
@@ -314,23 +315,23 @@ message BlueAccessCredential {
|
|
|
314
315
|
NotNeeded = 0x03;
|
|
315
316
|
Unsupported = 0x04;
|
|
316
317
|
}
|
|
317
|
-
|
|
318
|
+
|
|
318
319
|
message BlueRefreshOssSoCredential {
|
|
319
320
|
required BlueCredentialId credentialId = 1;
|
|
320
321
|
required BlueRefreshOssSoCredentialStatus status = 2;
|
|
321
322
|
optional BlueOssSoConfiguration configuration = 3;
|
|
322
323
|
}
|
|
323
|
-
|
|
324
|
+
|
|
324
325
|
message BlueRefreshOssSoCredentials {
|
|
325
326
|
repeated BlueRefreshOssSoCredential credentials = 1;
|
|
326
327
|
}
|
|
327
|
-
|
|
328
|
+
|
|
328
329
|
message BlueSynchronizeAccessCredential {
|
|
329
330
|
required BlueCredentialId credentialId = 1;
|
|
330
331
|
required BlueReturnCode returnCode = 2;
|
|
331
332
|
optional string errorDescription = 3;
|
|
332
333
|
}
|
|
333
|
-
|
|
334
|
+
|
|
334
335
|
message BlueSynchronizeAccessCredentials {
|
|
335
336
|
repeated BlueSynchronizeAccessCredential credentials = 1;
|
|
336
337
|
}
|
package/BlueSystem.proto
CHANGED
|
@@ -143,6 +143,9 @@ message BlueSystemAVRInfo {
|
|
|
143
143
|
required uint32 vermaj = 1 [ (nanopb).int_size = IS_8 ];
|
|
144
144
|
required uint32 vermin = 2 [ (nanopb).int_size = IS_8 ];
|
|
145
145
|
required uint32 buildnr = 3 [ (nanopb).int_size = IS_8 ];
|
|
146
|
+
|
|
147
|
+
// For an ongoing upgrade, this field shows the total bytes written up to this point.
|
|
148
|
+
optional uint32 bytesWritten = 4;
|
|
146
149
|
}
|
|
147
150
|
|
|
148
151
|
message BlueSystemConfig {
|
package/cjs/BlueSDK_pb.d.ts
CHANGED
|
@@ -558,6 +558,11 @@ export declare class BlueIdentity extends Message<BlueIdentity> {
|
|
|
558
558
|
*/
|
|
559
559
|
privateKey?: Uint8Array;
|
|
560
560
|
|
|
561
|
+
/**
|
|
562
|
+
* @generated from field: required string status = 13;
|
|
563
|
+
*/
|
|
564
|
+
status: string;
|
|
565
|
+
|
|
561
566
|
constructor(data?: PartialMessage<BlueIdentity>);
|
|
562
567
|
|
|
563
568
|
static readonly runtime: typeof proto2;
|
package/cjs/BlueSDK_pb.js
CHANGED
|
@@ -224,7 +224,14 @@ const BlueIdentity = import_protobuf.proto2.makeMessageType(
|
|
|
224
224
|
/* ScalarType.INT32 */
|
|
225
225
|
},
|
|
226
226
|
{ no: 11, name: "siteName", kind: "scalar", T: 9, opt: true },
|
|
227
|
-
{ no: 12, name: "privateKey", kind: "scalar", T: 12, opt: true }
|
|
227
|
+
{ no: 12, name: "privateKey", kind: "scalar", T: 12, opt: true },
|
|
228
|
+
{
|
|
229
|
+
no: 13,
|
|
230
|
+
name: "status",
|
|
231
|
+
kind: "scalar",
|
|
232
|
+
T: 9
|
|
233
|
+
/* ScalarType.STRING */
|
|
234
|
+
}
|
|
228
235
|
]
|
|
229
236
|
);
|
|
230
237
|
const BlueIdentitiesList = import_protobuf.proto2.makeMessageType(
|
package/cjs/BlueSystem_pb.d.ts
CHANGED
|
@@ -352,6 +352,13 @@ export declare class BlueSystemAVRInfo extends Message<BlueSystemAVRInfo> {
|
|
|
352
352
|
*/
|
|
353
353
|
buildnr: number;
|
|
354
354
|
|
|
355
|
+
/**
|
|
356
|
+
* For an ongoing upgrade, this field shows the total bytes written up to this point.
|
|
357
|
+
*
|
|
358
|
+
* @generated from field: optional uint32 bytesWritten = 4;
|
|
359
|
+
*/
|
|
360
|
+
bytesWritten?: number;
|
|
361
|
+
|
|
355
362
|
constructor(data?: PartialMessage<BlueSystemAVRInfo>);
|
|
356
363
|
|
|
357
364
|
static readonly runtime: typeof proto2;
|
package/cjs/BlueSystem_pb.js
CHANGED
|
@@ -159,7 +159,8 @@ const BlueSystemAVRInfo = import_protobuf.proto2.makeMessageType(
|
|
|
159
159
|
kind: "scalar",
|
|
160
160
|
T: 13
|
|
161
161
|
/* ScalarType.UINT32 */
|
|
162
|
-
}
|
|
162
|
+
},
|
|
163
|
+
{ no: 4, name: "bytesWritten", kind: "scalar", T: 13, opt: true }
|
|
163
164
|
]
|
|
164
165
|
);
|
|
165
166
|
const BlueSystemConfig = import_protobuf.proto2.makeMessageType(
|
package/es/BlueSDK_pb.d.ts
CHANGED
|
@@ -558,6 +558,11 @@ export declare class BlueIdentity extends Message<BlueIdentity> {
|
|
|
558
558
|
*/
|
|
559
559
|
privateKey?: Uint8Array;
|
|
560
560
|
|
|
561
|
+
/**
|
|
562
|
+
* @generated from field: required string status = 13;
|
|
563
|
+
*/
|
|
564
|
+
status: string;
|
|
565
|
+
|
|
561
566
|
constructor(data?: PartialMessage<BlueIdentity>);
|
|
562
567
|
|
|
563
568
|
static readonly runtime: typeof proto2;
|
package/es/BlueSDK_pb.js
CHANGED
|
@@ -157,6 +157,7 @@ export const BlueIdentity = proto2.makeMessageType(
|
|
|
157
157
|
{ no: 10, name: "siteId", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
158
158
|
{ no: 11, name: "siteName", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
159
159
|
{ no: 12, name: "privateKey", kind: "scalar", T: 12 /* ScalarType.BYTES */, opt: true },
|
|
160
|
+
{ no: 13, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
160
161
|
],
|
|
161
162
|
);
|
|
162
163
|
|
package/es/BlueSystem_pb.d.ts
CHANGED
|
@@ -352,6 +352,13 @@ export declare class BlueSystemAVRInfo extends Message<BlueSystemAVRInfo> {
|
|
|
352
352
|
*/
|
|
353
353
|
buildnr: number;
|
|
354
354
|
|
|
355
|
+
/**
|
|
356
|
+
* For an ongoing upgrade, this field shows the total bytes written up to this point.
|
|
357
|
+
*
|
|
358
|
+
* @generated from field: optional uint32 bytesWritten = 4;
|
|
359
|
+
*/
|
|
360
|
+
bytesWritten?: number;
|
|
361
|
+
|
|
355
362
|
constructor(data?: PartialMessage<BlueSystemAVRInfo>);
|
|
356
363
|
|
|
357
364
|
static readonly runtime: typeof proto2;
|
package/es/BlueSystem_pb.js
CHANGED
|
@@ -103,6 +103,7 @@ export const BlueSystemAVRInfo = proto2.makeMessageType(
|
|
|
103
103
|
{ no: 1, name: "vermaj", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
104
104
|
{ no: 2, name: "vermin", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
105
105
|
{ no: 3, name: "buildnr", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
106
|
+
{ no: 4, name: "bytesWritten", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
106
107
|
],
|
|
107
108
|
);
|
|
108
109
|
|
package/nanopb/BlueSDK.pb.c
CHANGED
|
@@ -18,7 +18,7 @@ PB_BIND(BLUEDEVICEDETAILSUWB, BlueDeviceDetailsUWB_t, AUTO)
|
|
|
18
18
|
PB_BIND(BLUEDEVICEINFO, BlueDeviceInfo_t, AUTO)
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
PB_BIND(BLUEIDENTITY, BlueIdentity_t,
|
|
21
|
+
PB_BIND(BLUEIDENTITY, BlueIdentity_t, 2)
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
PB_BIND(BLUEIDENTITIESLIST, BlueIdentitiesList_t, AUTO)
|
package/nanopb/BlueSDK.pb.h
CHANGED
|
@@ -130,6 +130,7 @@ typedef struct BlueIdentity {
|
|
|
130
130
|
int32_t siteId;
|
|
131
131
|
pb_callback_t siteName;
|
|
132
132
|
pb_callback_t privateKey;
|
|
133
|
+
pb_callback_t status;
|
|
133
134
|
} BlueIdentity_t;
|
|
134
135
|
|
|
135
136
|
typedef struct BlueIdentitiesList {
|
|
@@ -316,7 +317,7 @@ extern "C" {
|
|
|
316
317
|
#define BLUEDEVICEDETAILSBLUETOOTH_INIT_DEFAULT {0, 0, 0}
|
|
317
318
|
#define BLUEDEVICEDETAILSUWB_INIT_DEFAULT {0}
|
|
318
319
|
#define BLUEDEVICEINFO_INIT_DEFAULT {_BLUEDEVICETYPE_MIN, {{NULL}, NULL}, 0, false, BLUEBLEMANUFACTURERINFO_INIT_DEFAULT, 0, {BLUEDEVICEDETAILSBLUETOOTH_INIT_DEFAULT}}
|
|
319
|
-
#define BLUEIDENTITY_INIT_DEFAULT {{{NULL}, NULL}, _BLUECREDENTIALTYPE_MIN, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, false, BLUELOCALTIMESTAMP_INIT_DEFAULT, false, BLUELOCALTIMESTAMP_INIT_DEFAULT, {{NULL}, NULL}, {{NULL}, NULL}, 0, {{NULL}, NULL}, {{NULL}, NULL}}
|
|
320
|
+
#define BLUEIDENTITY_INIT_DEFAULT {{{NULL}, NULL}, _BLUECREDENTIALTYPE_MIN, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, false, BLUELOCALTIMESTAMP_INIT_DEFAULT, false, BLUELOCALTIMESTAMP_INIT_DEFAULT, {{NULL}, NULL}, {{NULL}, NULL}, 0, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
|
|
320
321
|
#define BLUEIDENTITIESLIST_INIT_DEFAULT {{{NULL}, NULL}}
|
|
321
322
|
#define BLUEACCESSDEVICE_INIT_DEFAULT {{{NULL}, NULL}, {{NULL}, NULL}, false, 0}
|
|
322
323
|
#define BLUEACCESSDEVICELIST_INIT_DEFAULT {{{NULL}, NULL}}
|
|
@@ -340,7 +341,7 @@ extern "C" {
|
|
|
340
341
|
#define BLUEDEVICEDETAILSBLUETOOTH_INIT_ZERO {0, 0, 0}
|
|
341
342
|
#define BLUEDEVICEDETAILSUWB_INIT_ZERO {0}
|
|
342
343
|
#define BLUEDEVICEINFO_INIT_ZERO {_BLUEDEVICETYPE_MIN, {{NULL}, NULL}, 0, false, BLUEBLEMANUFACTURERINFO_INIT_ZERO, 0, {BLUEDEVICEDETAILSBLUETOOTH_INIT_ZERO}}
|
|
343
|
-
#define BLUEIDENTITY_INIT_ZERO {{{NULL}, NULL}, _BLUECREDENTIALTYPE_MIN, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, false, BLUELOCALTIMESTAMP_INIT_ZERO, false, BLUELOCALTIMESTAMP_INIT_ZERO, {{NULL}, NULL}, {{NULL}, NULL}, 0, {{NULL}, NULL}, {{NULL}, NULL}}
|
|
344
|
+
#define BLUEIDENTITY_INIT_ZERO {{{NULL}, NULL}, _BLUECREDENTIALTYPE_MIN, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, false, BLUELOCALTIMESTAMP_INIT_ZERO, false, BLUELOCALTIMESTAMP_INIT_ZERO, {{NULL}, NULL}, {{NULL}, NULL}, 0, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
|
|
344
345
|
#define BLUEIDENTITIESLIST_INIT_ZERO {{{NULL}, NULL}}
|
|
345
346
|
#define BLUEACCESSDEVICE_INIT_ZERO {{{NULL}, NULL}, {{NULL}, NULL}, false, 0}
|
|
346
347
|
#define BLUEACCESSDEVICELIST_INIT_ZERO {{{NULL}, NULL}}
|
|
@@ -446,6 +447,7 @@ extern "C" {
|
|
|
446
447
|
#define BLUEIDENTITY_SITEID_TAG 10
|
|
447
448
|
#define BLUEIDENTITY_SITENAME_TAG 11
|
|
448
449
|
#define BLUEIDENTITY_PRIVATEKEY_TAG 12
|
|
450
|
+
#define BLUEIDENTITY_STATUS_TAG 13
|
|
449
451
|
#define BLUEIDENTITIESLIST_IDENTITIES_TAG 1
|
|
450
452
|
#define BLUEACCESSDEVICE_DEVICEID_TAG 1
|
|
451
453
|
#define BLUEACCESSDEVICE_OBJECTNAME_TAG 2
|
|
@@ -612,7 +614,8 @@ X(a, CALLBACK, REQUIRED, STRING, organization, 8) \
|
|
|
612
614
|
X(a, CALLBACK, OPTIONAL, STRING, organizationName, 9) \
|
|
613
615
|
X(a, STATIC, REQUIRED, INT32, siteId, 10) \
|
|
614
616
|
X(a, CALLBACK, OPTIONAL, STRING, siteName, 11) \
|
|
615
|
-
X(a, CALLBACK, OPTIONAL, BYTES, privateKey, 12)
|
|
617
|
+
X(a, CALLBACK, OPTIONAL, BYTES, privateKey, 12) \
|
|
618
|
+
X(a, CALLBACK, REQUIRED, STRING, status, 13)
|
|
616
619
|
#define BLUEIDENTITY_CALLBACK pb_default_field_callback
|
|
617
620
|
#define BLUEIDENTITY_DEFAULT (const pb_byte_t*)"\x10\x01\x00"
|
|
618
621
|
#define BlueIdentity_t_validFrom_MSGTYPE BlueLocalTimestamp_t
|
package/nanopb/BlueSystem.pb.h
CHANGED
|
@@ -106,6 +106,9 @@ typedef struct BlueSystemAVRInfo {
|
|
|
106
106
|
uint8_t vermaj;
|
|
107
107
|
uint8_t vermin;
|
|
108
108
|
uint8_t buildnr;
|
|
109
|
+
/* For an ongoing upgrade, this field shows the total bytes written up to this point. */
|
|
110
|
+
bool has_bytesWritten;
|
|
111
|
+
uint32_t bytesWritten;
|
|
109
112
|
} BlueSystemAVRInfo_t;
|
|
110
113
|
|
|
111
114
|
typedef struct BlueSystemConfig {
|
|
@@ -234,7 +237,7 @@ extern "C" {
|
|
|
234
237
|
#define BLUEACCESSCONFIGGROUP_INIT_DEFAULT {0, 0, {BLUELOCALTIMESCHEDULE_INIT_DEFAULT, BLUELOCALTIMESCHEDULE_INIT_DEFAULT}}
|
|
235
238
|
#define BLUEACCESSCONFIG_INIT_DEFAULT {1u, 1u, 0, {BLUEACCESSCONFIGGROUP_INIT_DEFAULT, BLUEACCESSCONFIGGROUP_INIT_DEFAULT, BLUEACCESSCONFIGGROUP_INIT_DEFAULT, BLUEACCESSCONFIGGROUP_INIT_DEFAULT, BLUEACCESSCONFIGGROUP_INIT_DEFAULT, BLUEACCESSCONFIGGROUP_INIT_DEFAULT, BLUEACCESSCONFIGGROUP_INIT_DEFAULT, BLUEACCESSCONFIGGROUP_INIT_DEFAULT, BLUEACCESSCONFIGGROUP_INIT_DEFAULT, BLUEACCESSCONFIGGROUP_INIT_DEFAULT}}
|
|
236
239
|
#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}
|
|
237
|
-
#define BLUESYSTEMAVRINFO_INIT_DEFAULT {0, 0, 0}
|
|
240
|
+
#define BLUESYSTEMAVRINFO_INIT_DEFAULT {0, 0, 0, false, 0}
|
|
238
241
|
#define BLUESYSTEMCONFIG_INIT_DEFAULT {"", BLUEBASECONFIG_INIT_DEFAULT, BLUEBLECONFIG_INIT_DEFAULT, BLUEONLINECONFIG_INIT_DEFAULT, BLUEACCESSCONFIG_INIT_DEFAULT, BLUEOSSCONFIG_INIT_DEFAULT, false, BLUELOCKCONFIG_INIT_DEFAULT}
|
|
239
242
|
#define BLUESYSTEMTIMEUNIX_INIT_DEFAULT {0}
|
|
240
243
|
#define BLUESYSTEMUPDATE_INIT_DEFAULT {false, BLUESYSTEMCONFIG_INIT_DEFAULT, false, BLUESYSTEMTIMEUNIX_INIT_DEFAULT}
|
|
@@ -253,7 +256,7 @@ extern "C" {
|
|
|
253
256
|
#define BLUEACCESSCONFIGGROUP_INIT_ZERO {0, 0, {BLUELOCALTIMESCHEDULE_INIT_ZERO, BLUELOCALTIMESCHEDULE_INIT_ZERO}}
|
|
254
257
|
#define BLUEACCESSCONFIG_INIT_ZERO {0, 0, 0, {BLUEACCESSCONFIGGROUP_INIT_ZERO, BLUEACCESSCONFIGGROUP_INIT_ZERO, BLUEACCESSCONFIGGROUP_INIT_ZERO, BLUEACCESSCONFIGGROUP_INIT_ZERO, BLUEACCESSCONFIGGROUP_INIT_ZERO, BLUEACCESSCONFIGGROUP_INIT_ZERO, BLUEACCESSCONFIGGROUP_INIT_ZERO, BLUEACCESSCONFIGGROUP_INIT_ZERO, BLUEACCESSCONFIGGROUP_INIT_ZERO, BLUEACCESSCONFIGGROUP_INIT_ZERO}}
|
|
255
258
|
#define BLUEOSSCONFIG_INIT_ZERO {{0}, 0, 0, 0, 0, 0, {0}, 0}
|
|
256
|
-
#define BLUESYSTEMAVRINFO_INIT_ZERO {0, 0, 0}
|
|
259
|
+
#define BLUESYSTEMAVRINFO_INIT_ZERO {0, 0, 0, false, 0}
|
|
257
260
|
#define BLUESYSTEMCONFIG_INIT_ZERO {"", BLUEBASECONFIG_INIT_ZERO, BLUEBLECONFIG_INIT_ZERO, BLUEONLINECONFIG_INIT_ZERO, BLUEACCESSCONFIG_INIT_ZERO, BLUEOSSCONFIG_INIT_ZERO, false, BLUELOCKCONFIG_INIT_ZERO}
|
|
258
261
|
#define BLUESYSTEMTIMEUNIX_INIT_ZERO {0}
|
|
259
262
|
#define BLUESYSTEMUPDATE_INIT_ZERO {false, BLUESYSTEMCONFIG_INIT_ZERO, false, BLUESYSTEMTIMEUNIX_INIT_ZERO}
|
|
@@ -300,6 +303,7 @@ extern "C" {
|
|
|
300
303
|
#define BLUESYSTEMAVRINFO_VERMAJ_TAG 1
|
|
301
304
|
#define BLUESYSTEMAVRINFO_VERMIN_TAG 2
|
|
302
305
|
#define BLUESYSTEMAVRINFO_BUILDNR_TAG 3
|
|
306
|
+
#define BLUESYSTEMAVRINFO_BYTESWRITTEN_TAG 4
|
|
303
307
|
#define BLUESYSTEMCONFIG_CONFIGID_TAG 1
|
|
304
308
|
#define BLUESYSTEMCONFIG_BASE_TAG 2
|
|
305
309
|
#define BLUESYSTEMCONFIG_BLE_TAG 3
|
|
@@ -414,7 +418,8 @@ X(a, STATIC, REQUIRED, UINT32, soMifareAid, 8)
|
|
|
414
418
|
#define BLUESYSTEMAVRINFO_FIELDLIST(X, a) \
|
|
415
419
|
X(a, STATIC, REQUIRED, UINT32, vermaj, 1) \
|
|
416
420
|
X(a, STATIC, REQUIRED, UINT32, vermin, 2) \
|
|
417
|
-
X(a, STATIC, REQUIRED, UINT32, buildnr, 3)
|
|
421
|
+
X(a, STATIC, REQUIRED, UINT32, buildnr, 3) \
|
|
422
|
+
X(a, STATIC, OPTIONAL, UINT32, bytesWritten, 4)
|
|
418
423
|
#define BLUESYSTEMAVRINFO_CALLBACK NULL
|
|
419
424
|
#define BLUESYSTEMAVRINFO_DEFAULT NULL
|
|
420
425
|
|
|
@@ -584,7 +589,7 @@ extern const pb_msgdesc_t BlueBlacklistEntries_t_msg;
|
|
|
584
589
|
#define BLUEEVENTLOGRESULT_SIZE 1650
|
|
585
590
|
#define BLUEONLINECONFIG_SIZE 224
|
|
586
591
|
#define BLUEOSSCONFIG_SIZE 56
|
|
587
|
-
#define BLUESYSTEMAVRINFO_SIZE
|
|
592
|
+
#define BLUESYSTEMAVRINFO_SIZE 15
|
|
588
593
|
#define BLUESYSTEMCONFIG_SIZE 1657
|
|
589
594
|
#define BLUESYSTEMLOGENTRY_SIZE 152
|
|
590
595
|
#define BLUESYSTEMLOGQUERY_SIZE 9
|
package/package.json
CHANGED
package/swift/BlueSDK.pb.swift
CHANGED
|
@@ -917,6 +917,15 @@ public struct BlueIdentity: @unchecked Sendable {
|
|
|
917
917
|
/// Clears the value of `privateKey`. Subsequent reads from it will return its default value.
|
|
918
918
|
public mutating func clearPrivateKey() {_uniqueStorage()._privateKey = nil}
|
|
919
919
|
|
|
920
|
+
public var status: String {
|
|
921
|
+
get {return _storage._status ?? String()}
|
|
922
|
+
set {_uniqueStorage()._status = newValue}
|
|
923
|
+
}
|
|
924
|
+
/// Returns true if `status` has been explicitly set.
|
|
925
|
+
public var hasStatus: Bool {return _storage._status != nil}
|
|
926
|
+
/// Clears the value of `status`. Subsequent reads from it will return its default value.
|
|
927
|
+
public mutating func clearStatus() {_uniqueStorage()._status = nil}
|
|
928
|
+
|
|
920
929
|
public var unknownFields = SwiftProtobuf.UnknownStorage()
|
|
921
930
|
|
|
922
931
|
public init() {}
|
|
@@ -2518,6 +2527,7 @@ extension BlueIdentity: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementat
|
|
|
2518
2527
|
10: .same(proto: "siteId"),
|
|
2519
2528
|
11: .same(proto: "siteName"),
|
|
2520
2529
|
12: .same(proto: "privateKey"),
|
|
2530
|
+
13: .same(proto: "status"),
|
|
2521
2531
|
]
|
|
2522
2532
|
|
|
2523
2533
|
fileprivate class _StorageClass {
|
|
@@ -2533,6 +2543,7 @@ extension BlueIdentity: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementat
|
|
|
2533
2543
|
var _siteID: Int32? = nil
|
|
2534
2544
|
var _siteName: String? = nil
|
|
2535
2545
|
var _privateKey: Data? = nil
|
|
2546
|
+
var _status: String? = nil
|
|
2536
2547
|
|
|
2537
2548
|
#if swift(>=5.10)
|
|
2538
2549
|
// This property is used as the initial default value for new instances of the type.
|
|
@@ -2559,6 +2570,7 @@ extension BlueIdentity: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementat
|
|
|
2559
2570
|
_siteID = source._siteID
|
|
2560
2571
|
_siteName = source._siteName
|
|
2561
2572
|
_privateKey = source._privateKey
|
|
2573
|
+
_status = source._status
|
|
2562
2574
|
}
|
|
2563
2575
|
}
|
|
2564
2576
|
|
|
@@ -2575,6 +2587,7 @@ extension BlueIdentity: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementat
|
|
|
2575
2587
|
if _storage._role == nil {return false}
|
|
2576
2588
|
if _storage._organization == nil {return false}
|
|
2577
2589
|
if _storage._siteID == nil {return false}
|
|
2590
|
+
if _storage._status == nil {return false}
|
|
2578
2591
|
if let v = _storage._validFrom, !v.isInitialized {return false}
|
|
2579
2592
|
if let v = _storage._validTo, !v.isInitialized {return false}
|
|
2580
2593
|
return true
|
|
@@ -2601,6 +2614,7 @@ extension BlueIdentity: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementat
|
|
|
2601
2614
|
case 10: try { try decoder.decodeSingularInt32Field(value: &_storage._siteID) }()
|
|
2602
2615
|
case 11: try { try decoder.decodeSingularStringField(value: &_storage._siteName) }()
|
|
2603
2616
|
case 12: try { try decoder.decodeSingularBytesField(value: &_storage._privateKey) }()
|
|
2617
|
+
case 13: try { try decoder.decodeSingularStringField(value: &_storage._status) }()
|
|
2604
2618
|
default: break
|
|
2605
2619
|
}
|
|
2606
2620
|
}
|
|
@@ -2649,6 +2663,9 @@ extension BlueIdentity: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementat
|
|
|
2649
2663
|
try { if let v = _storage._privateKey {
|
|
2650
2664
|
try visitor.visitSingularBytesField(value: v, fieldNumber: 12)
|
|
2651
2665
|
} }()
|
|
2666
|
+
try { if let v = _storage._status {
|
|
2667
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 13)
|
|
2668
|
+
} }()
|
|
2652
2669
|
}
|
|
2653
2670
|
try unknownFields.traverse(visitor: &visitor)
|
|
2654
2671
|
}
|
|
@@ -2670,6 +2687,7 @@ extension BlueIdentity: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementat
|
|
|
2670
2687
|
if _storage._siteID != rhs_storage._siteID {return false}
|
|
2671
2688
|
if _storage._siteName != rhs_storage._siteName {return false}
|
|
2672
2689
|
if _storage._privateKey != rhs_storage._privateKey {return false}
|
|
2690
|
+
if _storage._status != rhs_storage._status {return false}
|
|
2673
2691
|
return true
|
|
2674
2692
|
}
|
|
2675
2693
|
if !storagesAreEqual {return false}
|
|
@@ -409,6 +409,16 @@ public struct BlueSystemAVRInfo: Sendable {
|
|
|
409
409
|
/// Clears the value of `buildnr`. Subsequent reads from it will return its default value.
|
|
410
410
|
public mutating func clearBuildnr() {self._buildnr = nil}
|
|
411
411
|
|
|
412
|
+
/// For an ongoing upgrade, this field shows the total bytes written up to this point.
|
|
413
|
+
public var bytesWritten: UInt32 {
|
|
414
|
+
get {return _bytesWritten ?? 0}
|
|
415
|
+
set {_bytesWritten = newValue}
|
|
416
|
+
}
|
|
417
|
+
/// Returns true if `bytesWritten` has been explicitly set.
|
|
418
|
+
public var hasBytesWritten: Bool {return self._bytesWritten != nil}
|
|
419
|
+
/// Clears the value of `bytesWritten`. Subsequent reads from it will return its default value.
|
|
420
|
+
public mutating func clearBytesWritten() {self._bytesWritten = nil}
|
|
421
|
+
|
|
412
422
|
public var unknownFields = SwiftProtobuf.UnknownStorage()
|
|
413
423
|
|
|
414
424
|
public init() {}
|
|
@@ -416,6 +426,7 @@ public struct BlueSystemAVRInfo: Sendable {
|
|
|
416
426
|
fileprivate var _vermaj: UInt32? = nil
|
|
417
427
|
fileprivate var _vermin: UInt32? = nil
|
|
418
428
|
fileprivate var _buildnr: UInt32? = nil
|
|
429
|
+
fileprivate var _bytesWritten: UInt32? = nil
|
|
419
430
|
}
|
|
420
431
|
|
|
421
432
|
public struct BlueSystemConfig: @unchecked Sendable {
|
|
@@ -1464,6 +1475,7 @@ extension BlueSystemAVRInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem
|
|
|
1464
1475
|
1: .same(proto: "vermaj"),
|
|
1465
1476
|
2: .same(proto: "vermin"),
|
|
1466
1477
|
3: .same(proto: "buildnr"),
|
|
1478
|
+
4: .same(proto: "bytesWritten"),
|
|
1467
1479
|
]
|
|
1468
1480
|
|
|
1469
1481
|
public var isInitialized: Bool {
|
|
@@ -1482,6 +1494,7 @@ extension BlueSystemAVRInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem
|
|
|
1482
1494
|
case 1: try { try decoder.decodeSingularUInt32Field(value: &self._vermaj) }()
|
|
1483
1495
|
case 2: try { try decoder.decodeSingularUInt32Field(value: &self._vermin) }()
|
|
1484
1496
|
case 3: try { try decoder.decodeSingularUInt32Field(value: &self._buildnr) }()
|
|
1497
|
+
case 4: try { try decoder.decodeSingularUInt32Field(value: &self._bytesWritten) }()
|
|
1485
1498
|
default: break
|
|
1486
1499
|
}
|
|
1487
1500
|
}
|
|
@@ -1501,6 +1514,9 @@ extension BlueSystemAVRInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem
|
|
|
1501
1514
|
try { if let v = self._buildnr {
|
|
1502
1515
|
try visitor.visitSingularUInt32Field(value: v, fieldNumber: 3)
|
|
1503
1516
|
} }()
|
|
1517
|
+
try { if let v = self._bytesWritten {
|
|
1518
|
+
try visitor.visitSingularUInt32Field(value: v, fieldNumber: 4)
|
|
1519
|
+
} }()
|
|
1504
1520
|
try unknownFields.traverse(visitor: &visitor)
|
|
1505
1521
|
}
|
|
1506
1522
|
|
|
@@ -1508,6 +1524,7 @@ extension BlueSystemAVRInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplem
|
|
|
1508
1524
|
if lhs._vermaj != rhs._vermaj {return false}
|
|
1509
1525
|
if lhs._vermin != rhs._vermin {return false}
|
|
1510
1526
|
if lhs._buildnr != rhs._buildnr {return false}
|
|
1527
|
+
if lhs._bytesWritten != rhs._bytesWritten {return false}
|
|
1511
1528
|
if lhs.unknownFields != rhs.unknownFields {return false}
|
|
1512
1529
|
return true
|
|
1513
1530
|
}
|