@blueid/access-proto 1.40.0 → 1.42.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 +1 -0
- package/BlueSDK.proto +6 -2
- package/cjs/BlueCore_pb.d.ts +5 -0
- package/cjs/BlueCore_pb.js +1 -0
- package/cjs/BlueSDK_pb.d.ts +12 -2
- package/cjs/BlueSDK_pb.js +4 -2
- package/es/BlueCore_pb.d.ts +5 -0
- package/es/BlueCore_pb.js +1 -0
- package/es/BlueSDK_pb.d.ts +12 -2
- package/es/BlueSDK_pb.js +4 -2
- package/nanopb/BlueCore.pb.h +1 -0
- package/nanopb/BlueSDK.pb.h +9 -3
- package/package.json +1 -1
- package/swift/BlueCore.pb.swift +4 -0
- package/swift/BlueSDK.pb.swift +38 -2
package/BlueCore.proto
CHANGED
package/BlueSDK.proto
CHANGED
|
@@ -12,9 +12,9 @@ message BlueI18n {
|
|
|
12
12
|
required string nfcWaitMessage = 1
|
|
13
13
|
[ default = "Waiting for transponder..." ];
|
|
14
14
|
required string nfcOssSuccessReadConfigurationMessage = 2
|
|
15
|
-
[ default = "
|
|
15
|
+
[ default = "Credentials read successfully" ];
|
|
16
16
|
required string nfcOssSuccessUpdateConfigurationMessage = 3
|
|
17
|
-
[ default = "
|
|
17
|
+
[ default = "Credentials successfully updated" ];
|
|
18
18
|
required string nfcOssSuccessClearEventsMessage = 4
|
|
19
19
|
[ default = "Events successfully cleared" ];
|
|
20
20
|
required string nfcOssSuccessIsProvisionedMessage = 5
|
|
@@ -27,6 +27,10 @@ message BlueI18n {
|
|
|
27
27
|
[ default = "Transponder was successfully formatted" ];
|
|
28
28
|
required string nfcInitializingWritingProcess = 9
|
|
29
29
|
[ default = "Initializing writing process" ];
|
|
30
|
+
required string nfcTransponderConnected = 100
|
|
31
|
+
[ default = "Transponder Connected" ];
|
|
32
|
+
required string nfcTransponderDisconnected = 101
|
|
33
|
+
[ default = "Transponder was disconnected" ];
|
|
30
34
|
|
|
31
35
|
|
|
32
36
|
required string openViaOssTitle = 10
|
package/cjs/BlueCore_pb.d.ts
CHANGED
|
@@ -516,6 +516,11 @@ export declare enum BlueReturnCode {
|
|
|
516
516
|
*/
|
|
517
517
|
SdkInvalidFirmwareURL = -423,
|
|
518
518
|
|
|
519
|
+
/**
|
|
520
|
+
* @generated from enum value: SdkDeviceFactoryStateRequired = -424;
|
|
521
|
+
*/
|
|
522
|
+
SdkDeviceFactoryStateRequired = -424,
|
|
523
|
+
|
|
519
524
|
/**
|
|
520
525
|
* @generated from enum value: OssMAReturnCodeStart = -1000;
|
|
521
526
|
*/
|
package/cjs/BlueCore_pb.js
CHANGED
|
@@ -193,6 +193,7 @@ const BlueReturnCode = import_protobuf.proto2.makeEnum(
|
|
|
193
193
|
{ no: -421, name: "SdkWaitDeviceToRestartFailed" },
|
|
194
194
|
{ no: -422, name: "SdkUnzipError" },
|
|
195
195
|
{ no: -423, name: "SdkInvalidFirmwareURL" },
|
|
196
|
+
{ no: -424, name: "SdkDeviceFactoryStateRequired" },
|
|
196
197
|
{ no: -1e3, name: "OssMAReturnCodeStart" },
|
|
197
198
|
{ no: -1100, name: "OssMAReturnCodeEnd" }
|
|
198
199
|
]
|
package/cjs/BlueSDK_pb.d.ts
CHANGED
|
@@ -58,12 +58,12 @@ export declare class BlueI18n extends Message<BlueI18n> {
|
|
|
58
58
|
nfcWaitMessage: string;
|
|
59
59
|
|
|
60
60
|
/**
|
|
61
|
-
* @generated from field: required string nfcOssSuccessReadConfigurationMessage = 2 [default = "
|
|
61
|
+
* @generated from field: required string nfcOssSuccessReadConfigurationMessage = 2 [default = "Credentials read successfully"];
|
|
62
62
|
*/
|
|
63
63
|
nfcOssSuccessReadConfigurationMessage: string;
|
|
64
64
|
|
|
65
65
|
/**
|
|
66
|
-
* @generated from field: required string nfcOssSuccessUpdateConfigurationMessage = 3 [default = "
|
|
66
|
+
* @generated from field: required string nfcOssSuccessUpdateConfigurationMessage = 3 [default = "Credentials successfully updated"];
|
|
67
67
|
*/
|
|
68
68
|
nfcOssSuccessUpdateConfigurationMessage: string;
|
|
69
69
|
|
|
@@ -97,6 +97,16 @@ export declare class BlueI18n extends Message<BlueI18n> {
|
|
|
97
97
|
*/
|
|
98
98
|
nfcInitializingWritingProcess: string;
|
|
99
99
|
|
|
100
|
+
/**
|
|
101
|
+
* @generated from field: required string nfcTransponderConnected = 100 [default = "Transponder Connected"];
|
|
102
|
+
*/
|
|
103
|
+
nfcTransponderConnected: string;
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* @generated from field: required string nfcTransponderDisconnected = 101 [default = "Transponder was disconnected"];
|
|
107
|
+
*/
|
|
108
|
+
nfcTransponderDisconnected: string;
|
|
109
|
+
|
|
100
110
|
/**
|
|
101
111
|
* @generated from field: required string openViaOssTitle = 10 [default = "Unlocking in Progress"];
|
|
102
112
|
*/
|
package/cjs/BlueSDK_pb.js
CHANGED
|
@@ -60,14 +60,16 @@ const BlueI18n = import_protobuf.proto2.makeMessageType(
|
|
|
60
60
|
"BlueI18n",
|
|
61
61
|
() => [
|
|
62
62
|
{ no: 1, name: "nfcWaitMessage", kind: "scalar", T: 9, default: "Waiting for transponder..." },
|
|
63
|
-
{ no: 2, name: "nfcOssSuccessReadConfigurationMessage", kind: "scalar", T: 9, default: "
|
|
64
|
-
{ no: 3, name: "nfcOssSuccessUpdateConfigurationMessage", kind: "scalar", T: 9, default: "
|
|
63
|
+
{ no: 2, name: "nfcOssSuccessReadConfigurationMessage", kind: "scalar", T: 9, default: "Credentials read successfully" },
|
|
64
|
+
{ no: 3, name: "nfcOssSuccessUpdateConfigurationMessage", kind: "scalar", T: 9, default: "Credentials successfully updated" },
|
|
65
65
|
{ no: 4, name: "nfcOssSuccessClearEventsMessage", kind: "scalar", T: 9, default: "Events successfully cleared" },
|
|
66
66
|
{ no: 5, name: "nfcOssSuccessIsProvisionedMessage", kind: "scalar", T: 9, default: "Is already provisioned" },
|
|
67
67
|
{ no: 6, name: "nfcOssSuccessProvisionMessage", kind: "scalar", T: 9, default: "Successfully provisioned" },
|
|
68
68
|
{ no: 7, name: "nfcOssSuccessUnprovisionMessage", kind: "scalar", T: 9, default: "Successfully unprovisioned" },
|
|
69
69
|
{ no: 8, name: "nfcOssSuccessFormatMessage", kind: "scalar", T: 9, default: "Transponder was successfully formatted" },
|
|
70
70
|
{ no: 9, name: "nfcInitializingWritingProcess", kind: "scalar", T: 9, default: "Initializing writing process" },
|
|
71
|
+
{ no: 100, name: "nfcTransponderConnected", kind: "scalar", T: 9, default: "Transponder Connected" },
|
|
72
|
+
{ no: 101, name: "nfcTransponderDisconnected", kind: "scalar", T: 9, default: "Transponder was disconnected" },
|
|
71
73
|
{ no: 10, name: "openViaOssTitle", kind: "scalar", T: 9, default: "Unlocking in Progress" },
|
|
72
74
|
{ no: 11, name: "openViaOssWaitMessage", kind: "scalar", T: 9, default: "Establishing secure connection..." },
|
|
73
75
|
{ no: 12, name: "openViaOssAccessGrantedTitle", kind: "scalar", T: 9, default: "Access Granted" },
|
package/es/BlueCore_pb.d.ts
CHANGED
|
@@ -516,6 +516,11 @@ export declare enum BlueReturnCode {
|
|
|
516
516
|
*/
|
|
517
517
|
SdkInvalidFirmwareURL = -423,
|
|
518
518
|
|
|
519
|
+
/**
|
|
520
|
+
* @generated from enum value: SdkDeviceFactoryStateRequired = -424;
|
|
521
|
+
*/
|
|
522
|
+
SdkDeviceFactoryStateRequired = -424,
|
|
523
|
+
|
|
519
524
|
/**
|
|
520
525
|
* @generated from enum value: OssMAReturnCodeStart = -1000;
|
|
521
526
|
*/
|
package/es/BlueCore_pb.js
CHANGED
|
@@ -109,6 +109,7 @@ export const BlueReturnCode = proto2.makeEnum(
|
|
|
109
109
|
{no: -421, name: "SdkWaitDeviceToRestartFailed"},
|
|
110
110
|
{no: -422, name: "SdkUnzipError"},
|
|
111
111
|
{no: -423, name: "SdkInvalidFirmwareURL"},
|
|
112
|
+
{no: -424, name: "SdkDeviceFactoryStateRequired"},
|
|
112
113
|
{no: -1000, name: "OssMAReturnCodeStart"},
|
|
113
114
|
{no: -1100, name: "OssMAReturnCodeEnd"},
|
|
114
115
|
],
|
package/es/BlueSDK_pb.d.ts
CHANGED
|
@@ -58,12 +58,12 @@ export declare class BlueI18n extends Message<BlueI18n> {
|
|
|
58
58
|
nfcWaitMessage: string;
|
|
59
59
|
|
|
60
60
|
/**
|
|
61
|
-
* @generated from field: required string nfcOssSuccessReadConfigurationMessage = 2 [default = "
|
|
61
|
+
* @generated from field: required string nfcOssSuccessReadConfigurationMessage = 2 [default = "Credentials read successfully"];
|
|
62
62
|
*/
|
|
63
63
|
nfcOssSuccessReadConfigurationMessage: string;
|
|
64
64
|
|
|
65
65
|
/**
|
|
66
|
-
* @generated from field: required string nfcOssSuccessUpdateConfigurationMessage = 3 [default = "
|
|
66
|
+
* @generated from field: required string nfcOssSuccessUpdateConfigurationMessage = 3 [default = "Credentials successfully updated"];
|
|
67
67
|
*/
|
|
68
68
|
nfcOssSuccessUpdateConfigurationMessage: string;
|
|
69
69
|
|
|
@@ -97,6 +97,16 @@ export declare class BlueI18n extends Message<BlueI18n> {
|
|
|
97
97
|
*/
|
|
98
98
|
nfcInitializingWritingProcess: string;
|
|
99
99
|
|
|
100
|
+
/**
|
|
101
|
+
* @generated from field: required string nfcTransponderConnected = 100 [default = "Transponder Connected"];
|
|
102
|
+
*/
|
|
103
|
+
nfcTransponderConnected: string;
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* @generated from field: required string nfcTransponderDisconnected = 101 [default = "Transponder was disconnected"];
|
|
107
|
+
*/
|
|
108
|
+
nfcTransponderDisconnected: string;
|
|
109
|
+
|
|
100
110
|
/**
|
|
101
111
|
* @generated from field: required string openViaOssTitle = 10 [default = "Unlocking in Progress"];
|
|
102
112
|
*/
|
package/es/BlueSDK_pb.js
CHANGED
|
@@ -38,14 +38,16 @@ export const BlueI18n = proto2.makeMessageType(
|
|
|
38
38
|
"BlueI18n",
|
|
39
39
|
() => [
|
|
40
40
|
{ no: 1, name: "nfcWaitMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Waiting for transponder..." },
|
|
41
|
-
{ no: 2, name: "nfcOssSuccessReadConfigurationMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "
|
|
42
|
-
{ no: 3, name: "nfcOssSuccessUpdateConfigurationMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "
|
|
41
|
+
{ no: 2, name: "nfcOssSuccessReadConfigurationMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Credentials read successfully" },
|
|
42
|
+
{ no: 3, name: "nfcOssSuccessUpdateConfigurationMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Credentials successfully updated" },
|
|
43
43
|
{ no: 4, name: "nfcOssSuccessClearEventsMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Events successfully cleared" },
|
|
44
44
|
{ no: 5, name: "nfcOssSuccessIsProvisionedMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Is already provisioned" },
|
|
45
45
|
{ no: 6, name: "nfcOssSuccessProvisionMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Successfully provisioned" },
|
|
46
46
|
{ no: 7, name: "nfcOssSuccessUnprovisionMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Successfully unprovisioned" },
|
|
47
47
|
{ no: 8, name: "nfcOssSuccessFormatMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Transponder was successfully formatted" },
|
|
48
48
|
{ no: 9, name: "nfcInitializingWritingProcess", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Initializing writing process" },
|
|
49
|
+
{ no: 100, name: "nfcTransponderConnected", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Transponder Connected" },
|
|
50
|
+
{ no: 101, name: "nfcTransponderDisconnected", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Transponder was disconnected" },
|
|
49
51
|
{ no: 10, name: "openViaOssTitle", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Unlocking in Progress" },
|
|
50
52
|
{ no: 11, name: "openViaOssWaitMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Establishing secure connection..." },
|
|
51
53
|
{ no: 12, name: "openViaOssAccessGrantedTitle", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Access Granted" },
|
package/nanopb/BlueCore.pb.h
CHANGED
|
@@ -113,6 +113,7 @@ typedef enum BlueReturnCode {
|
|
|
113
113
|
BlueReturnCode_SdkWaitDeviceToRestartFailed = -421,
|
|
114
114
|
BlueReturnCode_SdkUnzipError = -422,
|
|
115
115
|
BlueReturnCode_SdkInvalidFirmwareURL = -423,
|
|
116
|
+
BlueReturnCode_SdkDeviceFactoryStateRequired = -424,
|
|
116
117
|
BlueReturnCode_OssMAReturnCodeStart = -1000,
|
|
117
118
|
BlueReturnCode_OssMAReturnCodeEnd = -1100
|
|
118
119
|
} BlueReturnCode_t;
|
package/nanopb/BlueSDK.pb.h
CHANGED
|
@@ -85,6 +85,8 @@ typedef struct BlueI18n {
|
|
|
85
85
|
pb_callback_t accessTypeCustomTime;
|
|
86
86
|
pb_callback_t openViaOssSoSelectAccessTypeTitle;
|
|
87
87
|
pb_callback_t openViaOssSoSelectAccessTypeMessage;
|
|
88
|
+
pb_callback_t nfcTransponderConnected;
|
|
89
|
+
pb_callback_t nfcTransponderDisconnected;
|
|
88
90
|
} BlueI18n_t;
|
|
89
91
|
|
|
90
92
|
typedef struct BlueDeviceDetailsBluetooth {
|
|
@@ -234,7 +236,7 @@ extern "C" {
|
|
|
234
236
|
|
|
235
237
|
|
|
236
238
|
/* Initializer values for message structs */
|
|
237
|
-
#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}}
|
|
239
|
+
#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}}
|
|
238
240
|
#define BLUEDEVICEDETAILSBLUETOOTH_INIT_DEFAULT {0, 0, 0}
|
|
239
241
|
#define BLUEDEVICEDETAILSUWB_INIT_DEFAULT {0}
|
|
240
242
|
#define BLUEDEVICEINFO_INIT_DEFAULT {_BLUEDEVICETYPE_MIN, {{NULL}, NULL}, 0, false, BLUEBLEMANUFACTURERINFO_INIT_DEFAULT, 0, {BLUEDEVICEDETAILSBLUETOOTH_INIT_DEFAULT}}
|
|
@@ -250,7 +252,7 @@ extern "C" {
|
|
|
250
252
|
#define BLUESYNCHRONIZEACCESSCREDENTIALS_INIT_DEFAULT {{{NULL}, NULL}}
|
|
251
253
|
#define BLUEHARDWAREINFO_INIT_DEFAULT {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, 0, _BLUEHARDWARETYPE_MIN}
|
|
252
254
|
#define BLUESYSTEMSTATUSEXT_INIT_DEFAULT {BLUESYSTEMSTATUS_INIT_DEFAULT, false, 0, false, 0, false, 0, false, BLUEHARDWAREINFO_INIT_DEFAULT}
|
|
253
|
-
#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}}
|
|
255
|
+
#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}}
|
|
254
256
|
#define BLUEDEVICEDETAILSBLUETOOTH_INIT_ZERO {0, 0, 0}
|
|
255
257
|
#define BLUEDEVICEDETAILSUWB_INIT_ZERO {0}
|
|
256
258
|
#define BLUEDEVICEINFO_INIT_ZERO {_BLUEDEVICETYPE_MIN, {{NULL}, NULL}, 0, false, BLUEBLEMANUFACTURERINFO_INIT_ZERO, 0, {BLUEDEVICEDETAILSBLUETOOTH_INIT_ZERO}}
|
|
@@ -327,6 +329,8 @@ extern "C" {
|
|
|
327
329
|
#define BLUEI18N_ACCESSTYPECUSTOMTIME_TAG 57
|
|
328
330
|
#define BLUEI18N_OPENVIAOSSSOSELECTACCESSTYPETITLE_TAG 58
|
|
329
331
|
#define BLUEI18N_OPENVIAOSSSOSELECTACCESSTYPEMESSAGE_TAG 59
|
|
332
|
+
#define BLUEI18N_NFCTRANSPONDERCONNECTED_TAG 100
|
|
333
|
+
#define BLUEI18N_NFCTRANSPONDERDISCONNECTED_TAG 101
|
|
330
334
|
#define BLUEDEVICEDETAILSBLUETOOTH_RSSI_TAG 1
|
|
331
335
|
#define BLUEDEVICEDETAILSBLUETOOTH_TXPOWER_TAG 2
|
|
332
336
|
#define BLUEDEVICEDETAILSBLUETOOTH_ISIBEACON_TAG 3
|
|
@@ -440,7 +444,9 @@ X(a, CALLBACK, REQUIRED, STRING, accessTypeToggle, 55) \
|
|
|
440
444
|
X(a, CALLBACK, REQUIRED, STRING, accessTypeClose, 56) \
|
|
441
445
|
X(a, CALLBACK, REQUIRED, STRING, accessTypeCustomTime, 57) \
|
|
442
446
|
X(a, CALLBACK, REQUIRED, STRING, openViaOssSoSelectAccessTypeTitle, 58) \
|
|
443
|
-
X(a, CALLBACK, REQUIRED, STRING, openViaOssSoSelectAccessTypeMessage, 59)
|
|
447
|
+
X(a, CALLBACK, REQUIRED, STRING, openViaOssSoSelectAccessTypeMessage, 59) \
|
|
448
|
+
X(a, CALLBACK, REQUIRED, STRING, nfcTransponderConnected, 100) \
|
|
449
|
+
X(a, CALLBACK, REQUIRED, STRING, nfcTransponderDisconnected, 101)
|
|
444
450
|
#define BLUEI18N_CALLBACK pb_default_field_callback
|
|
445
451
|
#define BLUEI18N_DEFAULT NULL
|
|
446
452
|
|
package/package.json
CHANGED
package/swift/BlueCore.pb.swift
CHANGED
|
@@ -132,6 +132,7 @@ public enum BlueReturnCode: SwiftProtobuf.Enum {
|
|
|
132
132
|
case sdkWaitDeviceToRestartFailed // = -421
|
|
133
133
|
case sdkUnzipError // = -422
|
|
134
134
|
case sdkInvalidFirmwareURL // = -423
|
|
135
|
+
case sdkDeviceFactoryStateRequired // = -424
|
|
135
136
|
case ossMareturnCodeStart // = -1000
|
|
136
137
|
case ossMareturnCodeEnd // = -1100
|
|
137
138
|
|
|
@@ -143,6 +144,7 @@ public enum BlueReturnCode: SwiftProtobuf.Enum {
|
|
|
143
144
|
switch rawValue {
|
|
144
145
|
case -1100: self = .ossMareturnCodeEnd
|
|
145
146
|
case -1000: self = .ossMareturnCodeStart
|
|
147
|
+
case -424: self = .sdkDeviceFactoryStateRequired
|
|
146
148
|
case -423: self = .sdkInvalidFirmwareURL
|
|
147
149
|
case -422: self = .sdkUnzipError
|
|
148
150
|
case -421: self = .sdkWaitDeviceToRestartFailed
|
|
@@ -249,6 +251,7 @@ public enum BlueReturnCode: SwiftProtobuf.Enum {
|
|
|
249
251
|
switch self {
|
|
250
252
|
case .ossMareturnCodeEnd: return -1100
|
|
251
253
|
case .ossMareturnCodeStart: return -1000
|
|
254
|
+
case .sdkDeviceFactoryStateRequired: return -424
|
|
252
255
|
case .sdkInvalidFirmwareURL: return -423
|
|
253
256
|
case .sdkUnzipError: return -422
|
|
254
257
|
case .sdkWaitDeviceToRestartFailed: return -421
|
|
@@ -3685,6 +3688,7 @@ extension BlueReturnCode: SwiftProtobuf._ProtoNameProviding {
|
|
|
3685
3688
|
public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
|
|
3686
3689
|
-1100: .same(proto: "OssMAReturnCodeEnd"),
|
|
3687
3690
|
-1000: .same(proto: "OssMAReturnCodeStart"),
|
|
3691
|
+
-424: .same(proto: "SdkDeviceFactoryStateRequired"),
|
|
3688
3692
|
-423: .same(proto: "SdkInvalidFirmwareURL"),
|
|
3689
3693
|
-422: .same(proto: "SdkUnzipError"),
|
|
3690
3694
|
-421: .same(proto: "SdkWaitDeviceToRestartFailed"),
|
package/swift/BlueSDK.pb.swift
CHANGED
|
@@ -109,7 +109,7 @@ public struct BlueI18n {
|
|
|
109
109
|
public mutating func clearNfcWaitMessage() {_uniqueStorage()._nfcWaitMessage = nil}
|
|
110
110
|
|
|
111
111
|
public var nfcOssSuccessReadConfigurationMessage: String {
|
|
112
|
-
get {return _storage._nfcOssSuccessReadConfigurationMessage ?? "
|
|
112
|
+
get {return _storage._nfcOssSuccessReadConfigurationMessage ?? "Credentials read successfully"}
|
|
113
113
|
set {_uniqueStorage()._nfcOssSuccessReadConfigurationMessage = newValue}
|
|
114
114
|
}
|
|
115
115
|
/// Returns true if `nfcOssSuccessReadConfigurationMessage` has been explicitly set.
|
|
@@ -118,7 +118,7 @@ public struct BlueI18n {
|
|
|
118
118
|
public mutating func clearNfcOssSuccessReadConfigurationMessage() {_uniqueStorage()._nfcOssSuccessReadConfigurationMessage = nil}
|
|
119
119
|
|
|
120
120
|
public var nfcOssSuccessUpdateConfigurationMessage: String {
|
|
121
|
-
get {return _storage._nfcOssSuccessUpdateConfigurationMessage ?? "
|
|
121
|
+
get {return _storage._nfcOssSuccessUpdateConfigurationMessage ?? "Credentials successfully updated"}
|
|
122
122
|
set {_uniqueStorage()._nfcOssSuccessUpdateConfigurationMessage = newValue}
|
|
123
123
|
}
|
|
124
124
|
/// Returns true if `nfcOssSuccessUpdateConfigurationMessage` has been explicitly set.
|
|
@@ -180,6 +180,24 @@ public struct BlueI18n {
|
|
|
180
180
|
/// Clears the value of `nfcInitializingWritingProcess`. Subsequent reads from it will return its default value.
|
|
181
181
|
public mutating func clearNfcInitializingWritingProcess() {_uniqueStorage()._nfcInitializingWritingProcess = nil}
|
|
182
182
|
|
|
183
|
+
public var nfcTransponderConnected: String {
|
|
184
|
+
get {return _storage._nfcTransponderConnected ?? "Transponder Connected"}
|
|
185
|
+
set {_uniqueStorage()._nfcTransponderConnected = newValue}
|
|
186
|
+
}
|
|
187
|
+
/// Returns true if `nfcTransponderConnected` has been explicitly set.
|
|
188
|
+
public var hasNfcTransponderConnected: Bool {return _storage._nfcTransponderConnected != nil}
|
|
189
|
+
/// Clears the value of `nfcTransponderConnected`. Subsequent reads from it will return its default value.
|
|
190
|
+
public mutating func clearNfcTransponderConnected() {_uniqueStorage()._nfcTransponderConnected = nil}
|
|
191
|
+
|
|
192
|
+
public var nfcTransponderDisconnected: String {
|
|
193
|
+
get {return _storage._nfcTransponderDisconnected ?? "Transponder was disconnected"}
|
|
194
|
+
set {_uniqueStorage()._nfcTransponderDisconnected = newValue}
|
|
195
|
+
}
|
|
196
|
+
/// Returns true if `nfcTransponderDisconnected` has been explicitly set.
|
|
197
|
+
public var hasNfcTransponderDisconnected: Bool {return _storage._nfcTransponderDisconnected != nil}
|
|
198
|
+
/// Clears the value of `nfcTransponderDisconnected`. Subsequent reads from it will return its default value.
|
|
199
|
+
public mutating func clearNfcTransponderDisconnected() {_uniqueStorage()._nfcTransponderDisconnected = nil}
|
|
200
|
+
|
|
183
201
|
public var openViaOssTitle: String {
|
|
184
202
|
get {return _storage._openViaOssTitle ?? "Unlocking in Progress"}
|
|
185
203
|
set {_uniqueStorage()._openViaOssTitle = newValue}
|
|
@@ -1347,6 +1365,8 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
1347
1365
|
7: .same(proto: "nfcOssSuccessUnprovisionMessage"),
|
|
1348
1366
|
8: .same(proto: "nfcOssSuccessFormatMessage"),
|
|
1349
1367
|
9: .same(proto: "nfcInitializingWritingProcess"),
|
|
1368
|
+
100: .same(proto: "nfcTransponderConnected"),
|
|
1369
|
+
101: .same(proto: "nfcTransponderDisconnected"),
|
|
1350
1370
|
10: .same(proto: "openViaOssTitle"),
|
|
1351
1371
|
11: .same(proto: "openViaOssWaitMessage"),
|
|
1352
1372
|
12: .same(proto: "openViaOssAccessGrantedTitle"),
|
|
@@ -1409,6 +1429,8 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
1409
1429
|
var _nfcOssSuccessUnprovisionMessage: String? = nil
|
|
1410
1430
|
var _nfcOssSuccessFormatMessage: String? = nil
|
|
1411
1431
|
var _nfcInitializingWritingProcess: String? = nil
|
|
1432
|
+
var _nfcTransponderConnected: String? = nil
|
|
1433
|
+
var _nfcTransponderDisconnected: String? = nil
|
|
1412
1434
|
var _openViaOssTitle: String? = nil
|
|
1413
1435
|
var _openViaOssWaitMessage: String? = nil
|
|
1414
1436
|
var _openViaOssAccessGrantedTitle: String? = nil
|
|
@@ -1482,6 +1504,8 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
1482
1504
|
_nfcOssSuccessUnprovisionMessage = source._nfcOssSuccessUnprovisionMessage
|
|
1483
1505
|
_nfcOssSuccessFormatMessage = source._nfcOssSuccessFormatMessage
|
|
1484
1506
|
_nfcInitializingWritingProcess = source._nfcInitializingWritingProcess
|
|
1507
|
+
_nfcTransponderConnected = source._nfcTransponderConnected
|
|
1508
|
+
_nfcTransponderDisconnected = source._nfcTransponderDisconnected
|
|
1485
1509
|
_openViaOssTitle = source._openViaOssTitle
|
|
1486
1510
|
_openViaOssWaitMessage = source._openViaOssWaitMessage
|
|
1487
1511
|
_openViaOssAccessGrantedTitle = source._openViaOssAccessGrantedTitle
|
|
@@ -1553,6 +1577,8 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
1553
1577
|
if _storage._nfcOssSuccessUnprovisionMessage == nil {return false}
|
|
1554
1578
|
if _storage._nfcOssSuccessFormatMessage == nil {return false}
|
|
1555
1579
|
if _storage._nfcInitializingWritingProcess == nil {return false}
|
|
1580
|
+
if _storage._nfcTransponderConnected == nil {return false}
|
|
1581
|
+
if _storage._nfcTransponderDisconnected == nil {return false}
|
|
1556
1582
|
if _storage._openViaOssTitle == nil {return false}
|
|
1557
1583
|
if _storage._openViaOssWaitMessage == nil {return false}
|
|
1558
1584
|
if _storage._openViaOssAccessGrantedTitle == nil {return false}
|
|
@@ -1674,6 +1700,8 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
1674
1700
|
case 57: try { try decoder.decodeSingularStringField(value: &_storage._accessTypeCustomTime) }()
|
|
1675
1701
|
case 58: try { try decoder.decodeSingularStringField(value: &_storage._openViaOssSoSelectAccessTypeTitle) }()
|
|
1676
1702
|
case 59: try { try decoder.decodeSingularStringField(value: &_storage._openViaOssSoSelectAccessTypeMessage) }()
|
|
1703
|
+
case 100: try { try decoder.decodeSingularStringField(value: &_storage._nfcTransponderConnected) }()
|
|
1704
|
+
case 101: try { try decoder.decodeSingularStringField(value: &_storage._nfcTransponderDisconnected) }()
|
|
1677
1705
|
default: break
|
|
1678
1706
|
}
|
|
1679
1707
|
}
|
|
@@ -1863,6 +1891,12 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
1863
1891
|
try { if let v = _storage._openViaOssSoSelectAccessTypeMessage {
|
|
1864
1892
|
try visitor.visitSingularStringField(value: v, fieldNumber: 59)
|
|
1865
1893
|
} }()
|
|
1894
|
+
try { if let v = _storage._nfcTransponderConnected {
|
|
1895
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 100)
|
|
1896
|
+
} }()
|
|
1897
|
+
try { if let v = _storage._nfcTransponderDisconnected {
|
|
1898
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 101)
|
|
1899
|
+
} }()
|
|
1866
1900
|
}
|
|
1867
1901
|
try unknownFields.traverse(visitor: &visitor)
|
|
1868
1902
|
}
|
|
@@ -1881,6 +1915,8 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
1881
1915
|
if _storage._nfcOssSuccessUnprovisionMessage != rhs_storage._nfcOssSuccessUnprovisionMessage {return false}
|
|
1882
1916
|
if _storage._nfcOssSuccessFormatMessage != rhs_storage._nfcOssSuccessFormatMessage {return false}
|
|
1883
1917
|
if _storage._nfcInitializingWritingProcess != rhs_storage._nfcInitializingWritingProcess {return false}
|
|
1918
|
+
if _storage._nfcTransponderConnected != rhs_storage._nfcTransponderConnected {return false}
|
|
1919
|
+
if _storage._nfcTransponderDisconnected != rhs_storage._nfcTransponderDisconnected {return false}
|
|
1884
1920
|
if _storage._openViaOssTitle != rhs_storage._openViaOssTitle {return false}
|
|
1885
1921
|
if _storage._openViaOssWaitMessage != rhs_storage._openViaOssWaitMessage {return false}
|
|
1886
1922
|
if _storage._openViaOssAccessGrantedTitle != rhs_storage._openViaOssAccessGrantedTitle {return false}
|