@blueid/access-proto 9.20.0 → 9.21.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 +40 -1
- package/BlueSDK.proto +3 -23
- package/cjs/BlueSDK_pb.d.ts +4 -34
- package/cjs/BlueSDK_pb.js +3 -9
- package/es/BlueSDK_pb.d.ts +4 -34
- package/es/BlueSDK_pb.js +2 -8
- package/nanopb/BlueSDK.pb.c +2 -2
- package/nanopb/BlueSDK.pb.h +8 -26
- package/package.json +1 -1
- package/swift/BlueSDK.pb.swift +28 -136
package/BlueCore.proto
CHANGED
|
@@ -88,6 +88,7 @@ enum BlueReturnCode {
|
|
|
88
88
|
PointerConversionFailed = -20;
|
|
89
89
|
Unavailable = -21;
|
|
90
90
|
Aborted = -22;
|
|
91
|
+
OutOfMemory = -23;
|
|
91
92
|
|
|
92
93
|
Test = -29;
|
|
93
94
|
|
|
@@ -521,6 +522,44 @@ message BlueSPResult {
|
|
|
521
522
|
[ (nanopb).max_size = 1792 ]; // we'll add 256b for add. data
|
|
522
523
|
}
|
|
523
524
|
|
|
525
|
+
///////////////////////////////////////////////////////////////////////
|
|
526
|
+
// Secure Protocol over WebSocket
|
|
527
|
+
///////////////////////////////////////////////////////////////////////
|
|
528
|
+
|
|
529
|
+
message BlueWebSPHandshake {
|
|
530
|
+
required bytes salt = 1
|
|
531
|
+
[ (nanopb).max_size = 16, (nanopb).fixed_length = true ];
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
message BlueWebSPHandshakeReply {
|
|
535
|
+
required string deviceId = 1 [ (nanopb).max_length = 8 ];
|
|
536
|
+
required bytes signature = 2 [ (nanopb).max_size = 74 ];
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
message BlueWebSPMessage {
|
|
540
|
+
required uint32 transactionId = 1 [ (nanopb).int_size = IS_8 ];
|
|
541
|
+
required BlueSPResult payload = 2;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
// Message sent by the server to the device
|
|
545
|
+
message BlueWebSPServerMessage {
|
|
546
|
+
oneof payload {
|
|
547
|
+
BlueWebSPHandshake handshake = 2;
|
|
548
|
+
BlueSPTokenCommand command = 3;
|
|
549
|
+
BlueOssSoMobile ossSo = 4;
|
|
550
|
+
BlueOssSidMobile ossSid = 5;
|
|
551
|
+
}
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
message BlueWebSPClientMessage {
|
|
555
|
+
// TODO: payload
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
message BlueWebSPStatusMessage {
|
|
559
|
+
required BlueReturnCode status = 1;
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
|
|
524
563
|
///////////////////////////////////////////////////////////////////////
|
|
525
564
|
// Oss shared types
|
|
526
565
|
///////////////////////////////////////////////////////////////////////
|
|
@@ -956,4 +995,4 @@ message _BlueTestEncodeDecode {
|
|
|
956
995
|
required string hardware_name = 2 [ (nanopb).max_length = 32 ];
|
|
957
996
|
required int32 hardware_version = 3;
|
|
958
997
|
required int32 application_version = 4;
|
|
959
|
-
}
|
|
998
|
+
}
|
package/BlueSDK.proto
CHANGED
|
@@ -118,7 +118,7 @@ message BlueI18n {
|
|
|
118
118
|
[ default = "Cancelling..." ];
|
|
119
119
|
required string dfuCompletedTitle = 44
|
|
120
120
|
[ default = "Update has been completed" ];
|
|
121
|
-
required string
|
|
121
|
+
required string dfuGetAuthenticationTokenTaskLabel = 45
|
|
122
122
|
[ default = "Issue authentication token" ];
|
|
123
123
|
required string dfuCheckLatestFWLabel = 46
|
|
124
124
|
[ default = "Check latest firmware" ];
|
|
@@ -132,7 +132,7 @@ message BlueI18n {
|
|
|
132
132
|
[ default = "DFU initialization" ];
|
|
133
133
|
required string dfuUpdateFWLabel = 51
|
|
134
134
|
[ default = "Update firmware" ];
|
|
135
|
-
required string
|
|
135
|
+
required string dfuWaitForDeviceToRestartTaskLabel = 52
|
|
136
136
|
[ default = "Wait for device to restart" ];
|
|
137
137
|
|
|
138
138
|
required string accessTypeDefaultTime = 53
|
|
@@ -153,27 +153,7 @@ message BlueI18n {
|
|
|
153
153
|
|
|
154
154
|
required string provisioningDone = 60
|
|
155
155
|
[ default = "Device %s has been provisioned. Please wait a few seconds for it to be ready for setup. If it doesn’t discover, try removing the batteries and restarting the lock." ];
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
required string checkCurrentAVR = 62
|
|
159
|
-
[ default = "Check current AVR" ];
|
|
160
|
-
|
|
161
|
-
required string checkIfAVRUpdateNedded = 63
|
|
162
|
-
[ default = "Check If AVR needs to update" ];
|
|
163
|
-
|
|
164
|
-
required string downloadAVR = 64
|
|
165
|
-
[ default = "Download AVR" ];
|
|
166
|
-
|
|
167
|
-
required string downloadingAVR = 65
|
|
168
|
-
[ default = "Downloading AVR %d.%d.%d" ];
|
|
169
|
-
|
|
170
|
-
required string updateAVR = 66
|
|
171
|
-
[ default = "Update AVR" ];
|
|
172
|
-
|
|
173
|
-
required string avrIsAlreadyUpToDate = 67
|
|
174
|
-
[ default = "AVR is already up to date" ];
|
|
175
|
-
|
|
176
|
-
}
|
|
156
|
+
}
|
|
177
157
|
|
|
178
158
|
///////////////////////////////////////////////////////////////////////
|
|
179
159
|
// Device
|
package/cjs/BlueSDK_pb.d.ts
CHANGED
|
@@ -303,9 +303,9 @@ export declare class BlueI18n extends Message<BlueI18n> {
|
|
|
303
303
|
dfuCompletedTitle: string;
|
|
304
304
|
|
|
305
305
|
/**
|
|
306
|
-
* @generated from field: required string
|
|
306
|
+
* @generated from field: required string dfuGetAuthenticationTokenTaskLabel = 45 [default = "Issue authentication token"];
|
|
307
307
|
*/
|
|
308
|
-
|
|
308
|
+
dfuGetAuthenticationTokenTaskLabel: string;
|
|
309
309
|
|
|
310
310
|
/**
|
|
311
311
|
* @generated from field: required string dfuCheckLatestFWLabel = 46 [default = "Check latest firmware"];
|
|
@@ -338,9 +338,9 @@ export declare class BlueI18n extends Message<BlueI18n> {
|
|
|
338
338
|
dfuUpdateFWLabel: string;
|
|
339
339
|
|
|
340
340
|
/**
|
|
341
|
-
* @generated from field: required string
|
|
341
|
+
* @generated from field: required string dfuWaitForDeviceToRestartTaskLabel = 52 [default = "Wait for device to restart"];
|
|
342
342
|
*/
|
|
343
|
-
|
|
343
|
+
dfuWaitForDeviceToRestartTaskLabel: string;
|
|
344
344
|
|
|
345
345
|
/**
|
|
346
346
|
* @generated from field: required string accessTypeDefaultTime = 53 [default = "Default"];
|
|
@@ -382,36 +382,6 @@ export declare class BlueI18n extends Message<BlueI18n> {
|
|
|
382
382
|
*/
|
|
383
383
|
provisioningDone: string;
|
|
384
384
|
|
|
385
|
-
/**
|
|
386
|
-
* @generated from field: required string checkCurrentAVR = 62 [default = "Check current AVR"];
|
|
387
|
-
*/
|
|
388
|
-
checkCurrentAVR: string;
|
|
389
|
-
|
|
390
|
-
/**
|
|
391
|
-
* @generated from field: required string checkIfAVRUpdateNedded = 63 [default = "Check If AVR needs to update"];
|
|
392
|
-
*/
|
|
393
|
-
checkIfAVRUpdateNedded: string;
|
|
394
|
-
|
|
395
|
-
/**
|
|
396
|
-
* @generated from field: required string downloadAVR = 64 [default = "Download AVR"];
|
|
397
|
-
*/
|
|
398
|
-
downloadAVR: string;
|
|
399
|
-
|
|
400
|
-
/**
|
|
401
|
-
* @generated from field: required string downloadingAVR = 65 [default = "Downloading AVR %d.%d.%d"];
|
|
402
|
-
*/
|
|
403
|
-
downloadingAVR: string;
|
|
404
|
-
|
|
405
|
-
/**
|
|
406
|
-
* @generated from field: required string updateAVR = 66 [default = "Update AVR"];
|
|
407
|
-
*/
|
|
408
|
-
updateAVR: string;
|
|
409
|
-
|
|
410
|
-
/**
|
|
411
|
-
* @generated from field: required string avrIsAlreadyUpToDate = 67 [default = "AVR is already up to date"];
|
|
412
|
-
*/
|
|
413
|
-
avrIsAlreadyUpToDate: string;
|
|
414
|
-
|
|
415
385
|
constructor(data?: PartialMessage<BlueI18n>);
|
|
416
386
|
|
|
417
387
|
static readonly runtime: typeof proto2;
|
package/cjs/BlueSDK_pb.js
CHANGED
|
@@ -119,14 +119,14 @@ const BlueI18n = import_protobuf.proto2.makeMessageType(
|
|
|
119
119
|
{ no: 42, name: "dfuFailedTitle", kind: "scalar", T: 9, default: "Update has failed" },
|
|
120
120
|
{ no: 43, name: "dfuCancellingTitle", kind: "scalar", T: 9, default: "Cancelling..." },
|
|
121
121
|
{ no: 44, name: "dfuCompletedTitle", kind: "scalar", T: 9, default: "Update has been completed" },
|
|
122
|
-
{ no: 45, name: "
|
|
122
|
+
{ no: 45, name: "dfuGetAuthenticationTokenTaskLabel", kind: "scalar", T: 9, default: "Issue authentication token" },
|
|
123
123
|
{ no: 46, name: "dfuCheckLatestFWLabel", kind: "scalar", T: 9, default: "Check latest firmware" },
|
|
124
124
|
{ no: 47, name: "dfuDownloadLatestFWLabel", kind: "scalar", T: 9, default: "Download latest firmware" },
|
|
125
125
|
{ no: 48, name: "dfuPrepareUpdateLabel", kind: "scalar", T: 9, default: "Prepare Update" },
|
|
126
126
|
{ no: 49, name: "dfuStartBootloaderLabel", kind: "scalar", T: 9, default: "Start Bootloader" },
|
|
127
127
|
{ no: 50, name: "dfuInitializationLabel", kind: "scalar", T: 9, default: "DFU initialization" },
|
|
128
128
|
{ no: 51, name: "dfuUpdateFWLabel", kind: "scalar", T: 9, default: "Update firmware" },
|
|
129
|
-
{ no: 52, name: "
|
|
129
|
+
{ no: 52, name: "dfuWaitForDeviceToRestartTaskLabel", kind: "scalar", T: 9, default: "Wait for device to restart" },
|
|
130
130
|
{ no: 53, name: "accessTypeDefaultTime", kind: "scalar", T: 9, default: "Default" },
|
|
131
131
|
{ no: 54, name: "accessTypeExtendedTime", kind: "scalar", T: 9, default: "Extended" },
|
|
132
132
|
{ no: 55, name: "accessTypeToggle", kind: "scalar", T: 9, default: "Toggle" },
|
|
@@ -134,13 +134,7 @@ const BlueI18n = import_protobuf.proto2.makeMessageType(
|
|
|
134
134
|
{ no: 57, name: "accessTypeCustomTime", kind: "scalar", T: 9, default: "Custom" },
|
|
135
135
|
{ no: 58, name: "openViaOssSoSelectAccessTypeTitle", kind: "scalar", T: 9, default: "Select an access type" },
|
|
136
136
|
{ no: 59, name: "openViaOssSoSelectAccessTypeMessage", kind: "scalar", T: 9, default: "You have multiple access types available." },
|
|
137
|
-
{ no: 60, name: "provisioningDone", kind: "scalar", T: 9, default: "Device %s has been provisioned. Please wait a few seconds for it to be ready for setup. If it doesn\u2019t discover, try removing the batteries and restarting the lock." }
|
|
138
|
-
{ no: 62, name: "checkCurrentAVR", kind: "scalar", T: 9, default: "Check current AVR" },
|
|
139
|
-
{ no: 63, name: "checkIfAVRUpdateNedded", kind: "scalar", T: 9, default: "Check If AVR needs to update" },
|
|
140
|
-
{ no: 64, name: "downloadAVR", kind: "scalar", T: 9, default: "Download AVR" },
|
|
141
|
-
{ no: 65, name: "downloadingAVR", kind: "scalar", T: 9, default: "Downloading AVR %d.%d.%d" },
|
|
142
|
-
{ 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" }
|
|
137
|
+
{ no: 60, name: "provisioningDone", kind: "scalar", T: 9, default: "Device %s has been provisioned. Please wait a few seconds for it to be ready for setup. If it doesn\u2019t discover, try removing the batteries and restarting the lock." }
|
|
144
138
|
]
|
|
145
139
|
);
|
|
146
140
|
const BlueDeviceDetailsBluetooth = import_protobuf.proto2.makeMessageType(
|
package/es/BlueSDK_pb.d.ts
CHANGED
|
@@ -303,9 +303,9 @@ export declare class BlueI18n extends Message<BlueI18n> {
|
|
|
303
303
|
dfuCompletedTitle: string;
|
|
304
304
|
|
|
305
305
|
/**
|
|
306
|
-
* @generated from field: required string
|
|
306
|
+
* @generated from field: required string dfuGetAuthenticationTokenTaskLabel = 45 [default = "Issue authentication token"];
|
|
307
307
|
*/
|
|
308
|
-
|
|
308
|
+
dfuGetAuthenticationTokenTaskLabel: string;
|
|
309
309
|
|
|
310
310
|
/**
|
|
311
311
|
* @generated from field: required string dfuCheckLatestFWLabel = 46 [default = "Check latest firmware"];
|
|
@@ -338,9 +338,9 @@ export declare class BlueI18n extends Message<BlueI18n> {
|
|
|
338
338
|
dfuUpdateFWLabel: string;
|
|
339
339
|
|
|
340
340
|
/**
|
|
341
|
-
* @generated from field: required string
|
|
341
|
+
* @generated from field: required string dfuWaitForDeviceToRestartTaskLabel = 52 [default = "Wait for device to restart"];
|
|
342
342
|
*/
|
|
343
|
-
|
|
343
|
+
dfuWaitForDeviceToRestartTaskLabel: string;
|
|
344
344
|
|
|
345
345
|
/**
|
|
346
346
|
* @generated from field: required string accessTypeDefaultTime = 53 [default = "Default"];
|
|
@@ -382,36 +382,6 @@ export declare class BlueI18n extends Message<BlueI18n> {
|
|
|
382
382
|
*/
|
|
383
383
|
provisioningDone: string;
|
|
384
384
|
|
|
385
|
-
/**
|
|
386
|
-
* @generated from field: required string checkCurrentAVR = 62 [default = "Check current AVR"];
|
|
387
|
-
*/
|
|
388
|
-
checkCurrentAVR: string;
|
|
389
|
-
|
|
390
|
-
/**
|
|
391
|
-
* @generated from field: required string checkIfAVRUpdateNedded = 63 [default = "Check If AVR needs to update"];
|
|
392
|
-
*/
|
|
393
|
-
checkIfAVRUpdateNedded: string;
|
|
394
|
-
|
|
395
|
-
/**
|
|
396
|
-
* @generated from field: required string downloadAVR = 64 [default = "Download AVR"];
|
|
397
|
-
*/
|
|
398
|
-
downloadAVR: string;
|
|
399
|
-
|
|
400
|
-
/**
|
|
401
|
-
* @generated from field: required string downloadingAVR = 65 [default = "Downloading AVR %d.%d.%d"];
|
|
402
|
-
*/
|
|
403
|
-
downloadingAVR: string;
|
|
404
|
-
|
|
405
|
-
/**
|
|
406
|
-
* @generated from field: required string updateAVR = 66 [default = "Update AVR"];
|
|
407
|
-
*/
|
|
408
|
-
updateAVR: string;
|
|
409
|
-
|
|
410
|
-
/**
|
|
411
|
-
* @generated from field: required string avrIsAlreadyUpToDate = 67 [default = "AVR is already up to date"];
|
|
412
|
-
*/
|
|
413
|
-
avrIsAlreadyUpToDate: string;
|
|
414
|
-
|
|
415
385
|
constructor(data?: PartialMessage<BlueI18n>);
|
|
416
386
|
|
|
417
387
|
static readonly runtime: typeof proto2;
|
package/es/BlueSDK_pb.js
CHANGED
|
@@ -87,14 +87,14 @@ export const BlueI18n = proto2.makeMessageType(
|
|
|
87
87
|
{ no: 42, name: "dfuFailedTitle", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Update has failed" },
|
|
88
88
|
{ no: 43, name: "dfuCancellingTitle", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Cancelling..." },
|
|
89
89
|
{ no: 44, name: "dfuCompletedTitle", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Update has been completed" },
|
|
90
|
-
{ no: 45, name: "
|
|
90
|
+
{ no: 45, name: "dfuGetAuthenticationTokenTaskLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Issue authentication token" },
|
|
91
91
|
{ no: 46, name: "dfuCheckLatestFWLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Check latest firmware" },
|
|
92
92
|
{ no: 47, name: "dfuDownloadLatestFWLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Download latest firmware" },
|
|
93
93
|
{ no: 48, name: "dfuPrepareUpdateLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Prepare Update" },
|
|
94
94
|
{ no: 49, name: "dfuStartBootloaderLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Start Bootloader" },
|
|
95
95
|
{ no: 50, name: "dfuInitializationLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "DFU initialization" },
|
|
96
96
|
{ no: 51, name: "dfuUpdateFWLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Update firmware" },
|
|
97
|
-
{ no: 52, name: "
|
|
97
|
+
{ no: 52, name: "dfuWaitForDeviceToRestartTaskLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Wait for device to restart" },
|
|
98
98
|
{ no: 53, name: "accessTypeDefaultTime", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Default" },
|
|
99
99
|
{ no: 54, name: "accessTypeExtendedTime", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Extended" },
|
|
100
100
|
{ no: 55, name: "accessTypeToggle", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Toggle" },
|
|
@@ -103,12 +103,6 @@ export const BlueI18n = proto2.makeMessageType(
|
|
|
103
103
|
{ no: 58, name: "openViaOssSoSelectAccessTypeTitle", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Select an access type" },
|
|
104
104
|
{ no: 59, name: "openViaOssSoSelectAccessTypeMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "You have multiple access types available." },
|
|
105
105
|
{ no: 60, name: "provisioningDone", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Device %s has been provisioned. Please wait a few seconds for it to be ready for setup. If it doesn’t discover, try removing the batteries and restarting the lock." },
|
|
106
|
-
{ no: 62, name: "checkCurrentAVR", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Check current AVR" },
|
|
107
|
-
{ no: 63, name: "checkIfAVRUpdateNedded", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Check If AVR needs to update" },
|
|
108
|
-
{ no: 64, name: "downloadAVR", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Download AVR" },
|
|
109
|
-
{ no: 65, name: "downloadingAVR", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Downloading AVR %d.%d.%d" },
|
|
110
|
-
{ no: 66, name: "updateAVR", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Update AVR" },
|
|
111
|
-
{ no: 67, name: "avrIsAlreadyUpToDate", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "AVR is already up to date" },
|
|
112
106
|
],
|
|
113
107
|
);
|
|
114
108
|
|
package/nanopb/BlueSDK.pb.c
CHANGED
|
@@ -88,8 +88,8 @@ PB_BIND(BLUESYNCHRONIZEACCESSCREDENTIALS, BlueSynchronizeAccessCredentials_t, AU
|
|
|
88
88
|
|
|
89
89
|
|
|
90
90
|
/* Check that missing required fields will be properly detected */
|
|
91
|
-
#if PB_MAX_REQUIRED_FIELDS <
|
|
91
|
+
#if PB_MAX_REQUIRED_FIELDS < 66
|
|
92
92
|
#error Properly detecting missing required fields in BlueI18n requires \
|
|
93
|
-
setting PB_MAX_REQUIRED_FIELDS to
|
|
93
|
+
setting PB_MAX_REQUIRED_FIELDS to 66 or more.
|
|
94
94
|
#endif
|
|
95
95
|
|
package/nanopb/BlueSDK.pb.h
CHANGED
|
@@ -70,14 +70,14 @@ typedef struct BlueI18n {
|
|
|
70
70
|
pb_callback_t dfuFailedTitle;
|
|
71
71
|
pb_callback_t dfuCancellingTitle;
|
|
72
72
|
pb_callback_t dfuCompletedTitle;
|
|
73
|
-
pb_callback_t
|
|
73
|
+
pb_callback_t dfuGetAuthenticationTokenTaskLabel;
|
|
74
74
|
pb_callback_t dfuCheckLatestFWLabel;
|
|
75
75
|
pb_callback_t dfuDownloadLatestFWLabel;
|
|
76
76
|
pb_callback_t dfuPrepareUpdateLabel;
|
|
77
77
|
pb_callback_t dfuStartBootloaderLabel;
|
|
78
78
|
pb_callback_t dfuInitializationLabel;
|
|
79
79
|
pb_callback_t dfuUpdateFWLabel;
|
|
80
|
-
pb_callback_t
|
|
80
|
+
pb_callback_t dfuWaitForDeviceToRestartTaskLabel;
|
|
81
81
|
pb_callback_t accessTypeDefaultTime;
|
|
82
82
|
pb_callback_t accessTypeExtendedTime;
|
|
83
83
|
pb_callback_t accessTypeToggle;
|
|
@@ -86,12 +86,6 @@ typedef struct BlueI18n {
|
|
|
86
86
|
pb_callback_t openViaOssSoSelectAccessTypeTitle;
|
|
87
87
|
pb_callback_t openViaOssSoSelectAccessTypeMessage;
|
|
88
88
|
pb_callback_t provisioningDone;
|
|
89
|
-
pb_callback_t checkCurrentAVR;
|
|
90
|
-
pb_callback_t checkIfAVRUpdateNedded;
|
|
91
|
-
pb_callback_t downloadAVR;
|
|
92
|
-
pb_callback_t downloadingAVR;
|
|
93
|
-
pb_callback_t updateAVR;
|
|
94
|
-
pb_callback_t avrIsAlreadyUpToDate;
|
|
95
89
|
pb_callback_t nfcTransponderConnected;
|
|
96
90
|
pb_callback_t nfcTransponderDisconnected;
|
|
97
91
|
pb_callback_t nfcTransponderSuccessReadMessage;
|
|
@@ -336,7 +330,7 @@ extern "C" {
|
|
|
336
330
|
|
|
337
331
|
|
|
338
332
|
/* Initializer values for message structs */
|
|
339
|
-
#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}
|
|
333
|
+
#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}}
|
|
340
334
|
#define BLUEDEVICEDETAILSBLUETOOTH_INIT_DEFAULT {0, 0, 0}
|
|
341
335
|
#define BLUEDEVICEDETAILSUWB_INIT_DEFAULT {0}
|
|
342
336
|
#define BLUEDEVICEINFO_INIT_DEFAULT {_BLUEDEVICETYPE_MIN, {{NULL}, NULL}, 0, false, BLUEBLEMANUFACTURERINFO_INIT_DEFAULT, 0, {BLUEDEVICEDETAILSBLUETOOTH_INIT_DEFAULT}}
|
|
@@ -362,7 +356,7 @@ extern "C" {
|
|
|
362
356
|
#define BLUEREFRESHOSSSOCREDENTIALS_INIT_DEFAULT {{{NULL}, NULL}}
|
|
363
357
|
#define BLUESYNCHRONIZEACCESSCREDENTIAL_INIT_DEFAULT {BLUECREDENTIALID_INIT_DEFAULT, _BLUERETURNCODE_MIN, {{NULL}, NULL}}
|
|
364
358
|
#define BLUESYNCHRONIZEACCESSCREDENTIALS_INIT_DEFAULT {{{NULL}, NULL}}
|
|
365
|
-
#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}
|
|
359
|
+
#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}}
|
|
366
360
|
#define BLUEDEVICEDETAILSBLUETOOTH_INIT_ZERO {0, 0, 0}
|
|
367
361
|
#define BLUEDEVICEDETAILSUWB_INIT_ZERO {0}
|
|
368
362
|
#define BLUEDEVICEINFO_INIT_ZERO {_BLUEDEVICETYPE_MIN, {{NULL}, NULL}, 0, false, BLUEBLEMANUFACTURERINFO_INIT_ZERO, 0, {BLUEDEVICEDETAILSBLUETOOTH_INIT_ZERO}}
|
|
@@ -434,14 +428,14 @@ extern "C" {
|
|
|
434
428
|
#define BLUEI18N_DFUFAILEDTITLE_TAG 42
|
|
435
429
|
#define BLUEI18N_DFUCANCELLINGTITLE_TAG 43
|
|
436
430
|
#define BLUEI18N_DFUCOMPLETEDTITLE_TAG 44
|
|
437
|
-
#define
|
|
431
|
+
#define BLUEI18N_DFUGETAUTHENTICATIONTOKENTASKLABEL_TAG 45
|
|
438
432
|
#define BLUEI18N_DFUCHECKLATESTFWLABEL_TAG 46
|
|
439
433
|
#define BLUEI18N_DFUDOWNLOADLATESTFWLABEL_TAG 47
|
|
440
434
|
#define BLUEI18N_DFUPREPAREUPDATELABEL_TAG 48
|
|
441
435
|
#define BLUEI18N_DFUSTARTBOOTLOADERLABEL_TAG 49
|
|
442
436
|
#define BLUEI18N_DFUINITIALIZATIONLABEL_TAG 50
|
|
443
437
|
#define BLUEI18N_DFUUPDATEFWLABEL_TAG 51
|
|
444
|
-
#define
|
|
438
|
+
#define BLUEI18N_DFUWAITFORDEVICETORESTARTTASKLABEL_TAG 52
|
|
445
439
|
#define BLUEI18N_ACCESSTYPEDEFAULTTIME_TAG 53
|
|
446
440
|
#define BLUEI18N_ACCESSTYPEEXTENDEDTIME_TAG 54
|
|
447
441
|
#define BLUEI18N_ACCESSTYPETOGGLE_TAG 55
|
|
@@ -450,12 +444,6 @@ extern "C" {
|
|
|
450
444
|
#define BLUEI18N_OPENVIAOSSSOSELECTACCESSTYPETITLE_TAG 58
|
|
451
445
|
#define BLUEI18N_OPENVIAOSSSOSELECTACCESSTYPEMESSAGE_TAG 59
|
|
452
446
|
#define BLUEI18N_PROVISIONINGDONE_TAG 60
|
|
453
|
-
#define BLUEI18N_CHECKCURRENTAVR_TAG 62
|
|
454
|
-
#define BLUEI18N_CHECKIFAVRUPDATENEDDED_TAG 63
|
|
455
|
-
#define BLUEI18N_DOWNLOADAVR_TAG 64
|
|
456
|
-
#define BLUEI18N_DOWNLOADINGAVR_TAG 65
|
|
457
|
-
#define BLUEI18N_UPDATEAVR_TAG 66
|
|
458
|
-
#define BLUEI18N_AVRISALREADYUPTODATE_TAG 67
|
|
459
447
|
#define BLUEI18N_NFCTRANSPONDERCONNECTED_TAG 100
|
|
460
448
|
#define BLUEI18N_NFCTRANSPONDERDISCONNECTED_TAG 101
|
|
461
449
|
#define BLUEI18N_NFCTRANSPONDERSUCCESSREADMESSAGE_TAG 102
|
|
@@ -598,14 +586,14 @@ X(a, CALLBACK, REQUIRED, STRING, dfuInProgressTitle, 41) \
|
|
|
598
586
|
X(a, CALLBACK, REQUIRED, STRING, dfuFailedTitle, 42) \
|
|
599
587
|
X(a, CALLBACK, REQUIRED, STRING, dfuCancellingTitle, 43) \
|
|
600
588
|
X(a, CALLBACK, REQUIRED, STRING, dfuCompletedTitle, 44) \
|
|
601
|
-
X(a, CALLBACK, REQUIRED, STRING,
|
|
589
|
+
X(a, CALLBACK, REQUIRED, STRING, dfuGetAuthenticationTokenTaskLabel, 45) \
|
|
602
590
|
X(a, CALLBACK, REQUIRED, STRING, dfuCheckLatestFWLabel, 46) \
|
|
603
591
|
X(a, CALLBACK, REQUIRED, STRING, dfuDownloadLatestFWLabel, 47) \
|
|
604
592
|
X(a, CALLBACK, REQUIRED, STRING, dfuPrepareUpdateLabel, 48) \
|
|
605
593
|
X(a, CALLBACK, REQUIRED, STRING, dfuStartBootloaderLabel, 49) \
|
|
606
594
|
X(a, CALLBACK, REQUIRED, STRING, dfuInitializationLabel, 50) \
|
|
607
595
|
X(a, CALLBACK, REQUIRED, STRING, dfuUpdateFWLabel, 51) \
|
|
608
|
-
X(a, CALLBACK, REQUIRED, STRING,
|
|
596
|
+
X(a, CALLBACK, REQUIRED, STRING, dfuWaitForDeviceToRestartTaskLabel, 52) \
|
|
609
597
|
X(a, CALLBACK, REQUIRED, STRING, accessTypeDefaultTime, 53) \
|
|
610
598
|
X(a, CALLBACK, REQUIRED, STRING, accessTypeExtendedTime, 54) \
|
|
611
599
|
X(a, CALLBACK, REQUIRED, STRING, accessTypeToggle, 55) \
|
|
@@ -614,12 +602,6 @@ X(a, CALLBACK, REQUIRED, STRING, accessTypeCustomTime, 57) \
|
|
|
614
602
|
X(a, CALLBACK, REQUIRED, STRING, openViaOssSoSelectAccessTypeTitle, 58) \
|
|
615
603
|
X(a, CALLBACK, REQUIRED, STRING, openViaOssSoSelectAccessTypeMessage, 59) \
|
|
616
604
|
X(a, CALLBACK, REQUIRED, STRING, provisioningDone, 60) \
|
|
617
|
-
X(a, CALLBACK, REQUIRED, STRING, checkCurrentAVR, 62) \
|
|
618
|
-
X(a, CALLBACK, REQUIRED, STRING, checkIfAVRUpdateNedded, 63) \
|
|
619
|
-
X(a, CALLBACK, REQUIRED, STRING, downloadAVR, 64) \
|
|
620
|
-
X(a, CALLBACK, REQUIRED, STRING, downloadingAVR, 65) \
|
|
621
|
-
X(a, CALLBACK, REQUIRED, STRING, updateAVR, 66) \
|
|
622
|
-
X(a, CALLBACK, REQUIRED, STRING, avrIsAlreadyUpToDate, 67) \
|
|
623
605
|
X(a, CALLBACK, REQUIRED, STRING, nfcTransponderConnected, 100) \
|
|
624
606
|
X(a, CALLBACK, REQUIRED, STRING, nfcTransponderDisconnected, 101) \
|
|
625
607
|
X(a, CALLBACK, REQUIRED, STRING, nfcTransponderSuccessReadMessage, 102) \
|
package/package.json
CHANGED
package/swift/BlueSDK.pb.swift
CHANGED
|
@@ -498,14 +498,14 @@ public struct BlueI18n: @unchecked Sendable {
|
|
|
498
498
|
/// Clears the value of `dfuCompletedTitle`. Subsequent reads from it will return its default value.
|
|
499
499
|
public mutating func clearDfuCompletedTitle() {_uniqueStorage()._dfuCompletedTitle = nil}
|
|
500
500
|
|
|
501
|
-
public var
|
|
502
|
-
get {return _storage.
|
|
503
|
-
set {_uniqueStorage().
|
|
501
|
+
public var dfuGetAuthenticationTokenTaskLabel: String {
|
|
502
|
+
get {return _storage._dfuGetAuthenticationTokenTaskLabel ?? "Issue authentication token"}
|
|
503
|
+
set {_uniqueStorage()._dfuGetAuthenticationTokenTaskLabel = newValue}
|
|
504
504
|
}
|
|
505
|
-
/// Returns true if `
|
|
506
|
-
public var
|
|
507
|
-
/// Clears the value of `
|
|
508
|
-
public mutating func
|
|
505
|
+
/// Returns true if `dfuGetAuthenticationTokenTaskLabel` has been explicitly set.
|
|
506
|
+
public var hasDfuGetAuthenticationTokenTaskLabel: Bool {return _storage._dfuGetAuthenticationTokenTaskLabel != nil}
|
|
507
|
+
/// Clears the value of `dfuGetAuthenticationTokenTaskLabel`. Subsequent reads from it will return its default value.
|
|
508
|
+
public mutating func clearDfuGetAuthenticationTokenTaskLabel() {_uniqueStorage()._dfuGetAuthenticationTokenTaskLabel = nil}
|
|
509
509
|
|
|
510
510
|
public var dfuCheckLatestFwlabel: String {
|
|
511
511
|
get {return _storage._dfuCheckLatestFwlabel ?? "Check latest firmware"}
|
|
@@ -561,14 +561,14 @@ public struct BlueI18n: @unchecked Sendable {
|
|
|
561
561
|
/// Clears the value of `dfuUpdateFwlabel`. Subsequent reads from it will return its default value.
|
|
562
562
|
public mutating func clearDfuUpdateFwlabel() {_uniqueStorage()._dfuUpdateFwlabel = nil}
|
|
563
563
|
|
|
564
|
-
public var
|
|
565
|
-
get {return _storage.
|
|
566
|
-
set {_uniqueStorage().
|
|
564
|
+
public var dfuWaitForDeviceToRestartTaskLabel: String {
|
|
565
|
+
get {return _storage._dfuWaitForDeviceToRestartTaskLabel ?? "Wait for device to restart"}
|
|
566
|
+
set {_uniqueStorage()._dfuWaitForDeviceToRestartTaskLabel = newValue}
|
|
567
567
|
}
|
|
568
|
-
/// Returns true if `
|
|
569
|
-
public var
|
|
570
|
-
/// Clears the value of `
|
|
571
|
-
public mutating func
|
|
568
|
+
/// Returns true if `dfuWaitForDeviceToRestartTaskLabel` has been explicitly set.
|
|
569
|
+
public var hasDfuWaitForDeviceToRestartTaskLabel: Bool {return _storage._dfuWaitForDeviceToRestartTaskLabel != nil}
|
|
570
|
+
/// Clears the value of `dfuWaitForDeviceToRestartTaskLabel`. Subsequent reads from it will return its default value.
|
|
571
|
+
public mutating func clearDfuWaitForDeviceToRestartTaskLabel() {_uniqueStorage()._dfuWaitForDeviceToRestartTaskLabel = nil}
|
|
572
572
|
|
|
573
573
|
public var accessTypeDefaultTime: String {
|
|
574
574
|
get {return _storage._accessTypeDefaultTime ?? "Default"}
|
|
@@ -642,60 +642,6 @@ public struct BlueI18n: @unchecked Sendable {
|
|
|
642
642
|
/// Clears the value of `provisioningDone`. Subsequent reads from it will return its default value.
|
|
643
643
|
public mutating func clearProvisioningDone() {_uniqueStorage()._provisioningDone = nil}
|
|
644
644
|
|
|
645
|
-
public var checkCurrentAvr: String {
|
|
646
|
-
get {return _storage._checkCurrentAvr ?? "Check current AVR"}
|
|
647
|
-
set {_uniqueStorage()._checkCurrentAvr = newValue}
|
|
648
|
-
}
|
|
649
|
-
/// Returns true if `checkCurrentAvr` has been explicitly set.
|
|
650
|
-
public var hasCheckCurrentAvr: Bool {return _storage._checkCurrentAvr != nil}
|
|
651
|
-
/// Clears the value of `checkCurrentAvr`. Subsequent reads from it will return its default value.
|
|
652
|
-
public mutating func clearCheckCurrentAvr() {_uniqueStorage()._checkCurrentAvr = nil}
|
|
653
|
-
|
|
654
|
-
public var checkIfAvrupdateNedded: String {
|
|
655
|
-
get {return _storage._checkIfAvrupdateNedded ?? "Check If AVR needs to update"}
|
|
656
|
-
set {_uniqueStorage()._checkIfAvrupdateNedded = newValue}
|
|
657
|
-
}
|
|
658
|
-
/// Returns true if `checkIfAvrupdateNedded` has been explicitly set.
|
|
659
|
-
public var hasCheckIfAvrupdateNedded: Bool {return _storage._checkIfAvrupdateNedded != nil}
|
|
660
|
-
/// Clears the value of `checkIfAvrupdateNedded`. Subsequent reads from it will return its default value.
|
|
661
|
-
public mutating func clearCheckIfAvrupdateNedded() {_uniqueStorage()._checkIfAvrupdateNedded = nil}
|
|
662
|
-
|
|
663
|
-
public var downloadAvr: String {
|
|
664
|
-
get {return _storage._downloadAvr ?? "Download AVR"}
|
|
665
|
-
set {_uniqueStorage()._downloadAvr = newValue}
|
|
666
|
-
}
|
|
667
|
-
/// Returns true if `downloadAvr` has been explicitly set.
|
|
668
|
-
public var hasDownloadAvr: Bool {return _storage._downloadAvr != nil}
|
|
669
|
-
/// Clears the value of `downloadAvr`. Subsequent reads from it will return its default value.
|
|
670
|
-
public mutating func clearDownloadAvr() {_uniqueStorage()._downloadAvr = nil}
|
|
671
|
-
|
|
672
|
-
public var downloadingAvr: String {
|
|
673
|
-
get {return _storage._downloadingAvr ?? "Downloading AVR %d.%d.%d"}
|
|
674
|
-
set {_uniqueStorage()._downloadingAvr = newValue}
|
|
675
|
-
}
|
|
676
|
-
/// Returns true if `downloadingAvr` has been explicitly set.
|
|
677
|
-
public var hasDownloadingAvr: Bool {return _storage._downloadingAvr != nil}
|
|
678
|
-
/// Clears the value of `downloadingAvr`. Subsequent reads from it will return its default value.
|
|
679
|
-
public mutating func clearDownloadingAvr() {_uniqueStorage()._downloadingAvr = nil}
|
|
680
|
-
|
|
681
|
-
public var updateAvr: String {
|
|
682
|
-
get {return _storage._updateAvr ?? "Update AVR"}
|
|
683
|
-
set {_uniqueStorage()._updateAvr = newValue}
|
|
684
|
-
}
|
|
685
|
-
/// Returns true if `updateAvr` has been explicitly set.
|
|
686
|
-
public var hasUpdateAvr: Bool {return _storage._updateAvr != nil}
|
|
687
|
-
/// Clears the value of `updateAvr`. Subsequent reads from it will return its default value.
|
|
688
|
-
public mutating func clearUpdateAvr() {_uniqueStorage()._updateAvr = nil}
|
|
689
|
-
|
|
690
|
-
public var avrIsAlreadyUpToDate: String {
|
|
691
|
-
get {return _storage._avrIsAlreadyUpToDate ?? "AVR is already up to date"}
|
|
692
|
-
set {_uniqueStorage()._avrIsAlreadyUpToDate = newValue}
|
|
693
|
-
}
|
|
694
|
-
/// Returns true if `avrIsAlreadyUpToDate` has been explicitly set.
|
|
695
|
-
public var hasAvrIsAlreadyUpToDate: Bool {return _storage._avrIsAlreadyUpToDate != nil}
|
|
696
|
-
/// Clears the value of `avrIsAlreadyUpToDate`. Subsequent reads from it will return its default value.
|
|
697
|
-
public mutating func clearAvrIsAlreadyUpToDate() {_uniqueStorage()._avrIsAlreadyUpToDate = nil}
|
|
698
|
-
|
|
699
645
|
public var unknownFields = SwiftProtobuf.UnknownStorage()
|
|
700
646
|
|
|
701
647
|
public init() {}
|
|
@@ -1835,14 +1781,14 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
1835
1781
|
42: .same(proto: "dfuFailedTitle"),
|
|
1836
1782
|
43: .same(proto: "dfuCancellingTitle"),
|
|
1837
1783
|
44: .same(proto: "dfuCompletedTitle"),
|
|
1838
|
-
45: .same(proto: "
|
|
1784
|
+
45: .same(proto: "dfuGetAuthenticationTokenTaskLabel"),
|
|
1839
1785
|
46: .same(proto: "dfuCheckLatestFWLabel"),
|
|
1840
1786
|
47: .same(proto: "dfuDownloadLatestFWLabel"),
|
|
1841
1787
|
48: .same(proto: "dfuPrepareUpdateLabel"),
|
|
1842
1788
|
49: .same(proto: "dfuStartBootloaderLabel"),
|
|
1843
1789
|
50: .same(proto: "dfuInitializationLabel"),
|
|
1844
1790
|
51: .same(proto: "dfuUpdateFWLabel"),
|
|
1845
|
-
52: .same(proto: "
|
|
1791
|
+
52: .same(proto: "dfuWaitForDeviceToRestartTaskLabel"),
|
|
1846
1792
|
53: .same(proto: "accessTypeDefaultTime"),
|
|
1847
1793
|
54: .same(proto: "accessTypeExtendedTime"),
|
|
1848
1794
|
55: .same(proto: "accessTypeToggle"),
|
|
@@ -1851,12 +1797,6 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
1851
1797
|
58: .same(proto: "openViaOssSoSelectAccessTypeTitle"),
|
|
1852
1798
|
59: .same(proto: "openViaOssSoSelectAccessTypeMessage"),
|
|
1853
1799
|
60: .same(proto: "provisioningDone"),
|
|
1854
|
-
62: .same(proto: "checkCurrentAVR"),
|
|
1855
|
-
63: .same(proto: "checkIfAVRUpdateNedded"),
|
|
1856
|
-
64: .same(proto: "downloadAVR"),
|
|
1857
|
-
65: .same(proto: "downloadingAVR"),
|
|
1858
|
-
66: .same(proto: "updateAVR"),
|
|
1859
|
-
67: .same(proto: "avrIsAlreadyUpToDate"),
|
|
1860
1800
|
]
|
|
1861
1801
|
|
|
1862
1802
|
fileprivate class _StorageClass {
|
|
@@ -1910,14 +1850,14 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
1910
1850
|
var _dfuFailedTitle: String? = nil
|
|
1911
1851
|
var _dfuCancellingTitle: String? = nil
|
|
1912
1852
|
var _dfuCompletedTitle: String? = nil
|
|
1913
|
-
var
|
|
1853
|
+
var _dfuGetAuthenticationTokenTaskLabel: String? = nil
|
|
1914
1854
|
var _dfuCheckLatestFwlabel: String? = nil
|
|
1915
1855
|
var _dfuDownloadLatestFwlabel: String? = nil
|
|
1916
1856
|
var _dfuPrepareUpdateLabel: String? = nil
|
|
1917
1857
|
var _dfuStartBootloaderLabel: String? = nil
|
|
1918
1858
|
var _dfuInitializationLabel: String? = nil
|
|
1919
1859
|
var _dfuUpdateFwlabel: String? = nil
|
|
1920
|
-
var
|
|
1860
|
+
var _dfuWaitForDeviceToRestartTaskLabel: String? = nil
|
|
1921
1861
|
var _accessTypeDefaultTime: String? = nil
|
|
1922
1862
|
var _accessTypeExtendedTime: String? = nil
|
|
1923
1863
|
var _accessTypeToggle: String? = nil
|
|
@@ -1926,12 +1866,6 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
1926
1866
|
var _openViaOssSoSelectAccessTypeTitle: String? = nil
|
|
1927
1867
|
var _openViaOssSoSelectAccessTypeMessage: String? = nil
|
|
1928
1868
|
var _provisioningDone: String? = nil
|
|
1929
|
-
var _checkCurrentAvr: String? = nil
|
|
1930
|
-
var _checkIfAvrupdateNedded: String? = nil
|
|
1931
|
-
var _downloadAvr: String? = nil
|
|
1932
|
-
var _downloadingAvr: String? = nil
|
|
1933
|
-
var _updateAvr: String? = nil
|
|
1934
|
-
var _avrIsAlreadyUpToDate: String? = nil
|
|
1935
1869
|
|
|
1936
1870
|
// This property is used as the initial default value for new instances of the type.
|
|
1937
1871
|
// The type itself is protecting the reference to its storage via CoW semantics.
|
|
@@ -1992,14 +1926,14 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
1992
1926
|
_dfuFailedTitle = source._dfuFailedTitle
|
|
1993
1927
|
_dfuCancellingTitle = source._dfuCancellingTitle
|
|
1994
1928
|
_dfuCompletedTitle = source._dfuCompletedTitle
|
|
1995
|
-
|
|
1929
|
+
_dfuGetAuthenticationTokenTaskLabel = source._dfuGetAuthenticationTokenTaskLabel
|
|
1996
1930
|
_dfuCheckLatestFwlabel = source._dfuCheckLatestFwlabel
|
|
1997
1931
|
_dfuDownloadLatestFwlabel = source._dfuDownloadLatestFwlabel
|
|
1998
1932
|
_dfuPrepareUpdateLabel = source._dfuPrepareUpdateLabel
|
|
1999
1933
|
_dfuStartBootloaderLabel = source._dfuStartBootloaderLabel
|
|
2000
1934
|
_dfuInitializationLabel = source._dfuInitializationLabel
|
|
2001
1935
|
_dfuUpdateFwlabel = source._dfuUpdateFwlabel
|
|
2002
|
-
|
|
1936
|
+
_dfuWaitForDeviceToRestartTaskLabel = source._dfuWaitForDeviceToRestartTaskLabel
|
|
2003
1937
|
_accessTypeDefaultTime = source._accessTypeDefaultTime
|
|
2004
1938
|
_accessTypeExtendedTime = source._accessTypeExtendedTime
|
|
2005
1939
|
_accessTypeToggle = source._accessTypeToggle
|
|
@@ -2008,12 +1942,6 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
2008
1942
|
_openViaOssSoSelectAccessTypeTitle = source._openViaOssSoSelectAccessTypeTitle
|
|
2009
1943
|
_openViaOssSoSelectAccessTypeMessage = source._openViaOssSoSelectAccessTypeMessage
|
|
2010
1944
|
_provisioningDone = source._provisioningDone
|
|
2011
|
-
_checkCurrentAvr = source._checkCurrentAvr
|
|
2012
|
-
_checkIfAvrupdateNedded = source._checkIfAvrupdateNedded
|
|
2013
|
-
_downloadAvr = source._downloadAvr
|
|
2014
|
-
_downloadingAvr = source._downloadingAvr
|
|
2015
|
-
_updateAvr = source._updateAvr
|
|
2016
|
-
_avrIsAlreadyUpToDate = source._avrIsAlreadyUpToDate
|
|
2017
1945
|
}
|
|
2018
1946
|
}
|
|
2019
1947
|
|
|
@@ -2076,14 +2004,14 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
2076
2004
|
if _storage._dfuFailedTitle == nil {return false}
|
|
2077
2005
|
if _storage._dfuCancellingTitle == nil {return false}
|
|
2078
2006
|
if _storage._dfuCompletedTitle == nil {return false}
|
|
2079
|
-
if _storage.
|
|
2007
|
+
if _storage._dfuGetAuthenticationTokenTaskLabel == nil {return false}
|
|
2080
2008
|
if _storage._dfuCheckLatestFwlabel == nil {return false}
|
|
2081
2009
|
if _storage._dfuDownloadLatestFwlabel == nil {return false}
|
|
2082
2010
|
if _storage._dfuPrepareUpdateLabel == nil {return false}
|
|
2083
2011
|
if _storage._dfuStartBootloaderLabel == nil {return false}
|
|
2084
2012
|
if _storage._dfuInitializationLabel == nil {return false}
|
|
2085
2013
|
if _storage._dfuUpdateFwlabel == nil {return false}
|
|
2086
|
-
if _storage.
|
|
2014
|
+
if _storage._dfuWaitForDeviceToRestartTaskLabel == nil {return false}
|
|
2087
2015
|
if _storage._accessTypeDefaultTime == nil {return false}
|
|
2088
2016
|
if _storage._accessTypeExtendedTime == nil {return false}
|
|
2089
2017
|
if _storage._accessTypeToggle == nil {return false}
|
|
@@ -2092,12 +2020,6 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
2092
2020
|
if _storage._openViaOssSoSelectAccessTypeTitle == nil {return false}
|
|
2093
2021
|
if _storage._openViaOssSoSelectAccessTypeMessage == nil {return false}
|
|
2094
2022
|
if _storage._provisioningDone == nil {return false}
|
|
2095
|
-
if _storage._checkCurrentAvr == nil {return false}
|
|
2096
|
-
if _storage._checkIfAvrupdateNedded == nil {return false}
|
|
2097
|
-
if _storage._downloadAvr == nil {return false}
|
|
2098
|
-
if _storage._downloadingAvr == nil {return false}
|
|
2099
|
-
if _storage._updateAvr == nil {return false}
|
|
2100
|
-
if _storage._avrIsAlreadyUpToDate == nil {return false}
|
|
2101
2023
|
return true
|
|
2102
2024
|
}
|
|
2103
2025
|
}
|
|
@@ -2154,14 +2076,14 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
2154
2076
|
case 42: try { try decoder.decodeSingularStringField(value: &_storage._dfuFailedTitle) }()
|
|
2155
2077
|
case 43: try { try decoder.decodeSingularStringField(value: &_storage._dfuCancellingTitle) }()
|
|
2156
2078
|
case 44: try { try decoder.decodeSingularStringField(value: &_storage._dfuCompletedTitle) }()
|
|
2157
|
-
case 45: try { try decoder.decodeSingularStringField(value: &_storage.
|
|
2079
|
+
case 45: try { try decoder.decodeSingularStringField(value: &_storage._dfuGetAuthenticationTokenTaskLabel) }()
|
|
2158
2080
|
case 46: try { try decoder.decodeSingularStringField(value: &_storage._dfuCheckLatestFwlabel) }()
|
|
2159
2081
|
case 47: try { try decoder.decodeSingularStringField(value: &_storage._dfuDownloadLatestFwlabel) }()
|
|
2160
2082
|
case 48: try { try decoder.decodeSingularStringField(value: &_storage._dfuPrepareUpdateLabel) }()
|
|
2161
2083
|
case 49: try { try decoder.decodeSingularStringField(value: &_storage._dfuStartBootloaderLabel) }()
|
|
2162
2084
|
case 50: try { try decoder.decodeSingularStringField(value: &_storage._dfuInitializationLabel) }()
|
|
2163
2085
|
case 51: try { try decoder.decodeSingularStringField(value: &_storage._dfuUpdateFwlabel) }()
|
|
2164
|
-
case 52: try { try decoder.decodeSingularStringField(value: &_storage.
|
|
2086
|
+
case 52: try { try decoder.decodeSingularStringField(value: &_storage._dfuWaitForDeviceToRestartTaskLabel) }()
|
|
2165
2087
|
case 53: try { try decoder.decodeSingularStringField(value: &_storage._accessTypeDefaultTime) }()
|
|
2166
2088
|
case 54: try { try decoder.decodeSingularStringField(value: &_storage._accessTypeExtendedTime) }()
|
|
2167
2089
|
case 55: try { try decoder.decodeSingularStringField(value: &_storage._accessTypeToggle) }()
|
|
@@ -2170,12 +2092,6 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
2170
2092
|
case 58: try { try decoder.decodeSingularStringField(value: &_storage._openViaOssSoSelectAccessTypeTitle) }()
|
|
2171
2093
|
case 59: try { try decoder.decodeSingularStringField(value: &_storage._openViaOssSoSelectAccessTypeMessage) }()
|
|
2172
2094
|
case 60: try { try decoder.decodeSingularStringField(value: &_storage._provisioningDone) }()
|
|
2173
|
-
case 62: try { try decoder.decodeSingularStringField(value: &_storage._checkCurrentAvr) }()
|
|
2174
|
-
case 63: try { try decoder.decodeSingularStringField(value: &_storage._checkIfAvrupdateNedded) }()
|
|
2175
|
-
case 64: try { try decoder.decodeSingularStringField(value: &_storage._downloadAvr) }()
|
|
2176
|
-
case 65: try { try decoder.decodeSingularStringField(value: &_storage._downloadingAvr) }()
|
|
2177
|
-
case 66: try { try decoder.decodeSingularStringField(value: &_storage._updateAvr) }()
|
|
2178
|
-
case 67: try { try decoder.decodeSingularStringField(value: &_storage._avrIsAlreadyUpToDate) }()
|
|
2179
2095
|
case 100: try { try decoder.decodeSingularStringField(value: &_storage._nfcTransponderConnected) }()
|
|
2180
2096
|
case 101: try { try decoder.decodeSingularStringField(value: &_storage._nfcTransponderDisconnected) }()
|
|
2181
2097
|
case 102: try { try decoder.decodeSingularStringField(value: &_storage._nfcTransponderSuccessReadMessage) }()
|
|
@@ -2326,7 +2242,7 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
2326
2242
|
try { if let v = _storage._dfuCompletedTitle {
|
|
2327
2243
|
try visitor.visitSingularStringField(value: v, fieldNumber: 44)
|
|
2328
2244
|
} }()
|
|
2329
|
-
try { if let v = _storage.
|
|
2245
|
+
try { if let v = _storage._dfuGetAuthenticationTokenTaskLabel {
|
|
2330
2246
|
try visitor.visitSingularStringField(value: v, fieldNumber: 45)
|
|
2331
2247
|
} }()
|
|
2332
2248
|
try { if let v = _storage._dfuCheckLatestFwlabel {
|
|
@@ -2347,7 +2263,7 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
2347
2263
|
try { if let v = _storage._dfuUpdateFwlabel {
|
|
2348
2264
|
try visitor.visitSingularStringField(value: v, fieldNumber: 51)
|
|
2349
2265
|
} }()
|
|
2350
|
-
try { if let v = _storage.
|
|
2266
|
+
try { if let v = _storage._dfuWaitForDeviceToRestartTaskLabel {
|
|
2351
2267
|
try visitor.visitSingularStringField(value: v, fieldNumber: 52)
|
|
2352
2268
|
} }()
|
|
2353
2269
|
try { if let v = _storage._accessTypeDefaultTime {
|
|
@@ -2374,24 +2290,6 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
2374
2290
|
try { if let v = _storage._provisioningDone {
|
|
2375
2291
|
try visitor.visitSingularStringField(value: v, fieldNumber: 60)
|
|
2376
2292
|
} }()
|
|
2377
|
-
try { if let v = _storage._checkCurrentAvr {
|
|
2378
|
-
try visitor.visitSingularStringField(value: v, fieldNumber: 62)
|
|
2379
|
-
} }()
|
|
2380
|
-
try { if let v = _storage._checkIfAvrupdateNedded {
|
|
2381
|
-
try visitor.visitSingularStringField(value: v, fieldNumber: 63)
|
|
2382
|
-
} }()
|
|
2383
|
-
try { if let v = _storage._downloadAvr {
|
|
2384
|
-
try visitor.visitSingularStringField(value: v, fieldNumber: 64)
|
|
2385
|
-
} }()
|
|
2386
|
-
try { if let v = _storage._downloadingAvr {
|
|
2387
|
-
try visitor.visitSingularStringField(value: v, fieldNumber: 65)
|
|
2388
|
-
} }()
|
|
2389
|
-
try { if let v = _storage._updateAvr {
|
|
2390
|
-
try visitor.visitSingularStringField(value: v, fieldNumber: 66)
|
|
2391
|
-
} }()
|
|
2392
|
-
try { if let v = _storage._avrIsAlreadyUpToDate {
|
|
2393
|
-
try visitor.visitSingularStringField(value: v, fieldNumber: 67)
|
|
2394
|
-
} }()
|
|
2395
2293
|
try { if let v = _storage._nfcTransponderConnected {
|
|
2396
2294
|
try visitor.visitSingularStringField(value: v, fieldNumber: 100)
|
|
2397
2295
|
} }()
|
|
@@ -2469,14 +2367,14 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
2469
2367
|
if _storage._dfuFailedTitle != rhs_storage._dfuFailedTitle {return false}
|
|
2470
2368
|
if _storage._dfuCancellingTitle != rhs_storage._dfuCancellingTitle {return false}
|
|
2471
2369
|
if _storage._dfuCompletedTitle != rhs_storage._dfuCompletedTitle {return false}
|
|
2472
|
-
if _storage.
|
|
2370
|
+
if _storage._dfuGetAuthenticationTokenTaskLabel != rhs_storage._dfuGetAuthenticationTokenTaskLabel {return false}
|
|
2473
2371
|
if _storage._dfuCheckLatestFwlabel != rhs_storage._dfuCheckLatestFwlabel {return false}
|
|
2474
2372
|
if _storage._dfuDownloadLatestFwlabel != rhs_storage._dfuDownloadLatestFwlabel {return false}
|
|
2475
2373
|
if _storage._dfuPrepareUpdateLabel != rhs_storage._dfuPrepareUpdateLabel {return false}
|
|
2476
2374
|
if _storage._dfuStartBootloaderLabel != rhs_storage._dfuStartBootloaderLabel {return false}
|
|
2477
2375
|
if _storage._dfuInitializationLabel != rhs_storage._dfuInitializationLabel {return false}
|
|
2478
2376
|
if _storage._dfuUpdateFwlabel != rhs_storage._dfuUpdateFwlabel {return false}
|
|
2479
|
-
if _storage.
|
|
2377
|
+
if _storage._dfuWaitForDeviceToRestartTaskLabel != rhs_storage._dfuWaitForDeviceToRestartTaskLabel {return false}
|
|
2480
2378
|
if _storage._accessTypeDefaultTime != rhs_storage._accessTypeDefaultTime {return false}
|
|
2481
2379
|
if _storage._accessTypeExtendedTime != rhs_storage._accessTypeExtendedTime {return false}
|
|
2482
2380
|
if _storage._accessTypeToggle != rhs_storage._accessTypeToggle {return false}
|
|
@@ -2485,12 +2383,6 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
2485
2383
|
if _storage._openViaOssSoSelectAccessTypeTitle != rhs_storage._openViaOssSoSelectAccessTypeTitle {return false}
|
|
2486
2384
|
if _storage._openViaOssSoSelectAccessTypeMessage != rhs_storage._openViaOssSoSelectAccessTypeMessage {return false}
|
|
2487
2385
|
if _storage._provisioningDone != rhs_storage._provisioningDone {return false}
|
|
2488
|
-
if _storage._checkCurrentAvr != rhs_storage._checkCurrentAvr {return false}
|
|
2489
|
-
if _storage._checkIfAvrupdateNedded != rhs_storage._checkIfAvrupdateNedded {return false}
|
|
2490
|
-
if _storage._downloadAvr != rhs_storage._downloadAvr {return false}
|
|
2491
|
-
if _storage._downloadingAvr != rhs_storage._downloadingAvr {return false}
|
|
2492
|
-
if _storage._updateAvr != rhs_storage._updateAvr {return false}
|
|
2493
|
-
if _storage._avrIsAlreadyUpToDate != rhs_storage._avrIsAlreadyUpToDate {return false}
|
|
2494
2386
|
return true
|
|
2495
2387
|
}
|
|
2496
2388
|
if !storagesAreEqual {return false}
|