@blueid/access-proto 12.31.0 → 12.33.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 +12 -0
- package/cjs/BlueSDK_pb.d.ts +58 -0
- package/cjs/BlueSDK_pb.js +23 -1
- package/es/BlueSDK_pb.d.ts +58 -0
- package/es/BlueSDK_pb.js +22 -0
- package/nanopb/BlueSDK.pb.c +8 -2
- package/nanopb/BlueSDK.pb.h +42 -2
- package/package.json +1 -1
- package/swift/BlueCore.pb.swift +161 -161
- package/swift/BlueLock.pb.swift +7 -7
- package/swift/BlueSDK.pb.swift +205 -59
- package/swift/BlueSystem.pb.swift +41 -41
package/BlueSDK.proto
CHANGED
|
@@ -173,6 +173,9 @@ message BlueI18n {
|
|
|
173
173
|
required string avrIsAlreadyUpToDate = 67
|
|
174
174
|
[ default = "AVR is already up to date" ];
|
|
175
175
|
|
|
176
|
+
required string noAccessWritten = 68
|
|
177
|
+
[ default = "No Access Written" ];
|
|
178
|
+
|
|
176
179
|
}
|
|
177
180
|
|
|
178
181
|
///////////////////////////////////////////////////////////////////////
|
|
@@ -377,3 +380,12 @@ message BlueAccessCredential {
|
|
|
377
380
|
message BlueSynchronizeAccessCredentials {
|
|
378
381
|
repeated BlueSynchronizeAccessCredential credentials = 1;
|
|
379
382
|
}
|
|
383
|
+
|
|
384
|
+
message BlueSiteName {
|
|
385
|
+
required string name = 1 ;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
message BlueCredentialIdentityDetails {
|
|
389
|
+
required BlueIdentity identity = 1;
|
|
390
|
+
repeated BlueSiteName offlineSiteNames = 2;
|
|
391
|
+
}
|
package/cjs/BlueSDK_pb.d.ts
CHANGED
|
@@ -412,6 +412,11 @@ export declare class BlueI18n extends Message<BlueI18n> {
|
|
|
412
412
|
*/
|
|
413
413
|
avrIsAlreadyUpToDate: string;
|
|
414
414
|
|
|
415
|
+
/**
|
|
416
|
+
* @generated from field: required string noAccessWritten = 68 [default = "No Access Written"];
|
|
417
|
+
*/
|
|
418
|
+
noAccessWritten: string;
|
|
419
|
+
|
|
415
420
|
constructor(data?: PartialMessage<BlueI18n>);
|
|
416
421
|
|
|
417
422
|
static readonly runtime: typeof proto2;
|
|
@@ -1367,3 +1372,56 @@ export declare class BlueSynchronizeAccessCredentials extends Message<BlueSynchr
|
|
|
1367
1372
|
static equals(a: BlueSynchronizeAccessCredentials | PlainMessage<BlueSynchronizeAccessCredentials> | undefined, b: BlueSynchronizeAccessCredentials | PlainMessage<BlueSynchronizeAccessCredentials> | undefined): boolean;
|
|
1368
1373
|
}
|
|
1369
1374
|
|
|
1375
|
+
/**
|
|
1376
|
+
* @generated from message BlueSiteName
|
|
1377
|
+
*/
|
|
1378
|
+
export declare class BlueSiteName extends Message<BlueSiteName> {
|
|
1379
|
+
/**
|
|
1380
|
+
* @generated from field: required string name = 1;
|
|
1381
|
+
*/
|
|
1382
|
+
name: string;
|
|
1383
|
+
|
|
1384
|
+
constructor(data?: PartialMessage<BlueSiteName>);
|
|
1385
|
+
|
|
1386
|
+
static readonly runtime: typeof proto2;
|
|
1387
|
+
static readonly typeName = "BlueSiteName";
|
|
1388
|
+
static readonly fields: FieldList;
|
|
1389
|
+
|
|
1390
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueSiteName;
|
|
1391
|
+
|
|
1392
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueSiteName;
|
|
1393
|
+
|
|
1394
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueSiteName;
|
|
1395
|
+
|
|
1396
|
+
static equals(a: BlueSiteName | PlainMessage<BlueSiteName> | undefined, b: BlueSiteName | PlainMessage<BlueSiteName> | undefined): boolean;
|
|
1397
|
+
}
|
|
1398
|
+
|
|
1399
|
+
/**
|
|
1400
|
+
* @generated from message BlueCredentialIdentityDetails
|
|
1401
|
+
*/
|
|
1402
|
+
export declare class BlueCredentialIdentityDetails extends Message<BlueCredentialIdentityDetails> {
|
|
1403
|
+
/**
|
|
1404
|
+
* @generated from field: required BlueIdentity identity = 1;
|
|
1405
|
+
*/
|
|
1406
|
+
identity?: BlueIdentity;
|
|
1407
|
+
|
|
1408
|
+
/**
|
|
1409
|
+
* @generated from field: repeated BlueSiteName offlineSiteNames = 2;
|
|
1410
|
+
*/
|
|
1411
|
+
offlineSiteNames: BlueSiteName[];
|
|
1412
|
+
|
|
1413
|
+
constructor(data?: PartialMessage<BlueCredentialIdentityDetails>);
|
|
1414
|
+
|
|
1415
|
+
static readonly runtime: typeof proto2;
|
|
1416
|
+
static readonly typeName = "BlueCredentialIdentityDetails";
|
|
1417
|
+
static readonly fields: FieldList;
|
|
1418
|
+
|
|
1419
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueCredentialIdentityDetails;
|
|
1420
|
+
|
|
1421
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueCredentialIdentityDetails;
|
|
1422
|
+
|
|
1423
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueCredentialIdentityDetails;
|
|
1424
|
+
|
|
1425
|
+
static equals(a: BlueCredentialIdentityDetails | PlainMessage<BlueCredentialIdentityDetails> | undefined, b: BlueCredentialIdentityDetails | PlainMessage<BlueCredentialIdentityDetails> | undefined): boolean;
|
|
1426
|
+
}
|
|
1427
|
+
|
package/cjs/BlueSDK_pb.js
CHANGED
|
@@ -23,6 +23,7 @@ __export(BlueSDK_pb_exports, {
|
|
|
23
23
|
BlueAccessDeviceList: () => BlueAccessDeviceList,
|
|
24
24
|
BlueAccessObject: () => BlueAccessObject,
|
|
25
25
|
BlueAccessObjectList: () => BlueAccessObjectList,
|
|
26
|
+
BlueCredentialIdentityDetails: () => BlueCredentialIdentityDetails,
|
|
26
27
|
BlueDeviceDetailsBluetooth: () => BlueDeviceDetailsBluetooth,
|
|
27
28
|
BlueDeviceDetailsUWB: () => BlueDeviceDetailsUWB,
|
|
28
29
|
BlueDeviceInfo: () => BlueDeviceInfo,
|
|
@@ -40,6 +41,7 @@ __export(BlueSDK_pb_exports, {
|
|
|
40
41
|
BlueRefreshOssSoIdentity: () => BlueRefreshOssSoIdentity,
|
|
41
42
|
BlueRefreshTransponderResult: () => BlueRefreshTransponderResult,
|
|
42
43
|
BlueRefreshTransponderResultItem: () => BlueRefreshTransponderResultItem,
|
|
44
|
+
BlueSiteName: () => BlueSiteName,
|
|
43
45
|
BlueSynchronizeAccessCredential: () => BlueSynchronizeAccessCredential,
|
|
44
46
|
BlueSynchronizeAccessCredentials: () => BlueSynchronizeAccessCredentials,
|
|
45
47
|
BlueSynchronizeIdentities: () => BlueSynchronizeIdentities,
|
|
@@ -140,7 +142,8 @@ const BlueI18n = import_protobuf.proto2.makeMessageType(
|
|
|
140
142
|
{ no: 64, name: "downloadAVR", kind: "scalar", T: 9, default: "Download AVR" },
|
|
141
143
|
{ no: 65, name: "downloadingAVR", kind: "scalar", T: 9, default: "Downloading AVR %d.%d.%d" },
|
|
142
144
|
{ no: 66, name: "updateAVR", kind: "scalar", T: 9, default: "Update AVR" },
|
|
143
|
-
{ no: 67, name: "avrIsAlreadyUpToDate", kind: "scalar", T: 9, default: "AVR is already up to date" }
|
|
145
|
+
{ no: 67, name: "avrIsAlreadyUpToDate", kind: "scalar", T: 9, default: "AVR is already up to date" },
|
|
146
|
+
{ no: 68, name: "noAccessWritten", kind: "scalar", T: 9, default: "No Access Written" }
|
|
144
147
|
]
|
|
145
148
|
);
|
|
146
149
|
const BlueDeviceDetailsBluetooth = import_protobuf.proto2.makeMessageType(
|
|
@@ -526,3 +529,22 @@ const BlueSynchronizeAccessCredentials = import_protobuf.proto2.makeMessageType(
|
|
|
526
529
|
{ no: 1, name: "credentials", kind: "message", T: BlueSynchronizeAccessCredential, repeated: true }
|
|
527
530
|
]
|
|
528
531
|
);
|
|
532
|
+
const BlueSiteName = import_protobuf.proto2.makeMessageType(
|
|
533
|
+
"BlueSiteName",
|
|
534
|
+
() => [
|
|
535
|
+
{
|
|
536
|
+
no: 1,
|
|
537
|
+
name: "name",
|
|
538
|
+
kind: "scalar",
|
|
539
|
+
T: 9
|
|
540
|
+
/* ScalarType.STRING */
|
|
541
|
+
}
|
|
542
|
+
]
|
|
543
|
+
);
|
|
544
|
+
const BlueCredentialIdentityDetails = import_protobuf.proto2.makeMessageType(
|
|
545
|
+
"BlueCredentialIdentityDetails",
|
|
546
|
+
() => [
|
|
547
|
+
{ no: 1, name: "identity", kind: "message", T: BlueIdentity },
|
|
548
|
+
{ no: 2, name: "offlineSiteNames", kind: "message", T: BlueSiteName, repeated: true }
|
|
549
|
+
]
|
|
550
|
+
);
|
package/es/BlueSDK_pb.d.ts
CHANGED
|
@@ -412,6 +412,11 @@ export declare class BlueI18n extends Message<BlueI18n> {
|
|
|
412
412
|
*/
|
|
413
413
|
avrIsAlreadyUpToDate: string;
|
|
414
414
|
|
|
415
|
+
/**
|
|
416
|
+
* @generated from field: required string noAccessWritten = 68 [default = "No Access Written"];
|
|
417
|
+
*/
|
|
418
|
+
noAccessWritten: string;
|
|
419
|
+
|
|
415
420
|
constructor(data?: PartialMessage<BlueI18n>);
|
|
416
421
|
|
|
417
422
|
static readonly runtime: typeof proto2;
|
|
@@ -1367,3 +1372,56 @@ export declare class BlueSynchronizeAccessCredentials extends Message<BlueSynchr
|
|
|
1367
1372
|
static equals(a: BlueSynchronizeAccessCredentials | PlainMessage<BlueSynchronizeAccessCredentials> | undefined, b: BlueSynchronizeAccessCredentials | PlainMessage<BlueSynchronizeAccessCredentials> | undefined): boolean;
|
|
1368
1373
|
}
|
|
1369
1374
|
|
|
1375
|
+
/**
|
|
1376
|
+
* @generated from message BlueSiteName
|
|
1377
|
+
*/
|
|
1378
|
+
export declare class BlueSiteName extends Message<BlueSiteName> {
|
|
1379
|
+
/**
|
|
1380
|
+
* @generated from field: required string name = 1;
|
|
1381
|
+
*/
|
|
1382
|
+
name: string;
|
|
1383
|
+
|
|
1384
|
+
constructor(data?: PartialMessage<BlueSiteName>);
|
|
1385
|
+
|
|
1386
|
+
static readonly runtime: typeof proto2;
|
|
1387
|
+
static readonly typeName = "BlueSiteName";
|
|
1388
|
+
static readonly fields: FieldList;
|
|
1389
|
+
|
|
1390
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueSiteName;
|
|
1391
|
+
|
|
1392
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueSiteName;
|
|
1393
|
+
|
|
1394
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueSiteName;
|
|
1395
|
+
|
|
1396
|
+
static equals(a: BlueSiteName | PlainMessage<BlueSiteName> | undefined, b: BlueSiteName | PlainMessage<BlueSiteName> | undefined): boolean;
|
|
1397
|
+
}
|
|
1398
|
+
|
|
1399
|
+
/**
|
|
1400
|
+
* @generated from message BlueCredentialIdentityDetails
|
|
1401
|
+
*/
|
|
1402
|
+
export declare class BlueCredentialIdentityDetails extends Message<BlueCredentialIdentityDetails> {
|
|
1403
|
+
/**
|
|
1404
|
+
* @generated from field: required BlueIdentity identity = 1;
|
|
1405
|
+
*/
|
|
1406
|
+
identity?: BlueIdentity;
|
|
1407
|
+
|
|
1408
|
+
/**
|
|
1409
|
+
* @generated from field: repeated BlueSiteName offlineSiteNames = 2;
|
|
1410
|
+
*/
|
|
1411
|
+
offlineSiteNames: BlueSiteName[];
|
|
1412
|
+
|
|
1413
|
+
constructor(data?: PartialMessage<BlueCredentialIdentityDetails>);
|
|
1414
|
+
|
|
1415
|
+
static readonly runtime: typeof proto2;
|
|
1416
|
+
static readonly typeName = "BlueCredentialIdentityDetails";
|
|
1417
|
+
static readonly fields: FieldList;
|
|
1418
|
+
|
|
1419
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueCredentialIdentityDetails;
|
|
1420
|
+
|
|
1421
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueCredentialIdentityDetails;
|
|
1422
|
+
|
|
1423
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueCredentialIdentityDetails;
|
|
1424
|
+
|
|
1425
|
+
static equals(a: BlueCredentialIdentityDetails | PlainMessage<BlueCredentialIdentityDetails> | undefined, b: BlueCredentialIdentityDetails | PlainMessage<BlueCredentialIdentityDetails> | undefined): boolean;
|
|
1426
|
+
}
|
|
1427
|
+
|
package/es/BlueSDK_pb.js
CHANGED
|
@@ -109,6 +109,7 @@ export const BlueI18n = proto2.makeMessageType(
|
|
|
109
109
|
{ no: 65, name: "downloadingAVR", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Downloading AVR %d.%d.%d" },
|
|
110
110
|
{ no: 66, name: "updateAVR", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Update AVR" },
|
|
111
111
|
{ no: 67, name: "avrIsAlreadyUpToDate", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "AVR is already up to date" },
|
|
112
|
+
{ no: 68, name: "noAccessWritten", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "No Access Written" },
|
|
112
113
|
],
|
|
113
114
|
);
|
|
114
115
|
|
|
@@ -429,3 +430,24 @@ export const BlueSynchronizeAccessCredentials = proto2.makeMessageType(
|
|
|
429
430
|
],
|
|
430
431
|
);
|
|
431
432
|
|
|
433
|
+
/**
|
|
434
|
+
* @generated from message BlueSiteName
|
|
435
|
+
*/
|
|
436
|
+
export const BlueSiteName = proto2.makeMessageType(
|
|
437
|
+
"BlueSiteName",
|
|
438
|
+
() => [
|
|
439
|
+
{ no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
440
|
+
],
|
|
441
|
+
);
|
|
442
|
+
|
|
443
|
+
/**
|
|
444
|
+
* @generated from message BlueCredentialIdentityDetails
|
|
445
|
+
*/
|
|
446
|
+
export const BlueCredentialIdentityDetails = proto2.makeMessageType(
|
|
447
|
+
"BlueCredentialIdentityDetails",
|
|
448
|
+
() => [
|
|
449
|
+
{ no: 1, name: "identity", kind: "message", T: BlueIdentity },
|
|
450
|
+
{ no: 2, name: "offlineSiteNames", kind: "message", T: BlueSiteName, repeated: true },
|
|
451
|
+
],
|
|
452
|
+
);
|
|
453
|
+
|
package/nanopb/BlueSDK.pb.c
CHANGED
|
@@ -84,12 +84,18 @@ PB_BIND(BLUESYNCHRONIZEACCESSCREDENTIAL, BlueSynchronizeAccessCredential_t, AUTO
|
|
|
84
84
|
PB_BIND(BLUESYNCHRONIZEACCESSCREDENTIALS, BlueSynchronizeAccessCredentials_t, AUTO)
|
|
85
85
|
|
|
86
86
|
|
|
87
|
+
PB_BIND(BLUESITENAME, BlueSiteName_t, AUTO)
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
PB_BIND(BLUECREDENTIALIDENTITYDETAILS, BlueCredentialIdentityDetails_t, 2)
|
|
91
|
+
|
|
92
|
+
|
|
87
93
|
|
|
88
94
|
|
|
89
95
|
|
|
90
96
|
/* Check that missing required fields will be properly detected */
|
|
91
|
-
#if PB_MAX_REQUIRED_FIELDS <
|
|
97
|
+
#if PB_MAX_REQUIRED_FIELDS < 73
|
|
92
98
|
#error Properly detecting missing required fields in BlueI18n requires \
|
|
93
|
-
setting PB_MAX_REQUIRED_FIELDS to
|
|
99
|
+
setting PB_MAX_REQUIRED_FIELDS to 73 or more.
|
|
94
100
|
#endif
|
|
95
101
|
|
package/nanopb/BlueSDK.pb.h
CHANGED
|
@@ -92,6 +92,7 @@ typedef struct BlueI18n {
|
|
|
92
92
|
pb_callback_t downloadingAVR;
|
|
93
93
|
pb_callback_t updateAVR;
|
|
94
94
|
pb_callback_t avrIsAlreadyUpToDate;
|
|
95
|
+
pb_callback_t noAccessWritten;
|
|
95
96
|
pb_callback_t nfcTransponderConnected;
|
|
96
97
|
pb_callback_t nfcTransponderDisconnected;
|
|
97
98
|
pb_callback_t nfcTransponderSuccessReadMessage;
|
|
@@ -286,6 +287,15 @@ typedef struct BlueSynchronizeAccessCredentials {
|
|
|
286
287
|
pb_callback_t credentials;
|
|
287
288
|
} BlueSynchronizeAccessCredentials_t;
|
|
288
289
|
|
|
290
|
+
typedef struct BlueSiteName {
|
|
291
|
+
pb_callback_t name;
|
|
292
|
+
} BlueSiteName_t;
|
|
293
|
+
|
|
294
|
+
typedef struct BlueCredentialIdentityDetails {
|
|
295
|
+
BlueIdentity_t identity;
|
|
296
|
+
pb_callback_t offlineSiteNames;
|
|
297
|
+
} BlueCredentialIdentityDetails_t;
|
|
298
|
+
|
|
289
299
|
|
|
290
300
|
#ifdef __cplusplus
|
|
291
301
|
extern "C" {
|
|
@@ -336,8 +346,10 @@ extern "C" {
|
|
|
336
346
|
|
|
337
347
|
|
|
338
348
|
|
|
349
|
+
|
|
350
|
+
|
|
339
351
|
/* Initializer values for message structs */
|
|
340
|
-
#define BLUEI18N_INIT_DEFAULT {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
|
|
352
|
+
#define BLUEI18N_INIT_DEFAULT {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
|
|
341
353
|
#define BLUEDEVICEDETAILSBLUETOOTH_INIT_DEFAULT {0, 0, 0}
|
|
342
354
|
#define BLUEDEVICEDETAILSUWB_INIT_DEFAULT {0}
|
|
343
355
|
#define BLUEDEVICEINFO_INIT_DEFAULT {_BLUEDEVICETYPE_MIN, {{NULL}, NULL}, 0, false, BLUEBLEMANUFACTURERINFO_INIT_DEFAULT, 0, {BLUEDEVICEDETAILSBLUETOOTH_INIT_DEFAULT}}
|
|
@@ -363,7 +375,9 @@ extern "C" {
|
|
|
363
375
|
#define BLUEREFRESHOSSSOCREDENTIALS_INIT_DEFAULT {{{NULL}, NULL}}
|
|
364
376
|
#define BLUESYNCHRONIZEACCESSCREDENTIAL_INIT_DEFAULT {BLUECREDENTIALID_INIT_DEFAULT, _BLUERETURNCODE_MIN, {{NULL}, NULL}}
|
|
365
377
|
#define BLUESYNCHRONIZEACCESSCREDENTIALS_INIT_DEFAULT {{{NULL}, NULL}}
|
|
366
|
-
#define
|
|
378
|
+
#define BLUESITENAME_INIT_DEFAULT {{{NULL}, NULL}}
|
|
379
|
+
#define BLUECREDENTIALIDENTITYDETAILS_INIT_DEFAULT {BLUEIDENTITY_INIT_DEFAULT, {{NULL}, NULL}}
|
|
380
|
+
#define BLUEI18N_INIT_ZERO {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
|
|
367
381
|
#define BLUEDEVICEDETAILSBLUETOOTH_INIT_ZERO {0, 0, 0}
|
|
368
382
|
#define BLUEDEVICEDETAILSUWB_INIT_ZERO {0}
|
|
369
383
|
#define BLUEDEVICEINFO_INIT_ZERO {_BLUEDEVICETYPE_MIN, {{NULL}, NULL}, 0, false, BLUEBLEMANUFACTURERINFO_INIT_ZERO, 0, {BLUEDEVICEDETAILSBLUETOOTH_INIT_ZERO}}
|
|
@@ -389,6 +403,8 @@ extern "C" {
|
|
|
389
403
|
#define BLUEREFRESHOSSSOCREDENTIALS_INIT_ZERO {{{NULL}, NULL}}
|
|
390
404
|
#define BLUESYNCHRONIZEACCESSCREDENTIAL_INIT_ZERO {BLUECREDENTIALID_INIT_ZERO, _BLUERETURNCODE_MIN, {{NULL}, NULL}}
|
|
391
405
|
#define BLUESYNCHRONIZEACCESSCREDENTIALS_INIT_ZERO {{{NULL}, NULL}}
|
|
406
|
+
#define BLUESITENAME_INIT_ZERO {{{NULL}, NULL}}
|
|
407
|
+
#define BLUECREDENTIALIDENTITYDETAILS_INIT_ZERO {BLUEIDENTITY_INIT_ZERO, {{NULL}, NULL}}
|
|
392
408
|
|
|
393
409
|
/* Field tags (for use in manual encoding/decoding) */
|
|
394
410
|
#define BLUEI18N_NFCWAITMESSAGE_TAG 1
|
|
@@ -457,6 +473,7 @@ extern "C" {
|
|
|
457
473
|
#define BLUEI18N_DOWNLOADINGAVR_TAG 65
|
|
458
474
|
#define BLUEI18N_UPDATEAVR_TAG 66
|
|
459
475
|
#define BLUEI18N_AVRISALREADYUPTODATE_TAG 67
|
|
476
|
+
#define BLUEI18N_NOACCESSWRITTEN_TAG 68
|
|
460
477
|
#define BLUEI18N_NFCTRANSPONDERCONNECTED_TAG 100
|
|
461
478
|
#define BLUEI18N_NFCTRANSPONDERDISCONNECTED_TAG 101
|
|
462
479
|
#define BLUEI18N_NFCTRANSPONDERSUCCESSREADMESSAGE_TAG 102
|
|
@@ -553,6 +570,9 @@ extern "C" {
|
|
|
553
570
|
#define BLUESYNCHRONIZEACCESSCREDENTIAL_RETURNCODE_TAG 2
|
|
554
571
|
#define BLUESYNCHRONIZEACCESSCREDENTIAL_ERRORDESCRIPTION_TAG 3
|
|
555
572
|
#define BLUESYNCHRONIZEACCESSCREDENTIALS_CREDENTIALS_TAG 1
|
|
573
|
+
#define BLUESITENAME_NAME_TAG 1
|
|
574
|
+
#define BLUECREDENTIALIDENTITYDETAILS_IDENTITY_TAG 1
|
|
575
|
+
#define BLUECREDENTIALIDENTITYDETAILS_OFFLINESITENAMES_TAG 2
|
|
556
576
|
|
|
557
577
|
/* Struct field encoding specification for nanopb */
|
|
558
578
|
#define BLUEI18N_FIELDLIST(X, a) \
|
|
@@ -622,6 +642,7 @@ X(a, CALLBACK, REQUIRED, STRING, downloadAVR, 64) \
|
|
|
622
642
|
X(a, CALLBACK, REQUIRED, STRING, downloadingAVR, 65) \
|
|
623
643
|
X(a, CALLBACK, REQUIRED, STRING, updateAVR, 66) \
|
|
624
644
|
X(a, CALLBACK, REQUIRED, STRING, avrIsAlreadyUpToDate, 67) \
|
|
645
|
+
X(a, CALLBACK, REQUIRED, STRING, noAccessWritten, 68) \
|
|
625
646
|
X(a, CALLBACK, REQUIRED, STRING, nfcTransponderConnected, 100) \
|
|
626
647
|
X(a, CALLBACK, REQUIRED, STRING, nfcTransponderDisconnected, 101) \
|
|
627
648
|
X(a, CALLBACK, REQUIRED, STRING, nfcTransponderSuccessReadMessage, 102) \
|
|
@@ -849,6 +870,19 @@ X(a, CALLBACK, REPEATED, MESSAGE, credentials, 1)
|
|
|
849
870
|
#define BLUESYNCHRONIZEACCESSCREDENTIALS_DEFAULT NULL
|
|
850
871
|
#define BlueSynchronizeAccessCredentials_t_credentials_MSGTYPE BlueSynchronizeAccessCredential_t
|
|
851
872
|
|
|
873
|
+
#define BLUESITENAME_FIELDLIST(X, a) \
|
|
874
|
+
X(a, CALLBACK, REQUIRED, STRING, name, 1)
|
|
875
|
+
#define BLUESITENAME_CALLBACK pb_default_field_callback
|
|
876
|
+
#define BLUESITENAME_DEFAULT NULL
|
|
877
|
+
|
|
878
|
+
#define BLUECREDENTIALIDENTITYDETAILS_FIELDLIST(X, a) \
|
|
879
|
+
X(a, STATIC, REQUIRED, MESSAGE, identity, 1) \
|
|
880
|
+
X(a, CALLBACK, REPEATED, MESSAGE, offlineSiteNames, 2)
|
|
881
|
+
#define BLUECREDENTIALIDENTITYDETAILS_CALLBACK pb_default_field_callback
|
|
882
|
+
#define BLUECREDENTIALIDENTITYDETAILS_DEFAULT NULL
|
|
883
|
+
#define BlueCredentialIdentityDetails_t_identity_MSGTYPE BlueIdentity_t
|
|
884
|
+
#define BlueCredentialIdentityDetails_t_offlineSiteNames_MSGTYPE BlueSiteName_t
|
|
885
|
+
|
|
852
886
|
extern const pb_msgdesc_t BlueI18n_t_msg;
|
|
853
887
|
extern const pb_msgdesc_t BlueDeviceDetailsBluetooth_t_msg;
|
|
854
888
|
extern const pb_msgdesc_t BlueDeviceDetailsUWB_t_msg;
|
|
@@ -875,6 +909,8 @@ extern const pb_msgdesc_t BlueRefreshOssSoCredential_t_msg;
|
|
|
875
909
|
extern const pb_msgdesc_t BlueRefreshOssSoCredentials_t_msg;
|
|
876
910
|
extern const pb_msgdesc_t BlueSynchronizeAccessCredential_t_msg;
|
|
877
911
|
extern const pb_msgdesc_t BlueSynchronizeAccessCredentials_t_msg;
|
|
912
|
+
extern const pb_msgdesc_t BlueSiteName_t_msg;
|
|
913
|
+
extern const pb_msgdesc_t BlueCredentialIdentityDetails_t_msg;
|
|
878
914
|
|
|
879
915
|
/* Defines for backwards compatibility with code written before nanopb-0.4.0 */
|
|
880
916
|
#define BLUEI18N_FIELDS &BlueI18n_t_msg
|
|
@@ -903,6 +939,8 @@ extern const pb_msgdesc_t BlueSynchronizeAccessCredentials_t_msg;
|
|
|
903
939
|
#define BLUEREFRESHOSSSOCREDENTIALS_FIELDS &BlueRefreshOssSoCredentials_t_msg
|
|
904
940
|
#define BLUESYNCHRONIZEACCESSCREDENTIAL_FIELDS &BlueSynchronizeAccessCredential_t_msg
|
|
905
941
|
#define BLUESYNCHRONIZEACCESSCREDENTIALS_FIELDS &BlueSynchronizeAccessCredentials_t_msg
|
|
942
|
+
#define BLUESITENAME_FIELDS &BlueSiteName_t_msg
|
|
943
|
+
#define BLUECREDENTIALIDENTITYDETAILS_FIELDS &BlueCredentialIdentityDetails_t_msg
|
|
906
944
|
|
|
907
945
|
/* Maximum encoded size of messages (where known) */
|
|
908
946
|
/* BlueI18n_size depends on runtime parameters */
|
|
@@ -928,6 +966,8 @@ extern const pb_msgdesc_t BlueSynchronizeAccessCredentials_t_msg;
|
|
|
928
966
|
/* BlueRefreshOssSoCredentials_size depends on runtime parameters */
|
|
929
967
|
/* BlueSynchronizeAccessCredential_size depends on runtime parameters */
|
|
930
968
|
/* BlueSynchronizeAccessCredentials_size depends on runtime parameters */
|
|
969
|
+
/* BlueSiteName_size depends on runtime parameters */
|
|
970
|
+
/* BlueCredentialIdentityDetails_size depends on runtime parameters */
|
|
931
971
|
#define BLUEDEVICEDETAILSBLUETOOTH_SIZE 24
|
|
932
972
|
#define BLUEDEVICEDETAILSUWB_SIZE 2
|
|
933
973
|
#define BLUEREFRESHOSSSOCREDENTIAL_SIZE 26038
|