@blueid/access-proto 2.9.0 → 2.12.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 +0 -9
- package/BlueSDK.proto +4 -6
- package/cjs/BlueCore_pb.d.ts +0 -31
- package/cjs/BlueCore_pb.js +1 -11
- package/cjs/BlueSDK_pb.d.ts +0 -5
- package/cjs/BlueSDK_pb.js +0 -1
- package/es/BlueCore_pb.d.ts +0 -31
- package/es/BlueCore_pb.js +0 -13
- package/es/BlueSDK_pb.d.ts +0 -5
- package/es/BlueSDK_pb.js +0 -1
- package/nanopb/BlueCore.pb.c +0 -1
- package/nanopb/BlueCore.pb.h +3 -14
- package/nanopb/BlueSDK.pb.h +3 -6
- package/package.json +1 -1
- package/swift/BlueCore.pb.swift +0 -47
- package/swift/BlueSDK.pb.swift +0 -18
package/BlueCore.proto
CHANGED
|
@@ -325,7 +325,6 @@ enum BlueHardwareType {
|
|
|
325
325
|
DoorHandleLock = 4;
|
|
326
326
|
WallReader = 5;
|
|
327
327
|
Kiosk = 6;
|
|
328
|
-
CylinderLockCompact = 7;
|
|
329
328
|
}
|
|
330
329
|
|
|
331
330
|
enum BlueBatteryLevel {
|
|
@@ -879,14 +878,6 @@ message BlueOssSoMobileProvisioningConfiguration {
|
|
|
879
878
|
required uint32 customerExtensionsSize = 8 [ default = 32 ];
|
|
880
879
|
}
|
|
881
880
|
|
|
882
|
-
enum BlueOssSoWriteStatus {
|
|
883
|
-
option (nanopb_enumopt).packed_enum = true;
|
|
884
|
-
|
|
885
|
-
WritableByAnyOrg = 0; // transponder is writable with the default DES master key.
|
|
886
|
-
WritableBySpecificOrg = 1; // transponder is writable with the organization's specific master key.
|
|
887
|
-
NotWritable = 2; // transponder cannot be written.
|
|
888
|
-
}
|
|
889
|
-
|
|
890
881
|
//
|
|
891
882
|
// Oss So Mifare
|
|
892
883
|
//
|
package/BlueSDK.proto
CHANGED
|
@@ -27,12 +27,10 @@ message BlueI18n {
|
|
|
27
27
|
[ default = "Transponder was successfully formatted" ];
|
|
28
28
|
required string nfcInitializingWritingProcess = 9
|
|
29
29
|
[ default = "Initializing writing process" ];
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
required string nfcTransponderSuccessReadMessage = 102
|
|
35
|
-
[ default = "Transponder was successfully read" ];
|
|
30
|
+
required string nfcTransponderConnected = 100
|
|
31
|
+
[ default = "Transponder Connected" ];
|
|
32
|
+
required string nfcTransponderDisconnected = 101
|
|
33
|
+
[ default = "Transponder was disconnected" ];
|
|
36
34
|
|
|
37
35
|
|
|
38
36
|
required string openViaOssTitle = 10
|
package/cjs/BlueCore_pb.d.ts
CHANGED
|
@@ -771,11 +771,6 @@ export declare enum BlueHardwareType {
|
|
|
771
771
|
* @generated from enum value: Kiosk = 6;
|
|
772
772
|
*/
|
|
773
773
|
Kiosk = 6,
|
|
774
|
-
|
|
775
|
-
/**
|
|
776
|
-
* @generated from enum value: CylinderLockCompact = 7;
|
|
777
|
-
*/
|
|
778
|
-
CylinderLockCompact = 7,
|
|
779
774
|
}
|
|
780
775
|
|
|
781
776
|
/**
|
|
@@ -1083,32 +1078,6 @@ export declare enum BlueOssSoFileId {
|
|
|
1083
1078
|
CustomerExtensions = 4,
|
|
1084
1079
|
}
|
|
1085
1080
|
|
|
1086
|
-
/**
|
|
1087
|
-
* @generated from enum BlueOssSoWriteStatus
|
|
1088
|
-
*/
|
|
1089
|
-
export declare enum BlueOssSoWriteStatus {
|
|
1090
|
-
/**
|
|
1091
|
-
* transponder is writable with the default DES master key.
|
|
1092
|
-
*
|
|
1093
|
-
* @generated from enum value: WritableByAnyOrg = 0;
|
|
1094
|
-
*/
|
|
1095
|
-
WritableByAnyOrg = 0,
|
|
1096
|
-
|
|
1097
|
-
/**
|
|
1098
|
-
* transponder is writable with the organization's specific master key.
|
|
1099
|
-
*
|
|
1100
|
-
* @generated from enum value: WritableBySpecificOrg = 1;
|
|
1101
|
-
*/
|
|
1102
|
-
WritableBySpecificOrg = 1,
|
|
1103
|
-
|
|
1104
|
-
/**
|
|
1105
|
-
* transponder cannot be written.
|
|
1106
|
-
*
|
|
1107
|
-
* @generated from enum value: NotWritable = 2;
|
|
1108
|
-
*/
|
|
1109
|
-
NotWritable = 2,
|
|
1110
|
-
}
|
|
1111
|
-
|
|
1112
1081
|
/**
|
|
1113
1082
|
* @generated from message BlueSharedDemoData
|
|
1114
1083
|
*/
|
package/cjs/BlueCore_pb.js
CHANGED
|
@@ -77,7 +77,6 @@ __export(BlueCore_pb_exports, {
|
|
|
77
77
|
BlueOssSoSettings: () => BlueOssSoSettings,
|
|
78
78
|
BlueOssSoStorageProfile: () => BlueOssSoStorageProfile,
|
|
79
79
|
BlueOssSoVersion: () => BlueOssSoVersion,
|
|
80
|
-
BlueOssSoWriteStatus: () => BlueOssSoWriteStatus,
|
|
81
80
|
BlueReturnCode: () => BlueReturnCode,
|
|
82
81
|
BlueSPHandshake: () => BlueSPHandshake,
|
|
83
82
|
BlueSPHandshakeReply: () => BlueSPHandshakeReply,
|
|
@@ -262,8 +261,7 @@ const BlueHardwareType = import_protobuf.proto2.makeEnum(
|
|
|
262
261
|
{ no: 3, name: "CylinderLock" },
|
|
263
262
|
{ no: 4, name: "DoorHandleLock" },
|
|
264
263
|
{ no: 5, name: "WallReader" },
|
|
265
|
-
{ no: 6, name: "Kiosk" }
|
|
266
|
-
{ no: 7, name: "CylinderLockCompact" }
|
|
264
|
+
{ no: 6, name: "Kiosk" }
|
|
267
265
|
]
|
|
268
266
|
);
|
|
269
267
|
const BlueBatteryLevel = import_protobuf.proto2.makeEnum(
|
|
@@ -357,14 +355,6 @@ const BlueOssSoFileId = import_protobuf.proto2.makeEnum(
|
|
|
357
355
|
{ no: 4, name: "CustomerExtensions" }
|
|
358
356
|
]
|
|
359
357
|
);
|
|
360
|
-
const BlueOssSoWriteStatus = import_protobuf.proto2.makeEnum(
|
|
361
|
-
"BlueOssSoWriteStatus",
|
|
362
|
-
[
|
|
363
|
-
{ no: 0, name: "WritableByAnyOrg" },
|
|
364
|
-
{ no: 1, name: "WritableBySpecificOrg" },
|
|
365
|
-
{ no: 2, name: "NotWritable" }
|
|
366
|
-
]
|
|
367
|
-
);
|
|
368
358
|
const BlueSharedDemoData = import_protobuf.proto2.makeMessageType(
|
|
369
359
|
"BlueSharedDemoData",
|
|
370
360
|
() => [
|
package/cjs/BlueSDK_pb.d.ts
CHANGED
|
@@ -107,11 +107,6 @@ export declare class BlueI18n extends Message<BlueI18n> {
|
|
|
107
107
|
*/
|
|
108
108
|
nfcTransponderDisconnected: string;
|
|
109
109
|
|
|
110
|
-
/**
|
|
111
|
-
* @generated from field: required string nfcTransponderSuccessReadMessage = 102 [default = "Transponder was successfully read"];
|
|
112
|
-
*/
|
|
113
|
-
nfcTransponderSuccessReadMessage: string;
|
|
114
|
-
|
|
115
110
|
/**
|
|
116
111
|
* @generated from field: required string openViaOssTitle = 10 [default = "Unlocking in Progress"];
|
|
117
112
|
*/
|
package/cjs/BlueSDK_pb.js
CHANGED
|
@@ -78,7 +78,6 @@ const BlueI18n = import_protobuf.proto2.makeMessageType(
|
|
|
78
78
|
{ no: 9, name: "nfcInitializingWritingProcess", kind: "scalar", T: 9, default: "Initializing writing process" },
|
|
79
79
|
{ no: 100, name: "nfcTransponderConnected", kind: "scalar", T: 9, default: "Transponder Connected" },
|
|
80
80
|
{ no: 101, name: "nfcTransponderDisconnected", kind: "scalar", T: 9, default: "Transponder was disconnected" },
|
|
81
|
-
{ no: 102, name: "nfcTransponderSuccessReadMessage", kind: "scalar", T: 9, default: "Transponder was successfully read" },
|
|
82
81
|
{ no: 10, name: "openViaOssTitle", kind: "scalar", T: 9, default: "Unlocking in Progress" },
|
|
83
82
|
{ no: 11, name: "openViaOssWaitMessage", kind: "scalar", T: 9, default: "Establishing secure connection..." },
|
|
84
83
|
{ no: 12, name: "openViaOssAccessGrantedTitle", kind: "scalar", T: 9, default: "Access Granted" },
|
package/es/BlueCore_pb.d.ts
CHANGED
|
@@ -771,11 +771,6 @@ export declare enum BlueHardwareType {
|
|
|
771
771
|
* @generated from enum value: Kiosk = 6;
|
|
772
772
|
*/
|
|
773
773
|
Kiosk = 6,
|
|
774
|
-
|
|
775
|
-
/**
|
|
776
|
-
* @generated from enum value: CylinderLockCompact = 7;
|
|
777
|
-
*/
|
|
778
|
-
CylinderLockCompact = 7,
|
|
779
774
|
}
|
|
780
775
|
|
|
781
776
|
/**
|
|
@@ -1083,32 +1078,6 @@ export declare enum BlueOssSoFileId {
|
|
|
1083
1078
|
CustomerExtensions = 4,
|
|
1084
1079
|
}
|
|
1085
1080
|
|
|
1086
|
-
/**
|
|
1087
|
-
* @generated from enum BlueOssSoWriteStatus
|
|
1088
|
-
*/
|
|
1089
|
-
export declare enum BlueOssSoWriteStatus {
|
|
1090
|
-
/**
|
|
1091
|
-
* transponder is writable with the default DES master key.
|
|
1092
|
-
*
|
|
1093
|
-
* @generated from enum value: WritableByAnyOrg = 0;
|
|
1094
|
-
*/
|
|
1095
|
-
WritableByAnyOrg = 0,
|
|
1096
|
-
|
|
1097
|
-
/**
|
|
1098
|
-
* transponder is writable with the organization's specific master key.
|
|
1099
|
-
*
|
|
1100
|
-
* @generated from enum value: WritableBySpecificOrg = 1;
|
|
1101
|
-
*/
|
|
1102
|
-
WritableBySpecificOrg = 1,
|
|
1103
|
-
|
|
1104
|
-
/**
|
|
1105
|
-
* transponder cannot be written.
|
|
1106
|
-
*
|
|
1107
|
-
* @generated from enum value: NotWritable = 2;
|
|
1108
|
-
*/
|
|
1109
|
-
NotWritable = 2,
|
|
1110
|
-
}
|
|
1111
|
-
|
|
1112
1081
|
/**
|
|
1113
1082
|
* @generated from message BlueSharedDemoData
|
|
1114
1083
|
*/
|
package/es/BlueCore_pb.js
CHANGED
|
@@ -207,7 +207,6 @@ export const BlueHardwareType = proto2.makeEnum(
|
|
|
207
207
|
{no: 4, name: "DoorHandleLock"},
|
|
208
208
|
{no: 5, name: "WallReader"},
|
|
209
209
|
{no: 6, name: "Kiosk"},
|
|
210
|
-
{no: 7, name: "CylinderLockCompact"},
|
|
211
210
|
],
|
|
212
211
|
);
|
|
213
212
|
|
|
@@ -338,18 +337,6 @@ export const BlueOssSoFileId = proto2.makeEnum(
|
|
|
338
337
|
],
|
|
339
338
|
);
|
|
340
339
|
|
|
341
|
-
/**
|
|
342
|
-
* @generated from enum BlueOssSoWriteStatus
|
|
343
|
-
*/
|
|
344
|
-
export const BlueOssSoWriteStatus = proto2.makeEnum(
|
|
345
|
-
"BlueOssSoWriteStatus",
|
|
346
|
-
[
|
|
347
|
-
{no: 0, name: "WritableByAnyOrg"},
|
|
348
|
-
{no: 1, name: "WritableBySpecificOrg"},
|
|
349
|
-
{no: 2, name: "NotWritable"},
|
|
350
|
-
],
|
|
351
|
-
);
|
|
352
|
-
|
|
353
340
|
/**
|
|
354
341
|
* @generated from message BlueSharedDemoData
|
|
355
342
|
*/
|
package/es/BlueSDK_pb.d.ts
CHANGED
|
@@ -107,11 +107,6 @@ export declare class BlueI18n extends Message<BlueI18n> {
|
|
|
107
107
|
*/
|
|
108
108
|
nfcTransponderDisconnected: string;
|
|
109
109
|
|
|
110
|
-
/**
|
|
111
|
-
* @generated from field: required string nfcTransponderSuccessReadMessage = 102 [default = "Transponder was successfully read"];
|
|
112
|
-
*/
|
|
113
|
-
nfcTransponderSuccessReadMessage: string;
|
|
114
|
-
|
|
115
110
|
/**
|
|
116
111
|
* @generated from field: required string openViaOssTitle = 10 [default = "Unlocking in Progress"];
|
|
117
112
|
*/
|
package/es/BlueSDK_pb.js
CHANGED
|
@@ -48,7 +48,6 @@ export const BlueI18n = proto2.makeMessageType(
|
|
|
48
48
|
{ no: 9, name: "nfcInitializingWritingProcess", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Initializing writing process" },
|
|
49
49
|
{ no: 100, name: "nfcTransponderConnected", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Transponder Connected" },
|
|
50
50
|
{ no: 101, name: "nfcTransponderDisconnected", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Transponder was disconnected" },
|
|
51
|
-
{ no: 102, name: "nfcTransponderSuccessReadMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Transponder was successfully read" },
|
|
52
51
|
{ no: 10, name: "openViaOssTitle", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Unlocking in Progress" },
|
|
53
52
|
{ no: 11, name: "openViaOssWaitMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Establishing secure connection..." },
|
|
54
53
|
{ no: 12, name: "openViaOssAccessGrantedTitle", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Access Granted" },
|
package/nanopb/BlueCore.pb.c
CHANGED
package/nanopb/BlueCore.pb.h
CHANGED
|
@@ -185,8 +185,7 @@ typedef enum BlueHardwareType {
|
|
|
185
185
|
BlueHardwareType_CylinderLock = 3,
|
|
186
186
|
BlueHardwareType_DoorHandleLock = 4,
|
|
187
187
|
BlueHardwareType_WallReader = 5,
|
|
188
|
-
BlueHardwareType_Kiosk = 6
|
|
189
|
-
BlueHardwareType_CylinderLockCompact = 7
|
|
188
|
+
BlueHardwareType_Kiosk = 6
|
|
190
189
|
} pb_packed BlueHardwareType_t;
|
|
191
190
|
|
|
192
191
|
typedef enum BlueBatteryLevel {
|
|
@@ -277,12 +276,6 @@ typedef enum BlueOssSoFileId {
|
|
|
277
276
|
BlueOssSoFileId_CustomerExtensions = 4
|
|
278
277
|
} pb_packed BlueOssSoFileId_t;
|
|
279
278
|
|
|
280
|
-
typedef enum BlueOssSoWriteStatus {
|
|
281
|
-
BlueOssSoWriteStatus_WritableByAnyOrg = 0, /* transponder is writable with the default DES master key. */
|
|
282
|
-
BlueOssSoWriteStatus_WritableBySpecificOrg = 1, /* transponder is writable with the organization's specific master key. */
|
|
283
|
-
BlueOssSoWriteStatus_NotWritable = 2 /* transponder cannot be written. */
|
|
284
|
-
} pb_packed BlueOssSoWriteStatus_t;
|
|
285
|
-
|
|
286
279
|
/* Struct definitions */
|
|
287
280
|
typedef PB_BYTES_ARRAY_T(160) BlueSharedDemoData_terminalPrivateKey_t;
|
|
288
281
|
typedef PB_BYTES_ARRAY_T(100) BlueSharedDemoData_terminalPublicKey_t;
|
|
@@ -774,8 +767,8 @@ extern "C" {
|
|
|
774
767
|
#define _BLUETRANSPONDERTYPE_ARRAYSIZE ((BlueTransponderType_t)(BlueTransponderType_MifareDesfire+1))
|
|
775
768
|
|
|
776
769
|
#define _BLUEHARDWARETYPE_MIN BlueHardwareType_UnknownHardware
|
|
777
|
-
#define _BLUEHARDWARETYPE_MAX
|
|
778
|
-
#define _BLUEHARDWARETYPE_ARRAYSIZE ((BlueHardwareType_t)(
|
|
770
|
+
#define _BLUEHARDWARETYPE_MAX BlueHardwareType_Kiosk
|
|
771
|
+
#define _BLUEHARDWARETYPE_ARRAYSIZE ((BlueHardwareType_t)(BlueHardwareType_Kiosk+1))
|
|
779
772
|
|
|
780
773
|
#define _BLUEBATTERYLEVEL_MIN BlueBatteryLevel_UnknownBattery
|
|
781
774
|
#define _BLUEBATTERYLEVEL_MAX BlueBatteryLevel_FullyCharged
|
|
@@ -813,10 +806,6 @@ extern "C" {
|
|
|
813
806
|
#define _BLUEOSSSOFILEID_MAX BlueOssSoFileId_CustomerExtensions
|
|
814
807
|
#define _BLUEOSSSOFILEID_ARRAYSIZE ((BlueOssSoFileId_t)(BlueOssSoFileId_CustomerExtensions+1))
|
|
815
808
|
|
|
816
|
-
#define _BLUEOSSSOWRITESTATUS_MIN BlueOssSoWriteStatus_WritableByAnyOrg
|
|
817
|
-
#define _BLUEOSSSOWRITESTATUS_MAX BlueOssSoWriteStatus_NotWritable
|
|
818
|
-
#define _BLUEOSSSOWRITESTATUS_ARRAYSIZE ((BlueOssSoWriteStatus_t)(BlueOssSoWriteStatus_NotWritable+1))
|
|
819
|
-
|
|
820
809
|
|
|
821
810
|
|
|
822
811
|
|
package/nanopb/BlueSDK.pb.h
CHANGED
|
@@ -87,7 +87,6 @@ typedef struct BlueI18n {
|
|
|
87
87
|
pb_callback_t openViaOssSoSelectAccessTypeMessage;
|
|
88
88
|
pb_callback_t nfcTransponderConnected;
|
|
89
89
|
pb_callback_t nfcTransponderDisconnected;
|
|
90
|
-
pb_callback_t nfcTransponderSuccessReadMessage;
|
|
91
90
|
} BlueI18n_t;
|
|
92
91
|
|
|
93
92
|
typedef struct BlueDeviceDetailsBluetooth {
|
|
@@ -312,7 +311,7 @@ extern "C" {
|
|
|
312
311
|
|
|
313
312
|
|
|
314
313
|
/* Initializer values for message structs */
|
|
315
|
-
#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}
|
|
314
|
+
#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}}
|
|
316
315
|
#define BLUEDEVICEDETAILSBLUETOOTH_INIT_DEFAULT {0, 0, 0}
|
|
317
316
|
#define BLUEDEVICEDETAILSUWB_INIT_DEFAULT {0}
|
|
318
317
|
#define BLUEDEVICEINFO_INIT_DEFAULT {_BLUEDEVICETYPE_MIN, {{NULL}, NULL}, 0, false, BLUEBLEMANUFACTURERINFO_INIT_DEFAULT, 0, {BLUEDEVICEDETAILSBLUETOOTH_INIT_DEFAULT}}
|
|
@@ -336,7 +335,7 @@ extern "C" {
|
|
|
336
335
|
#define BLUEREFRESHOSSSOCREDENTIALS_INIT_DEFAULT {{{NULL}, NULL}}
|
|
337
336
|
#define BLUESYNCHRONIZEACCESSCREDENTIAL_INIT_DEFAULT {BLUECREDENTIALID_INIT_DEFAULT, _BLUERETURNCODE_MIN, {{NULL}, NULL}}
|
|
338
337
|
#define BLUESYNCHRONIZEACCESSCREDENTIALS_INIT_DEFAULT {{{NULL}, NULL}}
|
|
339
|
-
#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}
|
|
338
|
+
#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}}
|
|
340
339
|
#define BLUEDEVICEDETAILSBLUETOOTH_INIT_ZERO {0, 0, 0}
|
|
341
340
|
#define BLUEDEVICEDETAILSUWB_INIT_ZERO {0}
|
|
342
341
|
#define BLUEDEVICEINFO_INIT_ZERO {_BLUEDEVICETYPE_MIN, {{NULL}, NULL}, 0, false, BLUEBLEMANUFACTURERINFO_INIT_ZERO, 0, {BLUEDEVICEDETAILSBLUETOOTH_INIT_ZERO}}
|
|
@@ -423,7 +422,6 @@ extern "C" {
|
|
|
423
422
|
#define BLUEI18N_OPENVIAOSSSOSELECTACCESSTYPEMESSAGE_TAG 59
|
|
424
423
|
#define BLUEI18N_NFCTRANSPONDERCONNECTED_TAG 100
|
|
425
424
|
#define BLUEI18N_NFCTRANSPONDERDISCONNECTED_TAG 101
|
|
426
|
-
#define BLUEI18N_NFCTRANSPONDERSUCCESSREADMESSAGE_TAG 102
|
|
427
425
|
#define BLUEDEVICEDETAILSBLUETOOTH_RSSI_TAG 1
|
|
428
426
|
#define BLUEDEVICEDETAILSBLUETOOTH_TXPOWER_TAG 2
|
|
429
427
|
#define BLUEDEVICEDETAILSBLUETOOTH_ISIBEACON_TAG 3
|
|
@@ -570,8 +568,7 @@ X(a, CALLBACK, REQUIRED, STRING, accessTypeCustomTime, 57) \
|
|
|
570
568
|
X(a, CALLBACK, REQUIRED, STRING, openViaOssSoSelectAccessTypeTitle, 58) \
|
|
571
569
|
X(a, CALLBACK, REQUIRED, STRING, openViaOssSoSelectAccessTypeMessage, 59) \
|
|
572
570
|
X(a, CALLBACK, REQUIRED, STRING, nfcTransponderConnected, 100) \
|
|
573
|
-
X(a, CALLBACK, REQUIRED, STRING, nfcTransponderDisconnected, 101)
|
|
574
|
-
X(a, CALLBACK, REQUIRED, STRING, nfcTransponderSuccessReadMessage, 102)
|
|
571
|
+
X(a, CALLBACK, REQUIRED, STRING, nfcTransponderDisconnected, 101)
|
|
575
572
|
#define BLUEI18N_CALLBACK pb_default_field_callback
|
|
576
573
|
#define BLUEI18N_DEFAULT NULL
|
|
577
574
|
|
package/package.json
CHANGED
package/swift/BlueCore.pb.swift
CHANGED
|
@@ -581,7 +581,6 @@ public enum BlueHardwareType: SwiftProtobuf.Enum, Swift.CaseIterable {
|
|
|
581
581
|
case doorHandleLock // = 4
|
|
582
582
|
case wallReader // = 5
|
|
583
583
|
case kiosk // = 6
|
|
584
|
-
case cylinderLockCompact // = 7
|
|
585
584
|
|
|
586
585
|
public init() {
|
|
587
586
|
self = .unknownHardware
|
|
@@ -596,7 +595,6 @@ public enum BlueHardwareType: SwiftProtobuf.Enum, Swift.CaseIterable {
|
|
|
596
595
|
case 4: self = .doorHandleLock
|
|
597
596
|
case 5: self = .wallReader
|
|
598
597
|
case 6: self = .kiosk
|
|
599
|
-
case 7: self = .cylinderLockCompact
|
|
600
598
|
default: return nil
|
|
601
599
|
}
|
|
602
600
|
}
|
|
@@ -610,7 +608,6 @@ public enum BlueHardwareType: SwiftProtobuf.Enum, Swift.CaseIterable {
|
|
|
610
608
|
case .doorHandleLock: return 4
|
|
611
609
|
case .wallReader: return 5
|
|
612
610
|
case .kiosk: return 6
|
|
613
|
-
case .cylinderLockCompact: return 7
|
|
614
611
|
}
|
|
615
612
|
}
|
|
616
613
|
|
|
@@ -964,41 +961,6 @@ public enum BlueOssSoFileId: SwiftProtobuf.Enum, Swift.CaseIterable {
|
|
|
964
961
|
|
|
965
962
|
}
|
|
966
963
|
|
|
967
|
-
public enum BlueOssSoWriteStatus: SwiftProtobuf.Enum, Swift.CaseIterable {
|
|
968
|
-
public typealias RawValue = Int
|
|
969
|
-
|
|
970
|
-
/// transponder is writable with the default DES master key.
|
|
971
|
-
case writableByAnyOrg // = 0
|
|
972
|
-
|
|
973
|
-
/// transponder is writable with the organization's specific master key.
|
|
974
|
-
case writableBySpecificOrg // = 1
|
|
975
|
-
|
|
976
|
-
/// transponder cannot be written.
|
|
977
|
-
case notWritable // = 2
|
|
978
|
-
|
|
979
|
-
public init() {
|
|
980
|
-
self = .writableByAnyOrg
|
|
981
|
-
}
|
|
982
|
-
|
|
983
|
-
public init?(rawValue: Int) {
|
|
984
|
-
switch rawValue {
|
|
985
|
-
case 0: self = .writableByAnyOrg
|
|
986
|
-
case 1: self = .writableBySpecificOrg
|
|
987
|
-
case 2: self = .notWritable
|
|
988
|
-
default: return nil
|
|
989
|
-
}
|
|
990
|
-
}
|
|
991
|
-
|
|
992
|
-
public var rawValue: Int {
|
|
993
|
-
switch self {
|
|
994
|
-
case .writableByAnyOrg: return 0
|
|
995
|
-
case .writableBySpecificOrg: return 1
|
|
996
|
-
case .notWritable: return 2
|
|
997
|
-
}
|
|
998
|
-
}
|
|
999
|
-
|
|
1000
|
-
}
|
|
1001
|
-
|
|
1002
964
|
public struct BlueSharedDemoData: @unchecked Sendable {
|
|
1003
965
|
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
1004
966
|
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
@@ -3668,7 +3630,6 @@ extension BlueHardwareType: SwiftProtobuf._ProtoNameProviding {
|
|
|
3668
3630
|
4: .same(proto: "DoorHandleLock"),
|
|
3669
3631
|
5: .same(proto: "WallReader"),
|
|
3670
3632
|
6: .same(proto: "Kiosk"),
|
|
3671
|
-
7: .same(proto: "CylinderLockCompact"),
|
|
3672
3633
|
]
|
|
3673
3634
|
}
|
|
3674
3635
|
|
|
@@ -3763,14 +3724,6 @@ extension BlueOssSoFileId: SwiftProtobuf._ProtoNameProviding {
|
|
|
3763
3724
|
]
|
|
3764
3725
|
}
|
|
3765
3726
|
|
|
3766
|
-
extension BlueOssSoWriteStatus: SwiftProtobuf._ProtoNameProviding {
|
|
3767
|
-
public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
|
|
3768
|
-
0: .same(proto: "WritableByAnyOrg"),
|
|
3769
|
-
1: .same(proto: "WritableBySpecificOrg"),
|
|
3770
|
-
2: .same(proto: "NotWritable"),
|
|
3771
|
-
]
|
|
3772
|
-
}
|
|
3773
|
-
|
|
3774
3727
|
extension BlueSharedDemoData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
|
|
3775
3728
|
public static let protoMessageName: String = "BlueSharedDemoData"
|
|
3776
3729
|
public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
|
package/swift/BlueSDK.pb.swift
CHANGED
|
@@ -183,15 +183,6 @@ public struct BlueI18n: @unchecked Sendable {
|
|
|
183
183
|
/// Clears the value of `nfcTransponderDisconnected`. Subsequent reads from it will return its default value.
|
|
184
184
|
public mutating func clearNfcTransponderDisconnected() {_uniqueStorage()._nfcTransponderDisconnected = nil}
|
|
185
185
|
|
|
186
|
-
public var nfcTransponderSuccessReadMessage: String {
|
|
187
|
-
get {return _storage._nfcTransponderSuccessReadMessage ?? "Transponder was successfully read"}
|
|
188
|
-
set {_uniqueStorage()._nfcTransponderSuccessReadMessage = newValue}
|
|
189
|
-
}
|
|
190
|
-
/// Returns true if `nfcTransponderSuccessReadMessage` has been explicitly set.
|
|
191
|
-
public var hasNfcTransponderSuccessReadMessage: Bool {return _storage._nfcTransponderSuccessReadMessage != nil}
|
|
192
|
-
/// Clears the value of `nfcTransponderSuccessReadMessage`. Subsequent reads from it will return its default value.
|
|
193
|
-
public mutating func clearNfcTransponderSuccessReadMessage() {_uniqueStorage()._nfcTransponderSuccessReadMessage = nil}
|
|
194
|
-
|
|
195
186
|
public var openViaOssTitle: String {
|
|
196
187
|
get {return _storage._openViaOssTitle ?? "Unlocking in Progress"}
|
|
197
188
|
set {_uniqueStorage()._openViaOssTitle = newValue}
|
|
@@ -1686,7 +1677,6 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
1686
1677
|
9: .same(proto: "nfcInitializingWritingProcess"),
|
|
1687
1678
|
100: .same(proto: "nfcTransponderConnected"),
|
|
1688
1679
|
101: .same(proto: "nfcTransponderDisconnected"),
|
|
1689
|
-
102: .same(proto: "nfcTransponderSuccessReadMessage"),
|
|
1690
1680
|
10: .same(proto: "openViaOssTitle"),
|
|
1691
1681
|
11: .same(proto: "openViaOssWaitMessage"),
|
|
1692
1682
|
12: .same(proto: "openViaOssAccessGrantedTitle"),
|
|
@@ -1751,7 +1741,6 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
1751
1741
|
var _nfcInitializingWritingProcess: String? = nil
|
|
1752
1742
|
var _nfcTransponderConnected: String? = nil
|
|
1753
1743
|
var _nfcTransponderDisconnected: String? = nil
|
|
1754
|
-
var _nfcTransponderSuccessReadMessage: String? = nil
|
|
1755
1744
|
var _openViaOssTitle: String? = nil
|
|
1756
1745
|
var _openViaOssWaitMessage: String? = nil
|
|
1757
1746
|
var _openViaOssAccessGrantedTitle: String? = nil
|
|
@@ -1827,7 +1816,6 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
1827
1816
|
_nfcInitializingWritingProcess = source._nfcInitializingWritingProcess
|
|
1828
1817
|
_nfcTransponderConnected = source._nfcTransponderConnected
|
|
1829
1818
|
_nfcTransponderDisconnected = source._nfcTransponderDisconnected
|
|
1830
|
-
_nfcTransponderSuccessReadMessage = source._nfcTransponderSuccessReadMessage
|
|
1831
1819
|
_openViaOssTitle = source._openViaOssTitle
|
|
1832
1820
|
_openViaOssWaitMessage = source._openViaOssWaitMessage
|
|
1833
1821
|
_openViaOssAccessGrantedTitle = source._openViaOssAccessGrantedTitle
|
|
@@ -1901,7 +1889,6 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
1901
1889
|
if _storage._nfcInitializingWritingProcess == nil {return false}
|
|
1902
1890
|
if _storage._nfcTransponderConnected == nil {return false}
|
|
1903
1891
|
if _storage._nfcTransponderDisconnected == nil {return false}
|
|
1904
|
-
if _storage._nfcTransponderSuccessReadMessage == nil {return false}
|
|
1905
1892
|
if _storage._openViaOssTitle == nil {return false}
|
|
1906
1893
|
if _storage._openViaOssWaitMessage == nil {return false}
|
|
1907
1894
|
if _storage._openViaOssAccessGrantedTitle == nil {return false}
|
|
@@ -2025,7 +2012,6 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
2025
2012
|
case 59: try { try decoder.decodeSingularStringField(value: &_storage._openViaOssSoSelectAccessTypeMessage) }()
|
|
2026
2013
|
case 100: try { try decoder.decodeSingularStringField(value: &_storage._nfcTransponderConnected) }()
|
|
2027
2014
|
case 101: try { try decoder.decodeSingularStringField(value: &_storage._nfcTransponderDisconnected) }()
|
|
2028
|
-
case 102: try { try decoder.decodeSingularStringField(value: &_storage._nfcTransponderSuccessReadMessage) }()
|
|
2029
2015
|
default: break
|
|
2030
2016
|
}
|
|
2031
2017
|
}
|
|
@@ -2221,9 +2207,6 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
2221
2207
|
try { if let v = _storage._nfcTransponderDisconnected {
|
|
2222
2208
|
try visitor.visitSingularStringField(value: v, fieldNumber: 101)
|
|
2223
2209
|
} }()
|
|
2224
|
-
try { if let v = _storage._nfcTransponderSuccessReadMessage {
|
|
2225
|
-
try visitor.visitSingularStringField(value: v, fieldNumber: 102)
|
|
2226
|
-
} }()
|
|
2227
2210
|
}
|
|
2228
2211
|
try unknownFields.traverse(visitor: &visitor)
|
|
2229
2212
|
}
|
|
@@ -2244,7 +2227,6 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
2244
2227
|
if _storage._nfcInitializingWritingProcess != rhs_storage._nfcInitializingWritingProcess {return false}
|
|
2245
2228
|
if _storage._nfcTransponderConnected != rhs_storage._nfcTransponderConnected {return false}
|
|
2246
2229
|
if _storage._nfcTransponderDisconnected != rhs_storage._nfcTransponderDisconnected {return false}
|
|
2247
|
-
if _storage._nfcTransponderSuccessReadMessage != rhs_storage._nfcTransponderSuccessReadMessage {return false}
|
|
2248
2230
|
if _storage._openViaOssTitle != rhs_storage._openViaOssTitle {return false}
|
|
2249
2231
|
if _storage._openViaOssWaitMessage != rhs_storage._openViaOssWaitMessage {return false}
|
|
2250
2232
|
if _storage._openViaOssAccessGrantedTitle != rhs_storage._openViaOssAccessGrantedTitle {return false}
|