@blueid/access-proto 0.102.0 → 0.105.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 +2 -0
- package/BlueSDK.proto +26 -0
- package/cjs/BlueCore_pb.d.ts +10 -0
- package/cjs/BlueCore_pb.js +2 -0
- package/cjs/BlueSDK_pb.d.ts +60 -0
- package/cjs/BlueSDK_pb.js +13 -1
- package/es/BlueCore_pb.d.ts +10 -0
- package/es/BlueCore_pb.js +2 -0
- package/es/BlueSDK_pb.d.ts +60 -0
- package/es/BlueSDK_pb.js +12 -0
- package/nanopb/BlueCore.pb.h +2 -0
- package/nanopb/BlueSDK.pb.h +39 -3
- package/package.json +1 -1
- package/swift/BlueCore.pb.swift +8 -32
- package/swift/BlueSDK.pb.swift +216 -0
package/BlueCore.proto
CHANGED
|
@@ -189,6 +189,8 @@ enum BlueReturnCode {
|
|
|
189
189
|
SdkGetBlacklistEntriesFailed = -419;
|
|
190
190
|
SdkGetSystemStatusFailed = -420;
|
|
191
191
|
SdkWaitDeviceToRestartFailed = -421;
|
|
192
|
+
SdkUnzipError = -422;
|
|
193
|
+
SdkInvalidFirmwareURL = -423;
|
|
192
194
|
|
|
193
195
|
//
|
|
194
196
|
// Everything after here equals OssMaIoReturnCode codes; to gather the
|
package/BlueSDK.proto
CHANGED
|
@@ -83,6 +83,32 @@ message BlueI18n {
|
|
|
83
83
|
[ default = "Retrieve system status" ];
|
|
84
84
|
required string syncDevicePushSystemStatusTaskLabel = 34
|
|
85
85
|
[ default = "Push system status" ];
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
required string dfuInProgressTitle = 35
|
|
89
|
+
[ default = "Update in Progress" ];
|
|
90
|
+
required string dfuFailedTitle = 36
|
|
91
|
+
[ default = "Update has failed" ];
|
|
92
|
+
required string dfuCancellingTitle = 37
|
|
93
|
+
[ default = "Cancelling..." ];
|
|
94
|
+
required string dfuCompletedTitle = 38
|
|
95
|
+
[ default = "Update has been completed" ];
|
|
96
|
+
required string dfuGetAuthenticationTokenTaskLabel = 39
|
|
97
|
+
[ default = "Issue authentication token" ];
|
|
98
|
+
required string dfuCheckLatestFWLabel = 40
|
|
99
|
+
[ default = "Check latest firmware" ];
|
|
100
|
+
required string dfuDownloadLatestFWLabel = 41
|
|
101
|
+
[ default = "Download latest firmware" ];
|
|
102
|
+
required string dfuPrepareUpdateLabel = 42
|
|
103
|
+
[ default = "Prepare Update" ];
|
|
104
|
+
required string dfuStartBootloaderLabel = 43
|
|
105
|
+
[ default = "Start Bootloader" ];
|
|
106
|
+
required string dfuFindDFUPeripheralLabel = 44
|
|
107
|
+
[ default = "Find DFU peripheral" ];
|
|
108
|
+
required string dfuUpdateFWLabel = 45
|
|
109
|
+
[ default = "Update firmware" ];
|
|
110
|
+
required string dfuWaitForDeviceToRestartTaskLabel = 46
|
|
111
|
+
[ default = "Wait for device to restart" ];
|
|
86
112
|
}
|
|
87
113
|
|
|
88
114
|
///////////////////////////////////////////////////////////////////////
|
package/cjs/BlueCore_pb.d.ts
CHANGED
|
@@ -501,6 +501,16 @@ export declare enum BlueReturnCode {
|
|
|
501
501
|
*/
|
|
502
502
|
SdkWaitDeviceToRestartFailed = -421,
|
|
503
503
|
|
|
504
|
+
/**
|
|
505
|
+
* @generated from enum value: SdkUnzipError = -422;
|
|
506
|
+
*/
|
|
507
|
+
SdkUnzipError = -422,
|
|
508
|
+
|
|
509
|
+
/**
|
|
510
|
+
* @generated from enum value: SdkInvalidFirmwareURL = -423;
|
|
511
|
+
*/
|
|
512
|
+
SdkInvalidFirmwareURL = -423,
|
|
513
|
+
|
|
504
514
|
/**
|
|
505
515
|
* @generated from enum value: OssMAReturnCodeStart = -1000;
|
|
506
516
|
*/
|
package/cjs/BlueCore_pb.js
CHANGED
|
@@ -190,6 +190,8 @@ const BlueReturnCode = import_protobuf.proto2.makeEnum(
|
|
|
190
190
|
{ no: -419, name: "SdkGetBlacklistEntriesFailed" },
|
|
191
191
|
{ no: -420, name: "SdkGetSystemStatusFailed" },
|
|
192
192
|
{ no: -421, name: "SdkWaitDeviceToRestartFailed" },
|
|
193
|
+
{ no: -422, name: "SdkUnzipError" },
|
|
194
|
+
{ no: -423, name: "SdkInvalidFirmwareURL" },
|
|
193
195
|
{ no: -1e3, name: "OssMAReturnCodeStart" },
|
|
194
196
|
{ no: -1100, name: "OssMAReturnCodeEnd" }
|
|
195
197
|
]
|
package/cjs/BlueSDK_pb.d.ts
CHANGED
|
@@ -221,6 +221,66 @@ export declare class BlueI18n extends Message<BlueI18n> {
|
|
|
221
221
|
*/
|
|
222
222
|
syncDevicePushSystemStatusTaskLabel: string;
|
|
223
223
|
|
|
224
|
+
/**
|
|
225
|
+
* @generated from field: required string dfuInProgressTitle = 35 [default = "Update in Progress"];
|
|
226
|
+
*/
|
|
227
|
+
dfuInProgressTitle: string;
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* @generated from field: required string dfuFailedTitle = 36 [default = "Update has failed"];
|
|
231
|
+
*/
|
|
232
|
+
dfuFailedTitle: string;
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* @generated from field: required string dfuCancellingTitle = 37 [default = "Cancelling..."];
|
|
236
|
+
*/
|
|
237
|
+
dfuCancellingTitle: string;
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* @generated from field: required string dfuCompletedTitle = 38 [default = "Update has been completed"];
|
|
241
|
+
*/
|
|
242
|
+
dfuCompletedTitle: string;
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* @generated from field: required string dfuGetAuthenticationTokenTaskLabel = 39 [default = "Issue authentication token"];
|
|
246
|
+
*/
|
|
247
|
+
dfuGetAuthenticationTokenTaskLabel: string;
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* @generated from field: required string dfuCheckLatestFWLabel = 40 [default = "Check latest firmware"];
|
|
251
|
+
*/
|
|
252
|
+
dfuCheckLatestFWLabel: string;
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* @generated from field: required string dfuDownloadLatestFWLabel = 41 [default = "Download latest firmware"];
|
|
256
|
+
*/
|
|
257
|
+
dfuDownloadLatestFWLabel: string;
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* @generated from field: required string dfuPrepareUpdateLabel = 42 [default = "Prepare Update"];
|
|
261
|
+
*/
|
|
262
|
+
dfuPrepareUpdateLabel: string;
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* @generated from field: required string dfuStartBootloaderLabel = 43 [default = "Start Bootloader"];
|
|
266
|
+
*/
|
|
267
|
+
dfuStartBootloaderLabel: string;
|
|
268
|
+
|
|
269
|
+
/**
|
|
270
|
+
* @generated from field: required string dfuFindDFUPeripheralLabel = 44 [default = "Find DFU peripheral"];
|
|
271
|
+
*/
|
|
272
|
+
dfuFindDFUPeripheralLabel: string;
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* @generated from field: required string dfuUpdateFWLabel = 45 [default = "Update firmware"];
|
|
276
|
+
*/
|
|
277
|
+
dfuUpdateFWLabel: string;
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* @generated from field: required string dfuWaitForDeviceToRestartTaskLabel = 46 [default = "Wait for device to restart"];
|
|
281
|
+
*/
|
|
282
|
+
dfuWaitForDeviceToRestartTaskLabel: string;
|
|
283
|
+
|
|
224
284
|
constructor(data?: PartialMessage<BlueI18n>);
|
|
225
285
|
|
|
226
286
|
static readonly runtime: typeof proto2;
|
package/cjs/BlueSDK_pb.js
CHANGED
|
@@ -89,7 +89,19 @@ const BlueI18n = import_protobuf.proto2.makeMessageType(
|
|
|
89
89
|
{ no: 31, name: "syncDeviceRetrieveBlacklistEntriesTaskLabel", kind: "scalar", T: 9, default: "Retrieve blacklist entries" },
|
|
90
90
|
{ no: 32, name: "syncDeviceDeployBlacklistEntriesTaskLabel", kind: "scalar", T: 9, default: "Deploy blacklist entries" },
|
|
91
91
|
{ no: 33, name: "syncDeviceRetrieveSystemStatusTaskLabel", kind: "scalar", T: 9, default: "Retrieve system status" },
|
|
92
|
-
{ no: 34, name: "syncDevicePushSystemStatusTaskLabel", kind: "scalar", T: 9, default: "Push system status" }
|
|
92
|
+
{ no: 34, name: "syncDevicePushSystemStatusTaskLabel", kind: "scalar", T: 9, default: "Push system status" },
|
|
93
|
+
{ no: 35, name: "dfuInProgressTitle", kind: "scalar", T: 9, default: "Update in Progress" },
|
|
94
|
+
{ no: 36, name: "dfuFailedTitle", kind: "scalar", T: 9, default: "Update has failed" },
|
|
95
|
+
{ no: 37, name: "dfuCancellingTitle", kind: "scalar", T: 9, default: "Cancelling..." },
|
|
96
|
+
{ no: 38, name: "dfuCompletedTitle", kind: "scalar", T: 9, default: "Update has been completed" },
|
|
97
|
+
{ no: 39, name: "dfuGetAuthenticationTokenTaskLabel", kind: "scalar", T: 9, default: "Issue authentication token" },
|
|
98
|
+
{ no: 40, name: "dfuCheckLatestFWLabel", kind: "scalar", T: 9, default: "Check latest firmware" },
|
|
99
|
+
{ no: 41, name: "dfuDownloadLatestFWLabel", kind: "scalar", T: 9, default: "Download latest firmware" },
|
|
100
|
+
{ no: 42, name: "dfuPrepareUpdateLabel", kind: "scalar", T: 9, default: "Prepare Update" },
|
|
101
|
+
{ no: 43, name: "dfuStartBootloaderLabel", kind: "scalar", T: 9, default: "Start Bootloader" },
|
|
102
|
+
{ no: 44, name: "dfuFindDFUPeripheralLabel", kind: "scalar", T: 9, default: "Find DFU peripheral" },
|
|
103
|
+
{ no: 45, name: "dfuUpdateFWLabel", kind: "scalar", T: 9, default: "Update firmware" },
|
|
104
|
+
{ no: 46, name: "dfuWaitForDeviceToRestartTaskLabel", kind: "scalar", T: 9, default: "Wait for device to restart" }
|
|
93
105
|
]
|
|
94
106
|
);
|
|
95
107
|
const BlueDeviceDetailsBluetooth = import_protobuf.proto2.makeMessageType(
|
package/es/BlueCore_pb.d.ts
CHANGED
|
@@ -501,6 +501,16 @@ export declare enum BlueReturnCode {
|
|
|
501
501
|
*/
|
|
502
502
|
SdkWaitDeviceToRestartFailed = -421,
|
|
503
503
|
|
|
504
|
+
/**
|
|
505
|
+
* @generated from enum value: SdkUnzipError = -422;
|
|
506
|
+
*/
|
|
507
|
+
SdkUnzipError = -422,
|
|
508
|
+
|
|
509
|
+
/**
|
|
510
|
+
* @generated from enum value: SdkInvalidFirmwareURL = -423;
|
|
511
|
+
*/
|
|
512
|
+
SdkInvalidFirmwareURL = -423,
|
|
513
|
+
|
|
504
514
|
/**
|
|
505
515
|
* @generated from enum value: OssMAReturnCodeStart = -1000;
|
|
506
516
|
*/
|
package/es/BlueCore_pb.js
CHANGED
|
@@ -106,6 +106,8 @@ export const BlueReturnCode = proto2.makeEnum(
|
|
|
106
106
|
{no: -419, name: "SdkGetBlacklistEntriesFailed"},
|
|
107
107
|
{no: -420, name: "SdkGetSystemStatusFailed"},
|
|
108
108
|
{no: -421, name: "SdkWaitDeviceToRestartFailed"},
|
|
109
|
+
{no: -422, name: "SdkUnzipError"},
|
|
110
|
+
{no: -423, name: "SdkInvalidFirmwareURL"},
|
|
109
111
|
{no: -1000, name: "OssMAReturnCodeStart"},
|
|
110
112
|
{no: -1100, name: "OssMAReturnCodeEnd"},
|
|
111
113
|
],
|
package/es/BlueSDK_pb.d.ts
CHANGED
|
@@ -221,6 +221,66 @@ export declare class BlueI18n extends Message<BlueI18n> {
|
|
|
221
221
|
*/
|
|
222
222
|
syncDevicePushSystemStatusTaskLabel: string;
|
|
223
223
|
|
|
224
|
+
/**
|
|
225
|
+
* @generated from field: required string dfuInProgressTitle = 35 [default = "Update in Progress"];
|
|
226
|
+
*/
|
|
227
|
+
dfuInProgressTitle: string;
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* @generated from field: required string dfuFailedTitle = 36 [default = "Update has failed"];
|
|
231
|
+
*/
|
|
232
|
+
dfuFailedTitle: string;
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* @generated from field: required string dfuCancellingTitle = 37 [default = "Cancelling..."];
|
|
236
|
+
*/
|
|
237
|
+
dfuCancellingTitle: string;
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* @generated from field: required string dfuCompletedTitle = 38 [default = "Update has been completed"];
|
|
241
|
+
*/
|
|
242
|
+
dfuCompletedTitle: string;
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* @generated from field: required string dfuGetAuthenticationTokenTaskLabel = 39 [default = "Issue authentication token"];
|
|
246
|
+
*/
|
|
247
|
+
dfuGetAuthenticationTokenTaskLabel: string;
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* @generated from field: required string dfuCheckLatestFWLabel = 40 [default = "Check latest firmware"];
|
|
251
|
+
*/
|
|
252
|
+
dfuCheckLatestFWLabel: string;
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* @generated from field: required string dfuDownloadLatestFWLabel = 41 [default = "Download latest firmware"];
|
|
256
|
+
*/
|
|
257
|
+
dfuDownloadLatestFWLabel: string;
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* @generated from field: required string dfuPrepareUpdateLabel = 42 [default = "Prepare Update"];
|
|
261
|
+
*/
|
|
262
|
+
dfuPrepareUpdateLabel: string;
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* @generated from field: required string dfuStartBootloaderLabel = 43 [default = "Start Bootloader"];
|
|
266
|
+
*/
|
|
267
|
+
dfuStartBootloaderLabel: string;
|
|
268
|
+
|
|
269
|
+
/**
|
|
270
|
+
* @generated from field: required string dfuFindDFUPeripheralLabel = 44 [default = "Find DFU peripheral"];
|
|
271
|
+
*/
|
|
272
|
+
dfuFindDFUPeripheralLabel: string;
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* @generated from field: required string dfuUpdateFWLabel = 45 [default = "Update firmware"];
|
|
276
|
+
*/
|
|
277
|
+
dfuUpdateFWLabel: string;
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* @generated from field: required string dfuWaitForDeviceToRestartTaskLabel = 46 [default = "Wait for device to restart"];
|
|
281
|
+
*/
|
|
282
|
+
dfuWaitForDeviceToRestartTaskLabel: string;
|
|
283
|
+
|
|
224
284
|
constructor(data?: PartialMessage<BlueI18n>);
|
|
225
285
|
|
|
226
286
|
static readonly runtime: typeof proto2;
|
package/es/BlueSDK_pb.js
CHANGED
|
@@ -70,6 +70,18 @@ export const BlueI18n = proto2.makeMessageType(
|
|
|
70
70
|
{ no: 32, name: "syncDeviceDeployBlacklistEntriesTaskLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Deploy blacklist entries" },
|
|
71
71
|
{ no: 33, name: "syncDeviceRetrieveSystemStatusTaskLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Retrieve system status" },
|
|
72
72
|
{ no: 34, name: "syncDevicePushSystemStatusTaskLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Push system status" },
|
|
73
|
+
{ no: 35, name: "dfuInProgressTitle", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Update in Progress" },
|
|
74
|
+
{ no: 36, name: "dfuFailedTitle", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Update has failed" },
|
|
75
|
+
{ no: 37, name: "dfuCancellingTitle", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Cancelling..." },
|
|
76
|
+
{ no: 38, name: "dfuCompletedTitle", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Update has been completed" },
|
|
77
|
+
{ no: 39, name: "dfuGetAuthenticationTokenTaskLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Issue authentication token" },
|
|
78
|
+
{ no: 40, name: "dfuCheckLatestFWLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Check latest firmware" },
|
|
79
|
+
{ no: 41, name: "dfuDownloadLatestFWLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Download latest firmware" },
|
|
80
|
+
{ no: 42, name: "dfuPrepareUpdateLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Prepare Update" },
|
|
81
|
+
{ no: 43, name: "dfuStartBootloaderLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Start Bootloader" },
|
|
82
|
+
{ no: 44, name: "dfuFindDFUPeripheralLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Find DFU peripheral" },
|
|
83
|
+
{ no: 45, name: "dfuUpdateFWLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Update firmware" },
|
|
84
|
+
{ no: 46, name: "dfuWaitForDeviceToRestartTaskLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Wait for device to restart" },
|
|
73
85
|
],
|
|
74
86
|
);
|
|
75
87
|
|
package/nanopb/BlueCore.pb.h
CHANGED
|
@@ -110,6 +110,8 @@ typedef enum BlueReturnCode {
|
|
|
110
110
|
BlueReturnCode_SdkGetBlacklistEntriesFailed = -419,
|
|
111
111
|
BlueReturnCode_SdkGetSystemStatusFailed = -420,
|
|
112
112
|
BlueReturnCode_SdkWaitDeviceToRestartFailed = -421,
|
|
113
|
+
BlueReturnCode_SdkUnzipError = -422,
|
|
114
|
+
BlueReturnCode_SdkInvalidFirmwareURL = -423,
|
|
113
115
|
BlueReturnCode_OssMAReturnCodeStart = -1000,
|
|
114
116
|
BlueReturnCode_OssMAReturnCodeEnd = -1100
|
|
115
117
|
} BlueReturnCode_t;
|
package/nanopb/BlueSDK.pb.h
CHANGED
|
@@ -59,6 +59,18 @@ typedef struct BlueI18n {
|
|
|
59
59
|
pb_callback_t syncDeviceDeployBlacklistEntriesTaskLabel;
|
|
60
60
|
pb_callback_t syncDeviceRetrieveSystemStatusTaskLabel;
|
|
61
61
|
pb_callback_t syncDevicePushSystemStatusTaskLabel;
|
|
62
|
+
pb_callback_t dfuInProgressTitle;
|
|
63
|
+
pb_callback_t dfuFailedTitle;
|
|
64
|
+
pb_callback_t dfuCancellingTitle;
|
|
65
|
+
pb_callback_t dfuCompletedTitle;
|
|
66
|
+
pb_callback_t dfuGetAuthenticationTokenTaskLabel;
|
|
67
|
+
pb_callback_t dfuCheckLatestFWLabel;
|
|
68
|
+
pb_callback_t dfuDownloadLatestFWLabel;
|
|
69
|
+
pb_callback_t dfuPrepareUpdateLabel;
|
|
70
|
+
pb_callback_t dfuStartBootloaderLabel;
|
|
71
|
+
pb_callback_t dfuFindDFUPeripheralLabel;
|
|
72
|
+
pb_callback_t dfuUpdateFWLabel;
|
|
73
|
+
pb_callback_t dfuWaitForDeviceToRestartTaskLabel;
|
|
62
74
|
} BlueI18n_t;
|
|
63
75
|
|
|
64
76
|
typedef struct BlueDeviceDetailsBluetooth {
|
|
@@ -185,7 +197,7 @@ extern "C" {
|
|
|
185
197
|
|
|
186
198
|
|
|
187
199
|
/* Initializer values for message structs */
|
|
188
|
-
#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}}
|
|
200
|
+
#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}}
|
|
189
201
|
#define BLUEDEVICEDETAILSBLUETOOTH_INIT_DEFAULT {0, 0, 0}
|
|
190
202
|
#define BLUEDEVICEDETAILSUWB_INIT_DEFAULT {0}
|
|
191
203
|
#define BLUEDEVICEINFO_INIT_DEFAULT {_BLUEDEVICETYPE_MIN, {{NULL}, NULL}, 0, false, BLUEBLEMANUFACTURERINFO_INIT_DEFAULT, 0, {BLUEDEVICEDETAILSBLUETOOTH_INIT_DEFAULT}}
|
|
@@ -199,7 +211,7 @@ extern "C" {
|
|
|
199
211
|
#define BLUEREFRESHOSSSOCREDENTIALS_INIT_DEFAULT {{{NULL}, NULL}}
|
|
200
212
|
#define BLUESYNCHRONIZEACCESSCREDENTIAL_INIT_DEFAULT {BLUECREDENTIALID_INIT_DEFAULT, _BLUERETURNCODE_MIN, {{NULL}, NULL}}
|
|
201
213
|
#define BLUESYNCHRONIZEACCESSCREDENTIALS_INIT_DEFAULT {{{NULL}, NULL}}
|
|
202
|
-
#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}}
|
|
214
|
+
#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}}
|
|
203
215
|
#define BLUEDEVICEDETAILSBLUETOOTH_INIT_ZERO {0, 0, 0}
|
|
204
216
|
#define BLUEDEVICEDETAILSUWB_INIT_ZERO {0}
|
|
205
217
|
#define BLUEDEVICEINFO_INIT_ZERO {_BLUEDEVICETYPE_MIN, {{NULL}, NULL}, 0, false, BLUEBLEMANUFACTURERINFO_INIT_ZERO, 0, {BLUEDEVICEDETAILSBLUETOOTH_INIT_ZERO}}
|
|
@@ -249,6 +261,18 @@ extern "C" {
|
|
|
249
261
|
#define BLUEI18N_SYNCDEVICEDEPLOYBLACKLISTENTRIESTASKLABEL_TAG 32
|
|
250
262
|
#define BLUEI18N_SYNCDEVICERETRIEVESYSTEMSTATUSTASKLABEL_TAG 33
|
|
251
263
|
#define BLUEI18N_SYNCDEVICEPUSHSYSTEMSTATUSTASKLABEL_TAG 34
|
|
264
|
+
#define BLUEI18N_DFUINPROGRESSTITLE_TAG 35
|
|
265
|
+
#define BLUEI18N_DFUFAILEDTITLE_TAG 36
|
|
266
|
+
#define BLUEI18N_DFUCANCELLINGTITLE_TAG 37
|
|
267
|
+
#define BLUEI18N_DFUCOMPLETEDTITLE_TAG 38
|
|
268
|
+
#define BLUEI18N_DFUGETAUTHENTICATIONTOKENTASKLABEL_TAG 39
|
|
269
|
+
#define BLUEI18N_DFUCHECKLATESTFWLABEL_TAG 40
|
|
270
|
+
#define BLUEI18N_DFUDOWNLOADLATESTFWLABEL_TAG 41
|
|
271
|
+
#define BLUEI18N_DFUPREPAREUPDATELABEL_TAG 42
|
|
272
|
+
#define BLUEI18N_DFUSTARTBOOTLOADERLABEL_TAG 43
|
|
273
|
+
#define BLUEI18N_DFUFINDDFUPERIPHERALLABEL_TAG 44
|
|
274
|
+
#define BLUEI18N_DFUUPDATEFWLABEL_TAG 45
|
|
275
|
+
#define BLUEI18N_DFUWAITFORDEVICETORESTARTTASKLABEL_TAG 46
|
|
252
276
|
#define BLUEDEVICEDETAILSBLUETOOTH_RSSI_TAG 1
|
|
253
277
|
#define BLUEDEVICEDETAILSBLUETOOTH_TXPOWER_TAG 2
|
|
254
278
|
#define BLUEDEVICEDETAILSBLUETOOTH_ISIBEACON_TAG 3
|
|
@@ -327,7 +351,19 @@ X(a, CALLBACK, REQUIRED, STRING, syncDevicePushSystemLogsTaskLabel, 30) \
|
|
|
327
351
|
X(a, CALLBACK, REQUIRED, STRING, syncDeviceRetrieveBlacklistEntriesTaskLabel, 31) \
|
|
328
352
|
X(a, CALLBACK, REQUIRED, STRING, syncDeviceDeployBlacklistEntriesTaskLabel, 32) \
|
|
329
353
|
X(a, CALLBACK, REQUIRED, STRING, syncDeviceRetrieveSystemStatusTaskLabel, 33) \
|
|
330
|
-
X(a, CALLBACK, REQUIRED, STRING, syncDevicePushSystemStatusTaskLabel, 34)
|
|
354
|
+
X(a, CALLBACK, REQUIRED, STRING, syncDevicePushSystemStatusTaskLabel, 34) \
|
|
355
|
+
X(a, CALLBACK, REQUIRED, STRING, dfuInProgressTitle, 35) \
|
|
356
|
+
X(a, CALLBACK, REQUIRED, STRING, dfuFailedTitle, 36) \
|
|
357
|
+
X(a, CALLBACK, REQUIRED, STRING, dfuCancellingTitle, 37) \
|
|
358
|
+
X(a, CALLBACK, REQUIRED, STRING, dfuCompletedTitle, 38) \
|
|
359
|
+
X(a, CALLBACK, REQUIRED, STRING, dfuGetAuthenticationTokenTaskLabel, 39) \
|
|
360
|
+
X(a, CALLBACK, REQUIRED, STRING, dfuCheckLatestFWLabel, 40) \
|
|
361
|
+
X(a, CALLBACK, REQUIRED, STRING, dfuDownloadLatestFWLabel, 41) \
|
|
362
|
+
X(a, CALLBACK, REQUIRED, STRING, dfuPrepareUpdateLabel, 42) \
|
|
363
|
+
X(a, CALLBACK, REQUIRED, STRING, dfuStartBootloaderLabel, 43) \
|
|
364
|
+
X(a, CALLBACK, REQUIRED, STRING, dfuFindDFUPeripheralLabel, 44) \
|
|
365
|
+
X(a, CALLBACK, REQUIRED, STRING, dfuUpdateFWLabel, 45) \
|
|
366
|
+
X(a, CALLBACK, REQUIRED, STRING, dfuWaitForDeviceToRestartTaskLabel, 46)
|
|
331
367
|
#define BLUEI18N_CALLBACK pb_default_field_callback
|
|
332
368
|
#define BLUEI18N_DEFAULT NULL
|
|
333
369
|
|
package/package.json
CHANGED
package/swift/BlueCore.pb.swift
CHANGED
|
@@ -129,6 +129,8 @@ public enum BlueReturnCode: SwiftProtobuf.Enum {
|
|
|
129
129
|
case sdkGetBlacklistEntriesFailed // = -419
|
|
130
130
|
case sdkGetSystemStatusFailed // = -420
|
|
131
131
|
case sdkWaitDeviceToRestartFailed // = -421
|
|
132
|
+
case sdkUnzipError // = -422
|
|
133
|
+
case sdkInvalidFirmwareURL // = -423
|
|
132
134
|
case ossMareturnCodeStart // = -1000
|
|
133
135
|
case ossMareturnCodeEnd // = -1100
|
|
134
136
|
|
|
@@ -140,6 +142,8 @@ public enum BlueReturnCode: SwiftProtobuf.Enum {
|
|
|
140
142
|
switch rawValue {
|
|
141
143
|
case -1100: self = .ossMareturnCodeEnd
|
|
142
144
|
case -1000: self = .ossMareturnCodeStart
|
|
145
|
+
case -423: self = .sdkInvalidFirmwareURL
|
|
146
|
+
case -422: self = .sdkUnzipError
|
|
143
147
|
case -421: self = .sdkWaitDeviceToRestartFailed
|
|
144
148
|
case -420: self = .sdkGetSystemStatusFailed
|
|
145
149
|
case -419: self = .sdkGetBlacklistEntriesFailed
|
|
@@ -243,6 +247,8 @@ public enum BlueReturnCode: SwiftProtobuf.Enum {
|
|
|
243
247
|
switch self {
|
|
244
248
|
case .ossMareturnCodeEnd: return -1100
|
|
245
249
|
case .ossMareturnCodeStart: return -1000
|
|
250
|
+
case .sdkInvalidFirmwareURL: return -423
|
|
251
|
+
case .sdkUnzipError: return -422
|
|
246
252
|
case .sdkWaitDeviceToRestartFailed: return -421
|
|
247
253
|
case .sdkGetSystemStatusFailed: return -420
|
|
248
254
|
case .sdkGetBlacklistEntriesFailed: return -419
|
|
@@ -2211,31 +2217,11 @@ public struct BlueOssSidMobile {
|
|
|
2211
2217
|
/// Clears the value of `infoFile`. Subsequent reads from it will return its default value.
|
|
2212
2218
|
public mutating func clearInfoFile() {self._infoFile = nil}
|
|
2213
2219
|
|
|
2214
|
-
public var requestedEventCount: UInt32 {
|
|
2215
|
-
get {return _requestedEventCount ?? 0}
|
|
2216
|
-
set {_requestedEventCount = newValue}
|
|
2217
|
-
}
|
|
2218
|
-
/// Returns true if `requestedEventCount` has been explicitly set.
|
|
2219
|
-
public var hasRequestedEventCount: Bool {return self._requestedEventCount != nil}
|
|
2220
|
-
/// Clears the value of `requestedEventCount`. Subsequent reads from it will return its default value.
|
|
2221
|
-
public mutating func clearRequestedEventCount() {self._requestedEventCount = nil}
|
|
2222
|
-
|
|
2223
|
-
public var supportedEventIds: Data {
|
|
2224
|
-
get {return _supportedEventIds ?? Data()}
|
|
2225
|
-
set {_supportedEventIds = newValue}
|
|
2226
|
-
}
|
|
2227
|
-
/// Returns true if `supportedEventIds` has been explicitly set.
|
|
2228
|
-
public var hasSupportedEventIds: Bool {return self._supportedEventIds != nil}
|
|
2229
|
-
/// Clears the value of `supportedEventIds`. Subsequent reads from it will return its default value.
|
|
2230
|
-
public mutating func clearSupportedEventIds() {self._supportedEventIds = nil}
|
|
2231
|
-
|
|
2232
2220
|
public var unknownFields = SwiftProtobuf.UnknownStorage()
|
|
2233
2221
|
|
|
2234
2222
|
public init() {}
|
|
2235
2223
|
|
|
2236
2224
|
fileprivate var _infoFile: Data? = nil
|
|
2237
|
-
fileprivate var _requestedEventCount: UInt32? = nil
|
|
2238
|
-
fileprivate var _supportedEventIds: Data? = nil
|
|
2239
2225
|
}
|
|
2240
2226
|
|
|
2241
2227
|
public struct BlueOssSidMobileProvisioningConfiguration {
|
|
@@ -3663,6 +3649,8 @@ extension BlueReturnCode: SwiftProtobuf._ProtoNameProviding {
|
|
|
3663
3649
|
public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
|
|
3664
3650
|
-1100: .same(proto: "OssMAReturnCodeEnd"),
|
|
3665
3651
|
-1000: .same(proto: "OssMAReturnCodeStart"),
|
|
3652
|
+
-423: .same(proto: "SdkInvalidFirmwareURL"),
|
|
3653
|
+
-422: .same(proto: "SdkUnzipError"),
|
|
3666
3654
|
-421: .same(proto: "SdkWaitDeviceToRestartFailed"),
|
|
3667
3655
|
-420: .same(proto: "SdkGetSystemStatusFailed"),
|
|
3668
3656
|
-419: .same(proto: "SdkGetBlacklistEntriesFailed"),
|
|
@@ -5392,8 +5380,6 @@ extension BlueOssSidMobile: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme
|
|
|
5392
5380
|
public static let protoMessageName: String = "BlueOssSidMobile"
|
|
5393
5381
|
public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
|
|
5394
5382
|
1: .same(proto: "infoFile"),
|
|
5395
|
-
2: .same(proto: "requestedEventCount"),
|
|
5396
|
-
3: .same(proto: "supportedEventIds"),
|
|
5397
5383
|
]
|
|
5398
5384
|
|
|
5399
5385
|
public var isInitialized: Bool {
|
|
@@ -5408,8 +5394,6 @@ extension BlueOssSidMobile: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme
|
|
|
5408
5394
|
// enabled. https://github.com/apple/swift-protobuf/issues/1034
|
|
5409
5395
|
switch fieldNumber {
|
|
5410
5396
|
case 1: try { try decoder.decodeSingularBytesField(value: &self._infoFile) }()
|
|
5411
|
-
case 2: try { try decoder.decodeSingularUInt32Field(value: &self._requestedEventCount) }()
|
|
5412
|
-
case 3: try { try decoder.decodeSingularBytesField(value: &self._supportedEventIds) }()
|
|
5413
5397
|
default: break
|
|
5414
5398
|
}
|
|
5415
5399
|
}
|
|
@@ -5423,19 +5407,11 @@ extension BlueOssSidMobile: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme
|
|
|
5423
5407
|
try { if let v = self._infoFile {
|
|
5424
5408
|
try visitor.visitSingularBytesField(value: v, fieldNumber: 1)
|
|
5425
5409
|
} }()
|
|
5426
|
-
try { if let v = self._requestedEventCount {
|
|
5427
|
-
try visitor.visitSingularUInt32Field(value: v, fieldNumber: 2)
|
|
5428
|
-
} }()
|
|
5429
|
-
try { if let v = self._supportedEventIds {
|
|
5430
|
-
try visitor.visitSingularBytesField(value: v, fieldNumber: 3)
|
|
5431
|
-
} }()
|
|
5432
5410
|
try unknownFields.traverse(visitor: &visitor)
|
|
5433
5411
|
}
|
|
5434
5412
|
|
|
5435
5413
|
public static func ==(lhs: BlueOssSidMobile, rhs: BlueOssSidMobile) -> Bool {
|
|
5436
5414
|
if lhs._infoFile != rhs._infoFile {return false}
|
|
5437
|
-
if lhs._requestedEventCount != rhs._requestedEventCount {return false}
|
|
5438
|
-
if lhs._supportedEventIds != rhs._supportedEventIds {return false}
|
|
5439
5415
|
if lhs.unknownFields != rhs.unknownFields {return false}
|
|
5440
5416
|
return true
|
|
5441
5417
|
}
|
package/swift/BlueSDK.pb.swift
CHANGED
|
@@ -405,6 +405,114 @@ public struct BlueI18n {
|
|
|
405
405
|
/// Clears the value of `syncDevicePushSystemStatusTaskLabel`. Subsequent reads from it will return its default value.
|
|
406
406
|
public mutating func clearSyncDevicePushSystemStatusTaskLabel() {_uniqueStorage()._syncDevicePushSystemStatusTaskLabel = nil}
|
|
407
407
|
|
|
408
|
+
public var dfuInProgressTitle: String {
|
|
409
|
+
get {return _storage._dfuInProgressTitle ?? "Update in Progress"}
|
|
410
|
+
set {_uniqueStorage()._dfuInProgressTitle = newValue}
|
|
411
|
+
}
|
|
412
|
+
/// Returns true if `dfuInProgressTitle` has been explicitly set.
|
|
413
|
+
public var hasDfuInProgressTitle: Bool {return _storage._dfuInProgressTitle != nil}
|
|
414
|
+
/// Clears the value of `dfuInProgressTitle`. Subsequent reads from it will return its default value.
|
|
415
|
+
public mutating func clearDfuInProgressTitle() {_uniqueStorage()._dfuInProgressTitle = nil}
|
|
416
|
+
|
|
417
|
+
public var dfuFailedTitle: String {
|
|
418
|
+
get {return _storage._dfuFailedTitle ?? "Update has failed"}
|
|
419
|
+
set {_uniqueStorage()._dfuFailedTitle = newValue}
|
|
420
|
+
}
|
|
421
|
+
/// Returns true if `dfuFailedTitle` has been explicitly set.
|
|
422
|
+
public var hasDfuFailedTitle: Bool {return _storage._dfuFailedTitle != nil}
|
|
423
|
+
/// Clears the value of `dfuFailedTitle`. Subsequent reads from it will return its default value.
|
|
424
|
+
public mutating func clearDfuFailedTitle() {_uniqueStorage()._dfuFailedTitle = nil}
|
|
425
|
+
|
|
426
|
+
public var dfuCancellingTitle: String {
|
|
427
|
+
get {return _storage._dfuCancellingTitle ?? "Cancelling..."}
|
|
428
|
+
set {_uniqueStorage()._dfuCancellingTitle = newValue}
|
|
429
|
+
}
|
|
430
|
+
/// Returns true if `dfuCancellingTitle` has been explicitly set.
|
|
431
|
+
public var hasDfuCancellingTitle: Bool {return _storage._dfuCancellingTitle != nil}
|
|
432
|
+
/// Clears the value of `dfuCancellingTitle`. Subsequent reads from it will return its default value.
|
|
433
|
+
public mutating func clearDfuCancellingTitle() {_uniqueStorage()._dfuCancellingTitle = nil}
|
|
434
|
+
|
|
435
|
+
public var dfuCompletedTitle: String {
|
|
436
|
+
get {return _storage._dfuCompletedTitle ?? "Update has been completed"}
|
|
437
|
+
set {_uniqueStorage()._dfuCompletedTitle = newValue}
|
|
438
|
+
}
|
|
439
|
+
/// Returns true if `dfuCompletedTitle` has been explicitly set.
|
|
440
|
+
public var hasDfuCompletedTitle: Bool {return _storage._dfuCompletedTitle != nil}
|
|
441
|
+
/// Clears the value of `dfuCompletedTitle`. Subsequent reads from it will return its default value.
|
|
442
|
+
public mutating func clearDfuCompletedTitle() {_uniqueStorage()._dfuCompletedTitle = nil}
|
|
443
|
+
|
|
444
|
+
public var dfuGetAuthenticationTokenTaskLabel: String {
|
|
445
|
+
get {return _storage._dfuGetAuthenticationTokenTaskLabel ?? "Issue authentication token"}
|
|
446
|
+
set {_uniqueStorage()._dfuGetAuthenticationTokenTaskLabel = newValue}
|
|
447
|
+
}
|
|
448
|
+
/// Returns true if `dfuGetAuthenticationTokenTaskLabel` has been explicitly set.
|
|
449
|
+
public var hasDfuGetAuthenticationTokenTaskLabel: Bool {return _storage._dfuGetAuthenticationTokenTaskLabel != nil}
|
|
450
|
+
/// Clears the value of `dfuGetAuthenticationTokenTaskLabel`. Subsequent reads from it will return its default value.
|
|
451
|
+
public mutating func clearDfuGetAuthenticationTokenTaskLabel() {_uniqueStorage()._dfuGetAuthenticationTokenTaskLabel = nil}
|
|
452
|
+
|
|
453
|
+
public var dfuCheckLatestFwlabel: String {
|
|
454
|
+
get {return _storage._dfuCheckLatestFwlabel ?? "Check latest firmware"}
|
|
455
|
+
set {_uniqueStorage()._dfuCheckLatestFwlabel = newValue}
|
|
456
|
+
}
|
|
457
|
+
/// Returns true if `dfuCheckLatestFwlabel` has been explicitly set.
|
|
458
|
+
public var hasDfuCheckLatestFwlabel: Bool {return _storage._dfuCheckLatestFwlabel != nil}
|
|
459
|
+
/// Clears the value of `dfuCheckLatestFwlabel`. Subsequent reads from it will return its default value.
|
|
460
|
+
public mutating func clearDfuCheckLatestFwlabel() {_uniqueStorage()._dfuCheckLatestFwlabel = nil}
|
|
461
|
+
|
|
462
|
+
public var dfuDownloadLatestFwlabel: String {
|
|
463
|
+
get {return _storage._dfuDownloadLatestFwlabel ?? "Download latest firmware"}
|
|
464
|
+
set {_uniqueStorage()._dfuDownloadLatestFwlabel = newValue}
|
|
465
|
+
}
|
|
466
|
+
/// Returns true if `dfuDownloadLatestFwlabel` has been explicitly set.
|
|
467
|
+
public var hasDfuDownloadLatestFwlabel: Bool {return _storage._dfuDownloadLatestFwlabel != nil}
|
|
468
|
+
/// Clears the value of `dfuDownloadLatestFwlabel`. Subsequent reads from it will return its default value.
|
|
469
|
+
public mutating func clearDfuDownloadLatestFwlabel() {_uniqueStorage()._dfuDownloadLatestFwlabel = nil}
|
|
470
|
+
|
|
471
|
+
public var dfuPrepareUpdateLabel: String {
|
|
472
|
+
get {return _storage._dfuPrepareUpdateLabel ?? "Prepare Update"}
|
|
473
|
+
set {_uniqueStorage()._dfuPrepareUpdateLabel = newValue}
|
|
474
|
+
}
|
|
475
|
+
/// Returns true if `dfuPrepareUpdateLabel` has been explicitly set.
|
|
476
|
+
public var hasDfuPrepareUpdateLabel: Bool {return _storage._dfuPrepareUpdateLabel != nil}
|
|
477
|
+
/// Clears the value of `dfuPrepareUpdateLabel`. Subsequent reads from it will return its default value.
|
|
478
|
+
public mutating func clearDfuPrepareUpdateLabel() {_uniqueStorage()._dfuPrepareUpdateLabel = nil}
|
|
479
|
+
|
|
480
|
+
public var dfuStartBootloaderLabel: String {
|
|
481
|
+
get {return _storage._dfuStartBootloaderLabel ?? "Start Bootloader"}
|
|
482
|
+
set {_uniqueStorage()._dfuStartBootloaderLabel = newValue}
|
|
483
|
+
}
|
|
484
|
+
/// Returns true if `dfuStartBootloaderLabel` has been explicitly set.
|
|
485
|
+
public var hasDfuStartBootloaderLabel: Bool {return _storage._dfuStartBootloaderLabel != nil}
|
|
486
|
+
/// Clears the value of `dfuStartBootloaderLabel`. Subsequent reads from it will return its default value.
|
|
487
|
+
public mutating func clearDfuStartBootloaderLabel() {_uniqueStorage()._dfuStartBootloaderLabel = nil}
|
|
488
|
+
|
|
489
|
+
public var dfuFindDfuperipheralLabel: String {
|
|
490
|
+
get {return _storage._dfuFindDfuperipheralLabel ?? "Find DFU peripheral"}
|
|
491
|
+
set {_uniqueStorage()._dfuFindDfuperipheralLabel = newValue}
|
|
492
|
+
}
|
|
493
|
+
/// Returns true if `dfuFindDfuperipheralLabel` has been explicitly set.
|
|
494
|
+
public var hasDfuFindDfuperipheralLabel: Bool {return _storage._dfuFindDfuperipheralLabel != nil}
|
|
495
|
+
/// Clears the value of `dfuFindDfuperipheralLabel`. Subsequent reads from it will return its default value.
|
|
496
|
+
public mutating func clearDfuFindDfuperipheralLabel() {_uniqueStorage()._dfuFindDfuperipheralLabel = nil}
|
|
497
|
+
|
|
498
|
+
public var dfuUpdateFwlabel: String {
|
|
499
|
+
get {return _storage._dfuUpdateFwlabel ?? "Update firmware"}
|
|
500
|
+
set {_uniqueStorage()._dfuUpdateFwlabel = newValue}
|
|
501
|
+
}
|
|
502
|
+
/// Returns true if `dfuUpdateFwlabel` has been explicitly set.
|
|
503
|
+
public var hasDfuUpdateFwlabel: Bool {return _storage._dfuUpdateFwlabel != nil}
|
|
504
|
+
/// Clears the value of `dfuUpdateFwlabel`. Subsequent reads from it will return its default value.
|
|
505
|
+
public mutating func clearDfuUpdateFwlabel() {_uniqueStorage()._dfuUpdateFwlabel = nil}
|
|
506
|
+
|
|
507
|
+
public var dfuWaitForDeviceToRestartTaskLabel: String {
|
|
508
|
+
get {return _storage._dfuWaitForDeviceToRestartTaskLabel ?? "Wait for device to restart"}
|
|
509
|
+
set {_uniqueStorage()._dfuWaitForDeviceToRestartTaskLabel = newValue}
|
|
510
|
+
}
|
|
511
|
+
/// Returns true if `dfuWaitForDeviceToRestartTaskLabel` has been explicitly set.
|
|
512
|
+
public var hasDfuWaitForDeviceToRestartTaskLabel: Bool {return _storage._dfuWaitForDeviceToRestartTaskLabel != nil}
|
|
513
|
+
/// Clears the value of `dfuWaitForDeviceToRestartTaskLabel`. Subsequent reads from it will return its default value.
|
|
514
|
+
public mutating func clearDfuWaitForDeviceToRestartTaskLabel() {_uniqueStorage()._dfuWaitForDeviceToRestartTaskLabel = nil}
|
|
515
|
+
|
|
408
516
|
public var unknownFields = SwiftProtobuf.UnknownStorage()
|
|
409
517
|
|
|
410
518
|
public init() {}
|
|
@@ -1023,6 +1131,18 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
1023
1131
|
32: .same(proto: "syncDeviceDeployBlacklistEntriesTaskLabel"),
|
|
1024
1132
|
33: .same(proto: "syncDeviceRetrieveSystemStatusTaskLabel"),
|
|
1025
1133
|
34: .same(proto: "syncDevicePushSystemStatusTaskLabel"),
|
|
1134
|
+
35: .same(proto: "dfuInProgressTitle"),
|
|
1135
|
+
36: .same(proto: "dfuFailedTitle"),
|
|
1136
|
+
37: .same(proto: "dfuCancellingTitle"),
|
|
1137
|
+
38: .same(proto: "dfuCompletedTitle"),
|
|
1138
|
+
39: .same(proto: "dfuGetAuthenticationTokenTaskLabel"),
|
|
1139
|
+
40: .same(proto: "dfuCheckLatestFWLabel"),
|
|
1140
|
+
41: .same(proto: "dfuDownloadLatestFWLabel"),
|
|
1141
|
+
42: .same(proto: "dfuPrepareUpdateLabel"),
|
|
1142
|
+
43: .same(proto: "dfuStartBootloaderLabel"),
|
|
1143
|
+
44: .same(proto: "dfuFindDFUPeripheralLabel"),
|
|
1144
|
+
45: .same(proto: "dfuUpdateFWLabel"),
|
|
1145
|
+
46: .same(proto: "dfuWaitForDeviceToRestartTaskLabel"),
|
|
1026
1146
|
]
|
|
1027
1147
|
|
|
1028
1148
|
fileprivate class _StorageClass {
|
|
@@ -1060,6 +1180,18 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
1060
1180
|
var _syncDeviceDeployBlacklistEntriesTaskLabel: String? = nil
|
|
1061
1181
|
var _syncDeviceRetrieveSystemStatusTaskLabel: String? = nil
|
|
1062
1182
|
var _syncDevicePushSystemStatusTaskLabel: String? = nil
|
|
1183
|
+
var _dfuInProgressTitle: String? = nil
|
|
1184
|
+
var _dfuFailedTitle: String? = nil
|
|
1185
|
+
var _dfuCancellingTitle: String? = nil
|
|
1186
|
+
var _dfuCompletedTitle: String? = nil
|
|
1187
|
+
var _dfuGetAuthenticationTokenTaskLabel: String? = nil
|
|
1188
|
+
var _dfuCheckLatestFwlabel: String? = nil
|
|
1189
|
+
var _dfuDownloadLatestFwlabel: String? = nil
|
|
1190
|
+
var _dfuPrepareUpdateLabel: String? = nil
|
|
1191
|
+
var _dfuStartBootloaderLabel: String? = nil
|
|
1192
|
+
var _dfuFindDfuperipheralLabel: String? = nil
|
|
1193
|
+
var _dfuUpdateFwlabel: String? = nil
|
|
1194
|
+
var _dfuWaitForDeviceToRestartTaskLabel: String? = nil
|
|
1063
1195
|
|
|
1064
1196
|
static let defaultInstance = _StorageClass()
|
|
1065
1197
|
|
|
@@ -1100,6 +1232,18 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
1100
1232
|
_syncDeviceDeployBlacklistEntriesTaskLabel = source._syncDeviceDeployBlacklistEntriesTaskLabel
|
|
1101
1233
|
_syncDeviceRetrieveSystemStatusTaskLabel = source._syncDeviceRetrieveSystemStatusTaskLabel
|
|
1102
1234
|
_syncDevicePushSystemStatusTaskLabel = source._syncDevicePushSystemStatusTaskLabel
|
|
1235
|
+
_dfuInProgressTitle = source._dfuInProgressTitle
|
|
1236
|
+
_dfuFailedTitle = source._dfuFailedTitle
|
|
1237
|
+
_dfuCancellingTitle = source._dfuCancellingTitle
|
|
1238
|
+
_dfuCompletedTitle = source._dfuCompletedTitle
|
|
1239
|
+
_dfuGetAuthenticationTokenTaskLabel = source._dfuGetAuthenticationTokenTaskLabel
|
|
1240
|
+
_dfuCheckLatestFwlabel = source._dfuCheckLatestFwlabel
|
|
1241
|
+
_dfuDownloadLatestFwlabel = source._dfuDownloadLatestFwlabel
|
|
1242
|
+
_dfuPrepareUpdateLabel = source._dfuPrepareUpdateLabel
|
|
1243
|
+
_dfuStartBootloaderLabel = source._dfuStartBootloaderLabel
|
|
1244
|
+
_dfuFindDfuperipheralLabel = source._dfuFindDfuperipheralLabel
|
|
1245
|
+
_dfuUpdateFwlabel = source._dfuUpdateFwlabel
|
|
1246
|
+
_dfuWaitForDeviceToRestartTaskLabel = source._dfuWaitForDeviceToRestartTaskLabel
|
|
1103
1247
|
}
|
|
1104
1248
|
}
|
|
1105
1249
|
|
|
@@ -1146,6 +1290,18 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
1146
1290
|
if _storage._syncDeviceDeployBlacklistEntriesTaskLabel == nil {return false}
|
|
1147
1291
|
if _storage._syncDeviceRetrieveSystemStatusTaskLabel == nil {return false}
|
|
1148
1292
|
if _storage._syncDevicePushSystemStatusTaskLabel == nil {return false}
|
|
1293
|
+
if _storage._dfuInProgressTitle == nil {return false}
|
|
1294
|
+
if _storage._dfuFailedTitle == nil {return false}
|
|
1295
|
+
if _storage._dfuCancellingTitle == nil {return false}
|
|
1296
|
+
if _storage._dfuCompletedTitle == nil {return false}
|
|
1297
|
+
if _storage._dfuGetAuthenticationTokenTaskLabel == nil {return false}
|
|
1298
|
+
if _storage._dfuCheckLatestFwlabel == nil {return false}
|
|
1299
|
+
if _storage._dfuDownloadLatestFwlabel == nil {return false}
|
|
1300
|
+
if _storage._dfuPrepareUpdateLabel == nil {return false}
|
|
1301
|
+
if _storage._dfuStartBootloaderLabel == nil {return false}
|
|
1302
|
+
if _storage._dfuFindDfuperipheralLabel == nil {return false}
|
|
1303
|
+
if _storage._dfuUpdateFwlabel == nil {return false}
|
|
1304
|
+
if _storage._dfuWaitForDeviceToRestartTaskLabel == nil {return false}
|
|
1149
1305
|
return true
|
|
1150
1306
|
}
|
|
1151
1307
|
}
|
|
@@ -1192,6 +1348,18 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
1192
1348
|
case 32: try { try decoder.decodeSingularStringField(value: &_storage._syncDeviceDeployBlacklistEntriesTaskLabel) }()
|
|
1193
1349
|
case 33: try { try decoder.decodeSingularStringField(value: &_storage._syncDeviceRetrieveSystemStatusTaskLabel) }()
|
|
1194
1350
|
case 34: try { try decoder.decodeSingularStringField(value: &_storage._syncDevicePushSystemStatusTaskLabel) }()
|
|
1351
|
+
case 35: try { try decoder.decodeSingularStringField(value: &_storage._dfuInProgressTitle) }()
|
|
1352
|
+
case 36: try { try decoder.decodeSingularStringField(value: &_storage._dfuFailedTitle) }()
|
|
1353
|
+
case 37: try { try decoder.decodeSingularStringField(value: &_storage._dfuCancellingTitle) }()
|
|
1354
|
+
case 38: try { try decoder.decodeSingularStringField(value: &_storage._dfuCompletedTitle) }()
|
|
1355
|
+
case 39: try { try decoder.decodeSingularStringField(value: &_storage._dfuGetAuthenticationTokenTaskLabel) }()
|
|
1356
|
+
case 40: try { try decoder.decodeSingularStringField(value: &_storage._dfuCheckLatestFwlabel) }()
|
|
1357
|
+
case 41: try { try decoder.decodeSingularStringField(value: &_storage._dfuDownloadLatestFwlabel) }()
|
|
1358
|
+
case 42: try { try decoder.decodeSingularStringField(value: &_storage._dfuPrepareUpdateLabel) }()
|
|
1359
|
+
case 43: try { try decoder.decodeSingularStringField(value: &_storage._dfuStartBootloaderLabel) }()
|
|
1360
|
+
case 44: try { try decoder.decodeSingularStringField(value: &_storage._dfuFindDfuperipheralLabel) }()
|
|
1361
|
+
case 45: try { try decoder.decodeSingularStringField(value: &_storage._dfuUpdateFwlabel) }()
|
|
1362
|
+
case 46: try { try decoder.decodeSingularStringField(value: &_storage._dfuWaitForDeviceToRestartTaskLabel) }()
|
|
1195
1363
|
default: break
|
|
1196
1364
|
}
|
|
1197
1365
|
}
|
|
@@ -1306,6 +1474,42 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
1306
1474
|
try { if let v = _storage._syncDevicePushSystemStatusTaskLabel {
|
|
1307
1475
|
try visitor.visitSingularStringField(value: v, fieldNumber: 34)
|
|
1308
1476
|
} }()
|
|
1477
|
+
try { if let v = _storage._dfuInProgressTitle {
|
|
1478
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 35)
|
|
1479
|
+
} }()
|
|
1480
|
+
try { if let v = _storage._dfuFailedTitle {
|
|
1481
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 36)
|
|
1482
|
+
} }()
|
|
1483
|
+
try { if let v = _storage._dfuCancellingTitle {
|
|
1484
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 37)
|
|
1485
|
+
} }()
|
|
1486
|
+
try { if let v = _storage._dfuCompletedTitle {
|
|
1487
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 38)
|
|
1488
|
+
} }()
|
|
1489
|
+
try { if let v = _storage._dfuGetAuthenticationTokenTaskLabel {
|
|
1490
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 39)
|
|
1491
|
+
} }()
|
|
1492
|
+
try { if let v = _storage._dfuCheckLatestFwlabel {
|
|
1493
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 40)
|
|
1494
|
+
} }()
|
|
1495
|
+
try { if let v = _storage._dfuDownloadLatestFwlabel {
|
|
1496
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 41)
|
|
1497
|
+
} }()
|
|
1498
|
+
try { if let v = _storage._dfuPrepareUpdateLabel {
|
|
1499
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 42)
|
|
1500
|
+
} }()
|
|
1501
|
+
try { if let v = _storage._dfuStartBootloaderLabel {
|
|
1502
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 43)
|
|
1503
|
+
} }()
|
|
1504
|
+
try { if let v = _storage._dfuFindDfuperipheralLabel {
|
|
1505
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 44)
|
|
1506
|
+
} }()
|
|
1507
|
+
try { if let v = _storage._dfuUpdateFwlabel {
|
|
1508
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 45)
|
|
1509
|
+
} }()
|
|
1510
|
+
try { if let v = _storage._dfuWaitForDeviceToRestartTaskLabel {
|
|
1511
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 46)
|
|
1512
|
+
} }()
|
|
1309
1513
|
}
|
|
1310
1514
|
try unknownFields.traverse(visitor: &visitor)
|
|
1311
1515
|
}
|
|
@@ -1349,6 +1553,18 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
1349
1553
|
if _storage._syncDeviceDeployBlacklistEntriesTaskLabel != rhs_storage._syncDeviceDeployBlacklistEntriesTaskLabel {return false}
|
|
1350
1554
|
if _storage._syncDeviceRetrieveSystemStatusTaskLabel != rhs_storage._syncDeviceRetrieveSystemStatusTaskLabel {return false}
|
|
1351
1555
|
if _storage._syncDevicePushSystemStatusTaskLabel != rhs_storage._syncDevicePushSystemStatusTaskLabel {return false}
|
|
1556
|
+
if _storage._dfuInProgressTitle != rhs_storage._dfuInProgressTitle {return false}
|
|
1557
|
+
if _storage._dfuFailedTitle != rhs_storage._dfuFailedTitle {return false}
|
|
1558
|
+
if _storage._dfuCancellingTitle != rhs_storage._dfuCancellingTitle {return false}
|
|
1559
|
+
if _storage._dfuCompletedTitle != rhs_storage._dfuCompletedTitle {return false}
|
|
1560
|
+
if _storage._dfuGetAuthenticationTokenTaskLabel != rhs_storage._dfuGetAuthenticationTokenTaskLabel {return false}
|
|
1561
|
+
if _storage._dfuCheckLatestFwlabel != rhs_storage._dfuCheckLatestFwlabel {return false}
|
|
1562
|
+
if _storage._dfuDownloadLatestFwlabel != rhs_storage._dfuDownloadLatestFwlabel {return false}
|
|
1563
|
+
if _storage._dfuPrepareUpdateLabel != rhs_storage._dfuPrepareUpdateLabel {return false}
|
|
1564
|
+
if _storage._dfuStartBootloaderLabel != rhs_storage._dfuStartBootloaderLabel {return false}
|
|
1565
|
+
if _storage._dfuFindDfuperipheralLabel != rhs_storage._dfuFindDfuperipheralLabel {return false}
|
|
1566
|
+
if _storage._dfuUpdateFwlabel != rhs_storage._dfuUpdateFwlabel {return false}
|
|
1567
|
+
if _storage._dfuWaitForDeviceToRestartTaskLabel != rhs_storage._dfuWaitForDeviceToRestartTaskLabel {return false}
|
|
1352
1568
|
return true
|
|
1353
1569
|
}
|
|
1354
1570
|
if !storagesAreEqual {return false}
|