@blueid/access-proto 2.1.0 → 2.3.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 +8 -0
- package/BlueSDK.proto +6 -4
- package/cjs/BlueCore_pb.d.ts +26 -0
- package/cjs/BlueCore_pb.js +9 -0
- package/cjs/BlueSDK_pb.d.ts +5 -0
- package/cjs/BlueSDK_pb.js +1 -0
- package/es/BlueCore_pb.d.ts +26 -0
- package/es/BlueCore_pb.js +12 -0
- package/es/BlueSDK_pb.d.ts +5 -0
- package/es/BlueSDK_pb.js +1 -0
- package/nanopb/BlueCore.pb.c +1 -0
- package/nanopb/BlueCore.pb.h +10 -0
- package/nanopb/BlueSDK.pb.h +6 -3
- package/package.json +1 -1
- package/swift/BlueCore.pb.swift +43 -0
- package/swift/BlueSDK.pb.swift +18 -0
package/BlueCore.proto
CHANGED
|
@@ -878,6 +878,14 @@ message BlueOssSoMobileProvisioningConfiguration {
|
|
|
878
878
|
required uint32 customerExtensionsSize = 8 [ default = 32 ];
|
|
879
879
|
}
|
|
880
880
|
|
|
881
|
+
enum BlueOssSoWriteStatus {
|
|
882
|
+
option (nanopb_enumopt).packed_enum = true;
|
|
883
|
+
|
|
884
|
+
WritableByAnyOrg = 0; // transponder is writable with the default DES master key.
|
|
885
|
+
WritableBySpecificOrg = 1; // transponder is writable with the organization's specific master key.
|
|
886
|
+
NotWritable = 2; // transponder cannot be written.
|
|
887
|
+
}
|
|
888
|
+
|
|
881
889
|
//
|
|
882
890
|
// Oss So Mifare
|
|
883
891
|
//
|
package/BlueSDK.proto
CHANGED
|
@@ -27,10 +27,12 @@ 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
|
-
|
|
30
|
+
required string nfcTransponderConnected = 100
|
|
31
|
+
[ default = "Transponder Connected" ];
|
|
32
|
+
required string nfcTransponderDisconnected = 101
|
|
33
|
+
[ default = "Transponder was disconnected" ];
|
|
34
|
+
required string nfcTransponderSuccessReadMessage = 102
|
|
35
|
+
[ default = "Transponder was successfully read" ];
|
|
34
36
|
|
|
35
37
|
|
|
36
38
|
required string openViaOssTitle = 10
|
package/cjs/BlueCore_pb.d.ts
CHANGED
|
@@ -1078,6 +1078,32 @@ export declare enum BlueOssSoFileId {
|
|
|
1078
1078
|
CustomerExtensions = 4,
|
|
1079
1079
|
}
|
|
1080
1080
|
|
|
1081
|
+
/**
|
|
1082
|
+
* @generated from enum BlueOssSoWriteStatus
|
|
1083
|
+
*/
|
|
1084
|
+
export declare enum BlueOssSoWriteStatus {
|
|
1085
|
+
/**
|
|
1086
|
+
* transponder is writable with the default DES master key.
|
|
1087
|
+
*
|
|
1088
|
+
* @generated from enum value: WritableByAnyOrg = 0;
|
|
1089
|
+
*/
|
|
1090
|
+
WritableByAnyOrg = 0,
|
|
1091
|
+
|
|
1092
|
+
/**
|
|
1093
|
+
* transponder is writable with the organization's specific master key.
|
|
1094
|
+
*
|
|
1095
|
+
* @generated from enum value: WritableBySpecificOrg = 1;
|
|
1096
|
+
*/
|
|
1097
|
+
WritableBySpecificOrg = 1,
|
|
1098
|
+
|
|
1099
|
+
/**
|
|
1100
|
+
* transponder cannot be written.
|
|
1101
|
+
*
|
|
1102
|
+
* @generated from enum value: NotWritable = 2;
|
|
1103
|
+
*/
|
|
1104
|
+
NotWritable = 2,
|
|
1105
|
+
}
|
|
1106
|
+
|
|
1081
1107
|
/**
|
|
1082
1108
|
* @generated from message BlueSharedDemoData
|
|
1083
1109
|
*/
|
package/cjs/BlueCore_pb.js
CHANGED
|
@@ -77,6 +77,7 @@ __export(BlueCore_pb_exports, {
|
|
|
77
77
|
BlueOssSoSettings: () => BlueOssSoSettings,
|
|
78
78
|
BlueOssSoStorageProfile: () => BlueOssSoStorageProfile,
|
|
79
79
|
BlueOssSoVersion: () => BlueOssSoVersion,
|
|
80
|
+
BlueOssSoWriteStatus: () => BlueOssSoWriteStatus,
|
|
80
81
|
BlueReturnCode: () => BlueReturnCode,
|
|
81
82
|
BlueSPHandshake: () => BlueSPHandshake,
|
|
82
83
|
BlueSPHandshakeReply: () => BlueSPHandshakeReply,
|
|
@@ -355,6 +356,14 @@ const BlueOssSoFileId = import_protobuf.proto2.makeEnum(
|
|
|
355
356
|
{ no: 4, name: "CustomerExtensions" }
|
|
356
357
|
]
|
|
357
358
|
);
|
|
359
|
+
const BlueOssSoWriteStatus = import_protobuf.proto2.makeEnum(
|
|
360
|
+
"BlueOssSoWriteStatus",
|
|
361
|
+
[
|
|
362
|
+
{ no: 0, name: "WritableByAnyOrg" },
|
|
363
|
+
{ no: 1, name: "WritableBySpecificOrg" },
|
|
364
|
+
{ no: 2, name: "NotWritable" }
|
|
365
|
+
]
|
|
366
|
+
);
|
|
358
367
|
const BlueSharedDemoData = import_protobuf.proto2.makeMessageType(
|
|
359
368
|
"BlueSharedDemoData",
|
|
360
369
|
() => [
|
package/cjs/BlueSDK_pb.d.ts
CHANGED
|
@@ -107,6 +107,11 @@ 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
|
+
|
|
110
115
|
/**
|
|
111
116
|
* @generated from field: required string openViaOssTitle = 10 [default = "Unlocking in Progress"];
|
|
112
117
|
*/
|
package/cjs/BlueSDK_pb.js
CHANGED
|
@@ -78,6 +78,7 @@ 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" },
|
|
81
82
|
{ no: 10, name: "openViaOssTitle", kind: "scalar", T: 9, default: "Unlocking in Progress" },
|
|
82
83
|
{ no: 11, name: "openViaOssWaitMessage", kind: "scalar", T: 9, default: "Establishing secure connection..." },
|
|
83
84
|
{ no: 12, name: "openViaOssAccessGrantedTitle", kind: "scalar", T: 9, default: "Access Granted" },
|
package/es/BlueCore_pb.d.ts
CHANGED
|
@@ -1078,6 +1078,32 @@ export declare enum BlueOssSoFileId {
|
|
|
1078
1078
|
CustomerExtensions = 4,
|
|
1079
1079
|
}
|
|
1080
1080
|
|
|
1081
|
+
/**
|
|
1082
|
+
* @generated from enum BlueOssSoWriteStatus
|
|
1083
|
+
*/
|
|
1084
|
+
export declare enum BlueOssSoWriteStatus {
|
|
1085
|
+
/**
|
|
1086
|
+
* transponder is writable with the default DES master key.
|
|
1087
|
+
*
|
|
1088
|
+
* @generated from enum value: WritableByAnyOrg = 0;
|
|
1089
|
+
*/
|
|
1090
|
+
WritableByAnyOrg = 0,
|
|
1091
|
+
|
|
1092
|
+
/**
|
|
1093
|
+
* transponder is writable with the organization's specific master key.
|
|
1094
|
+
*
|
|
1095
|
+
* @generated from enum value: WritableBySpecificOrg = 1;
|
|
1096
|
+
*/
|
|
1097
|
+
WritableBySpecificOrg = 1,
|
|
1098
|
+
|
|
1099
|
+
/**
|
|
1100
|
+
* transponder cannot be written.
|
|
1101
|
+
*
|
|
1102
|
+
* @generated from enum value: NotWritable = 2;
|
|
1103
|
+
*/
|
|
1104
|
+
NotWritable = 2,
|
|
1105
|
+
}
|
|
1106
|
+
|
|
1081
1107
|
/**
|
|
1082
1108
|
* @generated from message BlueSharedDemoData
|
|
1083
1109
|
*/
|
package/es/BlueCore_pb.js
CHANGED
|
@@ -337,6 +337,18 @@ export const BlueOssSoFileId = proto2.makeEnum(
|
|
|
337
337
|
],
|
|
338
338
|
);
|
|
339
339
|
|
|
340
|
+
/**
|
|
341
|
+
* @generated from enum BlueOssSoWriteStatus
|
|
342
|
+
*/
|
|
343
|
+
export const BlueOssSoWriteStatus = proto2.makeEnum(
|
|
344
|
+
"BlueOssSoWriteStatus",
|
|
345
|
+
[
|
|
346
|
+
{no: 0, name: "WritableByAnyOrg"},
|
|
347
|
+
{no: 1, name: "WritableBySpecificOrg"},
|
|
348
|
+
{no: 2, name: "NotWritable"},
|
|
349
|
+
],
|
|
350
|
+
);
|
|
351
|
+
|
|
340
352
|
/**
|
|
341
353
|
* @generated from message BlueSharedDemoData
|
|
342
354
|
*/
|
package/es/BlueSDK_pb.d.ts
CHANGED
|
@@ -107,6 +107,11 @@ 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
|
+
|
|
110
115
|
/**
|
|
111
116
|
* @generated from field: required string openViaOssTitle = 10 [default = "Unlocking in Progress"];
|
|
112
117
|
*/
|
package/es/BlueSDK_pb.js
CHANGED
|
@@ -48,6 +48,7 @@ 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" },
|
|
51
52
|
{ no: 10, name: "openViaOssTitle", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Unlocking in Progress" },
|
|
52
53
|
{ no: 11, name: "openViaOssWaitMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Establishing secure connection..." },
|
|
53
54
|
{ 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
|
@@ -276,6 +276,12 @@ typedef enum BlueOssSoFileId {
|
|
|
276
276
|
BlueOssSoFileId_CustomerExtensions = 4
|
|
277
277
|
} pb_packed BlueOssSoFileId_t;
|
|
278
278
|
|
|
279
|
+
typedef enum BlueOssSoWriteStatus {
|
|
280
|
+
BlueOssSoWriteStatus_WritableByAnyOrg = 0, /* transponder is writable with the default DES master key. */
|
|
281
|
+
BlueOssSoWriteStatus_WritableBySpecificOrg = 1, /* transponder is writable with the organization's specific master key. */
|
|
282
|
+
BlueOssSoWriteStatus_NotWritable = 2 /* transponder cannot be written. */
|
|
283
|
+
} pb_packed BlueOssSoWriteStatus_t;
|
|
284
|
+
|
|
279
285
|
/* Struct definitions */
|
|
280
286
|
typedef PB_BYTES_ARRAY_T(160) BlueSharedDemoData_terminalPrivateKey_t;
|
|
281
287
|
typedef PB_BYTES_ARRAY_T(100) BlueSharedDemoData_terminalPublicKey_t;
|
|
@@ -806,6 +812,10 @@ extern "C" {
|
|
|
806
812
|
#define _BLUEOSSSOFILEID_MAX BlueOssSoFileId_CustomerExtensions
|
|
807
813
|
#define _BLUEOSSSOFILEID_ARRAYSIZE ((BlueOssSoFileId_t)(BlueOssSoFileId_CustomerExtensions+1))
|
|
808
814
|
|
|
815
|
+
#define _BLUEOSSSOWRITESTATUS_MIN BlueOssSoWriteStatus_WritableByAnyOrg
|
|
816
|
+
#define _BLUEOSSSOWRITESTATUS_MAX BlueOssSoWriteStatus_NotWritable
|
|
817
|
+
#define _BLUEOSSSOWRITESTATUS_ARRAYSIZE ((BlueOssSoWriteStatus_t)(BlueOssSoWriteStatus_NotWritable+1))
|
|
818
|
+
|
|
809
819
|
|
|
810
820
|
|
|
811
821
|
|
package/nanopb/BlueSDK.pb.h
CHANGED
|
@@ -87,6 +87,7 @@ 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;
|
|
90
91
|
} BlueI18n_t;
|
|
91
92
|
|
|
92
93
|
typedef struct BlueDeviceDetailsBluetooth {
|
|
@@ -311,7 +312,7 @@ extern "C" {
|
|
|
311
312
|
|
|
312
313
|
|
|
313
314
|
/* Initializer values for message structs */
|
|
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}}
|
|
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}, {{NULL}, NULL}}
|
|
315
316
|
#define BLUEDEVICEDETAILSBLUETOOTH_INIT_DEFAULT {0, 0, 0}
|
|
316
317
|
#define BLUEDEVICEDETAILSUWB_INIT_DEFAULT {0}
|
|
317
318
|
#define BLUEDEVICEINFO_INIT_DEFAULT {_BLUEDEVICETYPE_MIN, {{NULL}, NULL}, 0, false, BLUEBLEMANUFACTURERINFO_INIT_DEFAULT, 0, {BLUEDEVICEDETAILSBLUETOOTH_INIT_DEFAULT}}
|
|
@@ -335,7 +336,7 @@ extern "C" {
|
|
|
335
336
|
#define BLUEREFRESHOSSSOCREDENTIALS_INIT_DEFAULT {{{NULL}, NULL}}
|
|
336
337
|
#define BLUESYNCHRONIZEACCESSCREDENTIAL_INIT_DEFAULT {BLUECREDENTIALID_INIT_DEFAULT, _BLUERETURNCODE_MIN, {{NULL}, NULL}}
|
|
337
338
|
#define BLUESYNCHRONIZEACCESSCREDENTIALS_INIT_DEFAULT {{{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}}
|
|
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}, {{NULL}, NULL}}
|
|
339
340
|
#define BLUEDEVICEDETAILSBLUETOOTH_INIT_ZERO {0, 0, 0}
|
|
340
341
|
#define BLUEDEVICEDETAILSUWB_INIT_ZERO {0}
|
|
341
342
|
#define BLUEDEVICEINFO_INIT_ZERO {_BLUEDEVICETYPE_MIN, {{NULL}, NULL}, 0, false, BLUEBLEMANUFACTURERINFO_INIT_ZERO, 0, {BLUEDEVICEDETAILSBLUETOOTH_INIT_ZERO}}
|
|
@@ -422,6 +423,7 @@ extern "C" {
|
|
|
422
423
|
#define BLUEI18N_OPENVIAOSSSOSELECTACCESSTYPEMESSAGE_TAG 59
|
|
423
424
|
#define BLUEI18N_NFCTRANSPONDERCONNECTED_TAG 100
|
|
424
425
|
#define BLUEI18N_NFCTRANSPONDERDISCONNECTED_TAG 101
|
|
426
|
+
#define BLUEI18N_NFCTRANSPONDERSUCCESSREADMESSAGE_TAG 102
|
|
425
427
|
#define BLUEDEVICEDETAILSBLUETOOTH_RSSI_TAG 1
|
|
426
428
|
#define BLUEDEVICEDETAILSBLUETOOTH_TXPOWER_TAG 2
|
|
427
429
|
#define BLUEDEVICEDETAILSBLUETOOTH_ISIBEACON_TAG 3
|
|
@@ -568,7 +570,8 @@ X(a, CALLBACK, REQUIRED, STRING, accessTypeCustomTime, 57) \
|
|
|
568
570
|
X(a, CALLBACK, REQUIRED, STRING, openViaOssSoSelectAccessTypeTitle, 58) \
|
|
569
571
|
X(a, CALLBACK, REQUIRED, STRING, openViaOssSoSelectAccessTypeMessage, 59) \
|
|
570
572
|
X(a, CALLBACK, REQUIRED, STRING, nfcTransponderConnected, 100) \
|
|
571
|
-
X(a, CALLBACK, REQUIRED, STRING, nfcTransponderDisconnected, 101)
|
|
573
|
+
X(a, CALLBACK, REQUIRED, STRING, nfcTransponderDisconnected, 101) \
|
|
574
|
+
X(a, CALLBACK, REQUIRED, STRING, nfcTransponderSuccessReadMessage, 102)
|
|
572
575
|
#define BLUEI18N_CALLBACK pb_default_field_callback
|
|
573
576
|
#define BLUEI18N_DEFAULT NULL
|
|
574
577
|
|
package/package.json
CHANGED
package/swift/BlueCore.pb.swift
CHANGED
|
@@ -961,6 +961,41 @@ public enum BlueOssSoFileId: SwiftProtobuf.Enum, Swift.CaseIterable {
|
|
|
961
961
|
|
|
962
962
|
}
|
|
963
963
|
|
|
964
|
+
public enum BlueOssSoWriteStatus: SwiftProtobuf.Enum, Swift.CaseIterable {
|
|
965
|
+
public typealias RawValue = Int
|
|
966
|
+
|
|
967
|
+
/// transponder is writable with the default DES master key.
|
|
968
|
+
case writableByAnyOrg // = 0
|
|
969
|
+
|
|
970
|
+
/// transponder is writable with the organization's specific master key.
|
|
971
|
+
case writableBySpecificOrg // = 1
|
|
972
|
+
|
|
973
|
+
/// transponder cannot be written.
|
|
974
|
+
case notWritable // = 2
|
|
975
|
+
|
|
976
|
+
public init() {
|
|
977
|
+
self = .writableByAnyOrg
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
public init?(rawValue: Int) {
|
|
981
|
+
switch rawValue {
|
|
982
|
+
case 0: self = .writableByAnyOrg
|
|
983
|
+
case 1: self = .writableBySpecificOrg
|
|
984
|
+
case 2: self = .notWritable
|
|
985
|
+
default: return nil
|
|
986
|
+
}
|
|
987
|
+
}
|
|
988
|
+
|
|
989
|
+
public var rawValue: Int {
|
|
990
|
+
switch self {
|
|
991
|
+
case .writableByAnyOrg: return 0
|
|
992
|
+
case .writableBySpecificOrg: return 1
|
|
993
|
+
case .notWritable: return 2
|
|
994
|
+
}
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
}
|
|
998
|
+
|
|
964
999
|
public struct BlueSharedDemoData: @unchecked Sendable {
|
|
965
1000
|
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
966
1001
|
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
@@ -3724,6 +3759,14 @@ extension BlueOssSoFileId: SwiftProtobuf._ProtoNameProviding {
|
|
|
3724
3759
|
]
|
|
3725
3760
|
}
|
|
3726
3761
|
|
|
3762
|
+
extension BlueOssSoWriteStatus: SwiftProtobuf._ProtoNameProviding {
|
|
3763
|
+
public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
|
|
3764
|
+
0: .same(proto: "WritableByAnyOrg"),
|
|
3765
|
+
1: .same(proto: "WritableBySpecificOrg"),
|
|
3766
|
+
2: .same(proto: "NotWritable"),
|
|
3767
|
+
]
|
|
3768
|
+
}
|
|
3769
|
+
|
|
3727
3770
|
extension BlueSharedDemoData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
|
|
3728
3771
|
public static let protoMessageName: String = "BlueSharedDemoData"
|
|
3729
3772
|
public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
|
package/swift/BlueSDK.pb.swift
CHANGED
|
@@ -183,6 +183,15 @@ 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
|
+
|
|
186
195
|
public var openViaOssTitle: String {
|
|
187
196
|
get {return _storage._openViaOssTitle ?? "Unlocking in Progress"}
|
|
188
197
|
set {_uniqueStorage()._openViaOssTitle = newValue}
|
|
@@ -1677,6 +1686,7 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
1677
1686
|
9: .same(proto: "nfcInitializingWritingProcess"),
|
|
1678
1687
|
100: .same(proto: "nfcTransponderConnected"),
|
|
1679
1688
|
101: .same(proto: "nfcTransponderDisconnected"),
|
|
1689
|
+
102: .same(proto: "nfcTransponderSuccessReadMessage"),
|
|
1680
1690
|
10: .same(proto: "openViaOssTitle"),
|
|
1681
1691
|
11: .same(proto: "openViaOssWaitMessage"),
|
|
1682
1692
|
12: .same(proto: "openViaOssAccessGrantedTitle"),
|
|
@@ -1741,6 +1751,7 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
1741
1751
|
var _nfcInitializingWritingProcess: String? = nil
|
|
1742
1752
|
var _nfcTransponderConnected: String? = nil
|
|
1743
1753
|
var _nfcTransponderDisconnected: String? = nil
|
|
1754
|
+
var _nfcTransponderSuccessReadMessage: String? = nil
|
|
1744
1755
|
var _openViaOssTitle: String? = nil
|
|
1745
1756
|
var _openViaOssWaitMessage: String? = nil
|
|
1746
1757
|
var _openViaOssAccessGrantedTitle: String? = nil
|
|
@@ -1816,6 +1827,7 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
1816
1827
|
_nfcInitializingWritingProcess = source._nfcInitializingWritingProcess
|
|
1817
1828
|
_nfcTransponderConnected = source._nfcTransponderConnected
|
|
1818
1829
|
_nfcTransponderDisconnected = source._nfcTransponderDisconnected
|
|
1830
|
+
_nfcTransponderSuccessReadMessage = source._nfcTransponderSuccessReadMessage
|
|
1819
1831
|
_openViaOssTitle = source._openViaOssTitle
|
|
1820
1832
|
_openViaOssWaitMessage = source._openViaOssWaitMessage
|
|
1821
1833
|
_openViaOssAccessGrantedTitle = source._openViaOssAccessGrantedTitle
|
|
@@ -1889,6 +1901,7 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
1889
1901
|
if _storage._nfcInitializingWritingProcess == nil {return false}
|
|
1890
1902
|
if _storage._nfcTransponderConnected == nil {return false}
|
|
1891
1903
|
if _storage._nfcTransponderDisconnected == nil {return false}
|
|
1904
|
+
if _storage._nfcTransponderSuccessReadMessage == nil {return false}
|
|
1892
1905
|
if _storage._openViaOssTitle == nil {return false}
|
|
1893
1906
|
if _storage._openViaOssWaitMessage == nil {return false}
|
|
1894
1907
|
if _storage._openViaOssAccessGrantedTitle == nil {return false}
|
|
@@ -2012,6 +2025,7 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
2012
2025
|
case 59: try { try decoder.decodeSingularStringField(value: &_storage._openViaOssSoSelectAccessTypeMessage) }()
|
|
2013
2026
|
case 100: try { try decoder.decodeSingularStringField(value: &_storage._nfcTransponderConnected) }()
|
|
2014
2027
|
case 101: try { try decoder.decodeSingularStringField(value: &_storage._nfcTransponderDisconnected) }()
|
|
2028
|
+
case 102: try { try decoder.decodeSingularStringField(value: &_storage._nfcTransponderSuccessReadMessage) }()
|
|
2015
2029
|
default: break
|
|
2016
2030
|
}
|
|
2017
2031
|
}
|
|
@@ -2207,6 +2221,9 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
2207
2221
|
try { if let v = _storage._nfcTransponderDisconnected {
|
|
2208
2222
|
try visitor.visitSingularStringField(value: v, fieldNumber: 101)
|
|
2209
2223
|
} }()
|
|
2224
|
+
try { if let v = _storage._nfcTransponderSuccessReadMessage {
|
|
2225
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 102)
|
|
2226
|
+
} }()
|
|
2210
2227
|
}
|
|
2211
2228
|
try unknownFields.traverse(visitor: &visitor)
|
|
2212
2229
|
}
|
|
@@ -2227,6 +2244,7 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
2227
2244
|
if _storage._nfcInitializingWritingProcess != rhs_storage._nfcInitializingWritingProcess {return false}
|
|
2228
2245
|
if _storage._nfcTransponderConnected != rhs_storage._nfcTransponderConnected {return false}
|
|
2229
2246
|
if _storage._nfcTransponderDisconnected != rhs_storage._nfcTransponderDisconnected {return false}
|
|
2247
|
+
if _storage._nfcTransponderSuccessReadMessage != rhs_storage._nfcTransponderSuccessReadMessage {return false}
|
|
2230
2248
|
if _storage._openViaOssTitle != rhs_storage._openViaOssTitle {return false}
|
|
2231
2249
|
if _storage._openViaOssWaitMessage != rhs_storage._openViaOssWaitMessage {return false}
|
|
2232
2250
|
if _storage._openViaOssAccessGrantedTitle != rhs_storage._openViaOssAccessGrantedTitle {return false}
|