@blueid/access-proto 0.105.0 → 0.106.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BlueCore.proto +1 -0
- package/BlueSDK.proto +15 -13
- package/BlueSystem.proto +3 -0
- package/cjs/BlueCore_pb.d.ts +5 -0
- package/cjs/BlueCore_pb.js +7 -0
- package/cjs/BlueSDK_pb.d.ts +18 -13
- package/cjs/BlueSDK_pb.js +13 -12
- package/cjs/BlueSystem_pb.d.ts +15 -0
- package/cjs/BlueSystem_pb.js +4 -1
- package/es/BlueCore_pb.d.ts +5 -0
- package/es/BlueCore_pb.js +1 -0
- package/es/BlueSDK_pb.d.ts +18 -13
- package/es/BlueSDK_pb.js +13 -12
- package/es/BlueSystem_pb.d.ts +15 -0
- package/es/BlueSystem_pb.js +3 -0
- package/nanopb/BlueCore.pb.h +7 -4
- package/nanopb/BlueSDK.pb.h +30 -27
- package/nanopb/BlueSystem.pb.h +16 -4
- package/package.json +1 -1
- package/swift/BlueCore.pb.swift +17 -0
- package/swift/BlueSDK.pb.swift +65 -47
- package/swift/BlueSystem.pb.swift +51 -0
package/BlueCore.proto
CHANGED
|
@@ -204,6 +204,7 @@ enum BlueReturnCode {
|
|
|
204
204
|
message BlueVersionInfo {
|
|
205
205
|
required uint32 buildTime = 1;
|
|
206
206
|
required uint32 version = 2 [ (nanopb).int_size = IS_16 ];
|
|
207
|
+
required uint32 testVersion = 3 [ (nanopb).int_size = IS_16 ];
|
|
207
208
|
}
|
|
208
209
|
|
|
209
210
|
message BlueLocalTimestamp {
|
package/BlueSDK.proto
CHANGED
|
@@ -83,31 +83,33 @@ message BlueI18n {
|
|
|
83
83
|
[ default = "Retrieve system status" ];
|
|
84
84
|
required string syncDevicePushSystemStatusTaskLabel = 34
|
|
85
85
|
[ default = "Push system status" ];
|
|
86
|
+
required string syncDeviceCheckLatestFWLabel = 35
|
|
87
|
+
[ default = "Check latest firmware" ];
|
|
86
88
|
|
|
87
89
|
|
|
88
|
-
required string dfuInProgressTitle =
|
|
90
|
+
required string dfuInProgressTitle = 36
|
|
89
91
|
[ default = "Update in Progress" ];
|
|
90
|
-
required string dfuFailedTitle =
|
|
92
|
+
required string dfuFailedTitle = 37
|
|
91
93
|
[ default = "Update has failed" ];
|
|
92
|
-
required string dfuCancellingTitle =
|
|
94
|
+
required string dfuCancellingTitle = 38
|
|
93
95
|
[ default = "Cancelling..." ];
|
|
94
|
-
required string dfuCompletedTitle =
|
|
96
|
+
required string dfuCompletedTitle = 39
|
|
95
97
|
[ default = "Update has been completed" ];
|
|
96
|
-
required string dfuGetAuthenticationTokenTaskLabel =
|
|
98
|
+
required string dfuGetAuthenticationTokenTaskLabel = 40
|
|
97
99
|
[ default = "Issue authentication token" ];
|
|
98
|
-
required string dfuCheckLatestFWLabel =
|
|
100
|
+
required string dfuCheckLatestFWLabel = 41
|
|
99
101
|
[ default = "Check latest firmware" ];
|
|
100
|
-
required string dfuDownloadLatestFWLabel =
|
|
102
|
+
required string dfuDownloadLatestFWLabel = 42
|
|
101
103
|
[ default = "Download latest firmware" ];
|
|
102
|
-
required string dfuPrepareUpdateLabel =
|
|
104
|
+
required string dfuPrepareUpdateLabel = 43
|
|
103
105
|
[ default = "Prepare Update" ];
|
|
104
|
-
required string dfuStartBootloaderLabel =
|
|
106
|
+
required string dfuStartBootloaderLabel = 44
|
|
105
107
|
[ default = "Start Bootloader" ];
|
|
106
|
-
required string
|
|
107
|
-
[ default = "
|
|
108
|
-
required string dfuUpdateFWLabel =
|
|
108
|
+
required string dfuInitializationLabel = 45
|
|
109
|
+
[ default = "DFU initialization" ];
|
|
110
|
+
required string dfuUpdateFWLabel = 46
|
|
109
111
|
[ default = "Update firmware" ];
|
|
110
|
-
required string dfuWaitForDeviceToRestartTaskLabel =
|
|
112
|
+
required string dfuWaitForDeviceToRestartTaskLabel = 47
|
|
111
113
|
[ default = "Wait for device to restart" ];
|
|
112
114
|
}
|
|
113
115
|
|
package/BlueSystem.proto
CHANGED
|
@@ -211,6 +211,9 @@ message BlueSystemStatus {
|
|
|
211
211
|
|
|
212
212
|
// -- Custom
|
|
213
213
|
optional BlueLockStatus lock = 9;
|
|
214
|
+
optional uint32 applicationVersionTest = 10;
|
|
215
|
+
optional bool newFirmwareVersionAvailable = 11;
|
|
216
|
+
optional bool newTestFirmwareVersionAvailable = 12;
|
|
214
217
|
}
|
|
215
218
|
|
|
216
219
|
///////////////////////////////////////////////////////////////////////
|
package/cjs/BlueCore_pb.d.ts
CHANGED
|
@@ -1125,6 +1125,11 @@ export declare class BlueVersionInfo extends Message<BlueVersionInfo> {
|
|
|
1125
1125
|
*/
|
|
1126
1126
|
version: number;
|
|
1127
1127
|
|
|
1128
|
+
/**
|
|
1129
|
+
* @generated from field: required uint32 testVersion = 3;
|
|
1130
|
+
*/
|
|
1131
|
+
testVersion: number;
|
|
1132
|
+
|
|
1128
1133
|
constructor(data?: PartialMessage<BlueVersionInfo>);
|
|
1129
1134
|
|
|
1130
1135
|
static readonly runtime: typeof proto2;
|
package/cjs/BlueCore_pb.js
CHANGED
|
@@ -379,6 +379,13 @@ const BlueVersionInfo = import_protobuf.proto2.makeMessageType(
|
|
|
379
379
|
kind: "scalar",
|
|
380
380
|
T: 13
|
|
381
381
|
/* ScalarType.UINT32 */
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
no: 3,
|
|
385
|
+
name: "testVersion",
|
|
386
|
+
kind: "scalar",
|
|
387
|
+
T: 13
|
|
388
|
+
/* ScalarType.UINT32 */
|
|
382
389
|
}
|
|
383
390
|
]
|
|
384
391
|
);
|
package/cjs/BlueSDK_pb.d.ts
CHANGED
|
@@ -222,62 +222,67 @@ export declare class BlueI18n extends Message<BlueI18n> {
|
|
|
222
222
|
syncDevicePushSystemStatusTaskLabel: string;
|
|
223
223
|
|
|
224
224
|
/**
|
|
225
|
-
* @generated from field: required string
|
|
225
|
+
* @generated from field: required string syncDeviceCheckLatestFWLabel = 35 [default = "Check latest firmware"];
|
|
226
|
+
*/
|
|
227
|
+
syncDeviceCheckLatestFWLabel: string;
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* @generated from field: required string dfuInProgressTitle = 36 [default = "Update in Progress"];
|
|
226
231
|
*/
|
|
227
232
|
dfuInProgressTitle: string;
|
|
228
233
|
|
|
229
234
|
/**
|
|
230
|
-
* @generated from field: required string dfuFailedTitle =
|
|
235
|
+
* @generated from field: required string dfuFailedTitle = 37 [default = "Update has failed"];
|
|
231
236
|
*/
|
|
232
237
|
dfuFailedTitle: string;
|
|
233
238
|
|
|
234
239
|
/**
|
|
235
|
-
* @generated from field: required string dfuCancellingTitle =
|
|
240
|
+
* @generated from field: required string dfuCancellingTitle = 38 [default = "Cancelling..."];
|
|
236
241
|
*/
|
|
237
242
|
dfuCancellingTitle: string;
|
|
238
243
|
|
|
239
244
|
/**
|
|
240
|
-
* @generated from field: required string dfuCompletedTitle =
|
|
245
|
+
* @generated from field: required string dfuCompletedTitle = 39 [default = "Update has been completed"];
|
|
241
246
|
*/
|
|
242
247
|
dfuCompletedTitle: string;
|
|
243
248
|
|
|
244
249
|
/**
|
|
245
|
-
* @generated from field: required string dfuGetAuthenticationTokenTaskLabel =
|
|
250
|
+
* @generated from field: required string dfuGetAuthenticationTokenTaskLabel = 40 [default = "Issue authentication token"];
|
|
246
251
|
*/
|
|
247
252
|
dfuGetAuthenticationTokenTaskLabel: string;
|
|
248
253
|
|
|
249
254
|
/**
|
|
250
|
-
* @generated from field: required string dfuCheckLatestFWLabel =
|
|
255
|
+
* @generated from field: required string dfuCheckLatestFWLabel = 41 [default = "Check latest firmware"];
|
|
251
256
|
*/
|
|
252
257
|
dfuCheckLatestFWLabel: string;
|
|
253
258
|
|
|
254
259
|
/**
|
|
255
|
-
* @generated from field: required string dfuDownloadLatestFWLabel =
|
|
260
|
+
* @generated from field: required string dfuDownloadLatestFWLabel = 42 [default = "Download latest firmware"];
|
|
256
261
|
*/
|
|
257
262
|
dfuDownloadLatestFWLabel: string;
|
|
258
263
|
|
|
259
264
|
/**
|
|
260
|
-
* @generated from field: required string dfuPrepareUpdateLabel =
|
|
265
|
+
* @generated from field: required string dfuPrepareUpdateLabel = 43 [default = "Prepare Update"];
|
|
261
266
|
*/
|
|
262
267
|
dfuPrepareUpdateLabel: string;
|
|
263
268
|
|
|
264
269
|
/**
|
|
265
|
-
* @generated from field: required string dfuStartBootloaderLabel =
|
|
270
|
+
* @generated from field: required string dfuStartBootloaderLabel = 44 [default = "Start Bootloader"];
|
|
266
271
|
*/
|
|
267
272
|
dfuStartBootloaderLabel: string;
|
|
268
273
|
|
|
269
274
|
/**
|
|
270
|
-
* @generated from field: required string
|
|
275
|
+
* @generated from field: required string dfuInitializationLabel = 45 [default = "DFU initialization"];
|
|
271
276
|
*/
|
|
272
|
-
|
|
277
|
+
dfuInitializationLabel: string;
|
|
273
278
|
|
|
274
279
|
/**
|
|
275
|
-
* @generated from field: required string dfuUpdateFWLabel =
|
|
280
|
+
* @generated from field: required string dfuUpdateFWLabel = 46 [default = "Update firmware"];
|
|
276
281
|
*/
|
|
277
282
|
dfuUpdateFWLabel: string;
|
|
278
283
|
|
|
279
284
|
/**
|
|
280
|
-
* @generated from field: required string dfuWaitForDeviceToRestartTaskLabel =
|
|
285
|
+
* @generated from field: required string dfuWaitForDeviceToRestartTaskLabel = 47 [default = "Wait for device to restart"];
|
|
281
286
|
*/
|
|
282
287
|
dfuWaitForDeviceToRestartTaskLabel: string;
|
|
283
288
|
|
package/cjs/BlueSDK_pb.js
CHANGED
|
@@ -90,18 +90,19 @@ const BlueI18n = import_protobuf.proto2.makeMessageType(
|
|
|
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
92
|
{ no: 34, name: "syncDevicePushSystemStatusTaskLabel", kind: "scalar", T: 9, default: "Push system status" },
|
|
93
|
-
{ no: 35, name: "
|
|
94
|
-
{ no: 36, name: "
|
|
95
|
-
{ no: 37, name: "
|
|
96
|
-
{ no: 38, name: "
|
|
97
|
-
{ no: 39, name: "
|
|
98
|
-
{ no: 40, name: "
|
|
99
|
-
{ no: 41, name: "
|
|
100
|
-
{ no: 42, name: "
|
|
101
|
-
{ no: 43, name: "
|
|
102
|
-
{ no: 44, name: "
|
|
103
|
-
{ no: 45, name: "
|
|
104
|
-
{ no: 46, name: "
|
|
93
|
+
{ no: 35, name: "syncDeviceCheckLatestFWLabel", kind: "scalar", T: 9, default: "Check latest firmware" },
|
|
94
|
+
{ no: 36, name: "dfuInProgressTitle", kind: "scalar", T: 9, default: "Update in Progress" },
|
|
95
|
+
{ no: 37, name: "dfuFailedTitle", kind: "scalar", T: 9, default: "Update has failed" },
|
|
96
|
+
{ no: 38, name: "dfuCancellingTitle", kind: "scalar", T: 9, default: "Cancelling..." },
|
|
97
|
+
{ no: 39, name: "dfuCompletedTitle", kind: "scalar", T: 9, default: "Update has been completed" },
|
|
98
|
+
{ no: 40, name: "dfuGetAuthenticationTokenTaskLabel", kind: "scalar", T: 9, default: "Issue authentication token" },
|
|
99
|
+
{ no: 41, name: "dfuCheckLatestFWLabel", kind: "scalar", T: 9, default: "Check latest firmware" },
|
|
100
|
+
{ no: 42, name: "dfuDownloadLatestFWLabel", kind: "scalar", T: 9, default: "Download latest firmware" },
|
|
101
|
+
{ no: 43, name: "dfuPrepareUpdateLabel", kind: "scalar", T: 9, default: "Prepare Update" },
|
|
102
|
+
{ no: 44, name: "dfuStartBootloaderLabel", kind: "scalar", T: 9, default: "Start Bootloader" },
|
|
103
|
+
{ no: 45, name: "dfuInitializationLabel", kind: "scalar", T: 9, default: "DFU initialization" },
|
|
104
|
+
{ no: 46, name: "dfuUpdateFWLabel", kind: "scalar", T: 9, default: "Update firmware" },
|
|
105
|
+
{ no: 47, name: "dfuWaitForDeviceToRestartTaskLabel", kind: "scalar", T: 9, default: "Wait for device to restart" }
|
|
105
106
|
]
|
|
106
107
|
);
|
|
107
108
|
const BlueDeviceDetailsBluetooth = import_protobuf.proto2.makeMessageType(
|
package/cjs/BlueSystem_pb.d.ts
CHANGED
|
@@ -629,6 +629,21 @@ export declare class BlueSystemStatus extends Message<BlueSystemStatus> {
|
|
|
629
629
|
*/
|
|
630
630
|
lock?: BlueLockStatus;
|
|
631
631
|
|
|
632
|
+
/**
|
|
633
|
+
* @generated from field: optional uint32 applicationVersionTest = 10;
|
|
634
|
+
*/
|
|
635
|
+
applicationVersionTest?: number;
|
|
636
|
+
|
|
637
|
+
/**
|
|
638
|
+
* @generated from field: optional bool newFirmwareVersionAvailable = 11;
|
|
639
|
+
*/
|
|
640
|
+
newFirmwareVersionAvailable?: boolean;
|
|
641
|
+
|
|
642
|
+
/**
|
|
643
|
+
* @generated from field: optional bool newTestFirmwareVersionAvailable = 12;
|
|
644
|
+
*/
|
|
645
|
+
newTestFirmwareVersionAvailable?: boolean;
|
|
646
|
+
|
|
632
647
|
constructor(data?: PartialMessage<BlueSystemStatus>);
|
|
633
648
|
|
|
634
649
|
static readonly runtime: typeof proto2;
|
package/cjs/BlueSystem_pb.js
CHANGED
|
@@ -264,7 +264,10 @@ const BlueSystemStatus = import_protobuf.proto2.makeMessageType(
|
|
|
264
264
|
},
|
|
265
265
|
{ no: 7, name: "localTime", kind: "message", T: import_BlueCore_pb.BlueLocalTimestamp },
|
|
266
266
|
{ no: 8, name: "settings", kind: "message", T: BlueSystemSettings },
|
|
267
|
-
{ no: 9, name: "lock", kind: "message", T: import_BlueLock_pb.BlueLockStatus, opt: true }
|
|
267
|
+
{ no: 9, name: "lock", kind: "message", T: import_BlueLock_pb.BlueLockStatus, opt: true },
|
|
268
|
+
{ no: 10, name: "applicationVersionTest", kind: "scalar", T: 13, opt: true },
|
|
269
|
+
{ no: 11, name: "newFirmwareVersionAvailable", kind: "scalar", T: 8, opt: true },
|
|
270
|
+
{ no: 12, name: "newTestFirmwareVersionAvailable", kind: "scalar", T: 8, opt: true }
|
|
268
271
|
]
|
|
269
272
|
);
|
|
270
273
|
const BlueSystemLogQuery = import_protobuf.proto2.makeMessageType(
|
package/es/BlueCore_pb.d.ts
CHANGED
|
@@ -1125,6 +1125,11 @@ export declare class BlueVersionInfo extends Message<BlueVersionInfo> {
|
|
|
1125
1125
|
*/
|
|
1126
1126
|
version: number;
|
|
1127
1127
|
|
|
1128
|
+
/**
|
|
1129
|
+
* @generated from field: required uint32 testVersion = 3;
|
|
1130
|
+
*/
|
|
1131
|
+
testVersion: number;
|
|
1132
|
+
|
|
1128
1133
|
constructor(data?: PartialMessage<BlueVersionInfo>);
|
|
1129
1134
|
|
|
1130
1135
|
static readonly runtime: typeof proto2;
|
package/es/BlueCore_pb.js
CHANGED
|
@@ -354,6 +354,7 @@ export const BlueVersionInfo = proto2.makeMessageType(
|
|
|
354
354
|
() => [
|
|
355
355
|
{ no: 1, name: "buildTime", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
356
356
|
{ no: 2, name: "version", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
357
|
+
{ no: 3, name: "testVersion", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
357
358
|
],
|
|
358
359
|
);
|
|
359
360
|
|
package/es/BlueSDK_pb.d.ts
CHANGED
|
@@ -222,62 +222,67 @@ export declare class BlueI18n extends Message<BlueI18n> {
|
|
|
222
222
|
syncDevicePushSystemStatusTaskLabel: string;
|
|
223
223
|
|
|
224
224
|
/**
|
|
225
|
-
* @generated from field: required string
|
|
225
|
+
* @generated from field: required string syncDeviceCheckLatestFWLabel = 35 [default = "Check latest firmware"];
|
|
226
|
+
*/
|
|
227
|
+
syncDeviceCheckLatestFWLabel: string;
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* @generated from field: required string dfuInProgressTitle = 36 [default = "Update in Progress"];
|
|
226
231
|
*/
|
|
227
232
|
dfuInProgressTitle: string;
|
|
228
233
|
|
|
229
234
|
/**
|
|
230
|
-
* @generated from field: required string dfuFailedTitle =
|
|
235
|
+
* @generated from field: required string dfuFailedTitle = 37 [default = "Update has failed"];
|
|
231
236
|
*/
|
|
232
237
|
dfuFailedTitle: string;
|
|
233
238
|
|
|
234
239
|
/**
|
|
235
|
-
* @generated from field: required string dfuCancellingTitle =
|
|
240
|
+
* @generated from field: required string dfuCancellingTitle = 38 [default = "Cancelling..."];
|
|
236
241
|
*/
|
|
237
242
|
dfuCancellingTitle: string;
|
|
238
243
|
|
|
239
244
|
/**
|
|
240
|
-
* @generated from field: required string dfuCompletedTitle =
|
|
245
|
+
* @generated from field: required string dfuCompletedTitle = 39 [default = "Update has been completed"];
|
|
241
246
|
*/
|
|
242
247
|
dfuCompletedTitle: string;
|
|
243
248
|
|
|
244
249
|
/**
|
|
245
|
-
* @generated from field: required string dfuGetAuthenticationTokenTaskLabel =
|
|
250
|
+
* @generated from field: required string dfuGetAuthenticationTokenTaskLabel = 40 [default = "Issue authentication token"];
|
|
246
251
|
*/
|
|
247
252
|
dfuGetAuthenticationTokenTaskLabel: string;
|
|
248
253
|
|
|
249
254
|
/**
|
|
250
|
-
* @generated from field: required string dfuCheckLatestFWLabel =
|
|
255
|
+
* @generated from field: required string dfuCheckLatestFWLabel = 41 [default = "Check latest firmware"];
|
|
251
256
|
*/
|
|
252
257
|
dfuCheckLatestFWLabel: string;
|
|
253
258
|
|
|
254
259
|
/**
|
|
255
|
-
* @generated from field: required string dfuDownloadLatestFWLabel =
|
|
260
|
+
* @generated from field: required string dfuDownloadLatestFWLabel = 42 [default = "Download latest firmware"];
|
|
256
261
|
*/
|
|
257
262
|
dfuDownloadLatestFWLabel: string;
|
|
258
263
|
|
|
259
264
|
/**
|
|
260
|
-
* @generated from field: required string dfuPrepareUpdateLabel =
|
|
265
|
+
* @generated from field: required string dfuPrepareUpdateLabel = 43 [default = "Prepare Update"];
|
|
261
266
|
*/
|
|
262
267
|
dfuPrepareUpdateLabel: string;
|
|
263
268
|
|
|
264
269
|
/**
|
|
265
|
-
* @generated from field: required string dfuStartBootloaderLabel =
|
|
270
|
+
* @generated from field: required string dfuStartBootloaderLabel = 44 [default = "Start Bootloader"];
|
|
266
271
|
*/
|
|
267
272
|
dfuStartBootloaderLabel: string;
|
|
268
273
|
|
|
269
274
|
/**
|
|
270
|
-
* @generated from field: required string
|
|
275
|
+
* @generated from field: required string dfuInitializationLabel = 45 [default = "DFU initialization"];
|
|
271
276
|
*/
|
|
272
|
-
|
|
277
|
+
dfuInitializationLabel: string;
|
|
273
278
|
|
|
274
279
|
/**
|
|
275
|
-
* @generated from field: required string dfuUpdateFWLabel =
|
|
280
|
+
* @generated from field: required string dfuUpdateFWLabel = 46 [default = "Update firmware"];
|
|
276
281
|
*/
|
|
277
282
|
dfuUpdateFWLabel: string;
|
|
278
283
|
|
|
279
284
|
/**
|
|
280
|
-
* @generated from field: required string dfuWaitForDeviceToRestartTaskLabel =
|
|
285
|
+
* @generated from field: required string dfuWaitForDeviceToRestartTaskLabel = 47 [default = "Wait for device to restart"];
|
|
281
286
|
*/
|
|
282
287
|
dfuWaitForDeviceToRestartTaskLabel: string;
|
|
283
288
|
|
package/es/BlueSDK_pb.js
CHANGED
|
@@ -70,18 +70,19 @@ 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: "
|
|
74
|
-
{ no: 36, name: "
|
|
75
|
-
{ no: 37, name: "
|
|
76
|
-
{ no: 38, name: "
|
|
77
|
-
{ no: 39, name: "
|
|
78
|
-
{ no: 40, name: "
|
|
79
|
-
{ no: 41, name: "
|
|
80
|
-
{ no: 42, name: "
|
|
81
|
-
{ no: 43, name: "
|
|
82
|
-
{ no: 44, name: "
|
|
83
|
-
{ no: 45, name: "
|
|
84
|
-
{ no: 46, name: "
|
|
73
|
+
{ no: 35, name: "syncDeviceCheckLatestFWLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Check latest firmware" },
|
|
74
|
+
{ no: 36, name: "dfuInProgressTitle", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Update in Progress" },
|
|
75
|
+
{ no: 37, name: "dfuFailedTitle", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Update has failed" },
|
|
76
|
+
{ no: 38, name: "dfuCancellingTitle", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Cancelling..." },
|
|
77
|
+
{ no: 39, name: "dfuCompletedTitle", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Update has been completed" },
|
|
78
|
+
{ no: 40, name: "dfuGetAuthenticationTokenTaskLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Issue authentication token" },
|
|
79
|
+
{ no: 41, name: "dfuCheckLatestFWLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Check latest firmware" },
|
|
80
|
+
{ no: 42, name: "dfuDownloadLatestFWLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Download latest firmware" },
|
|
81
|
+
{ no: 43, name: "dfuPrepareUpdateLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Prepare Update" },
|
|
82
|
+
{ no: 44, name: "dfuStartBootloaderLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Start Bootloader" },
|
|
83
|
+
{ no: 45, name: "dfuInitializationLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "DFU initialization" },
|
|
84
|
+
{ no: 46, name: "dfuUpdateFWLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Update firmware" },
|
|
85
|
+
{ no: 47, name: "dfuWaitForDeviceToRestartTaskLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Wait for device to restart" },
|
|
85
86
|
],
|
|
86
87
|
);
|
|
87
88
|
|
package/es/BlueSystem_pb.d.ts
CHANGED
|
@@ -629,6 +629,21 @@ export declare class BlueSystemStatus extends Message<BlueSystemStatus> {
|
|
|
629
629
|
*/
|
|
630
630
|
lock?: BlueLockStatus;
|
|
631
631
|
|
|
632
|
+
/**
|
|
633
|
+
* @generated from field: optional uint32 applicationVersionTest = 10;
|
|
634
|
+
*/
|
|
635
|
+
applicationVersionTest?: number;
|
|
636
|
+
|
|
637
|
+
/**
|
|
638
|
+
* @generated from field: optional bool newFirmwareVersionAvailable = 11;
|
|
639
|
+
*/
|
|
640
|
+
newFirmwareVersionAvailable?: boolean;
|
|
641
|
+
|
|
642
|
+
/**
|
|
643
|
+
* @generated from field: optional bool newTestFirmwareVersionAvailable = 12;
|
|
644
|
+
*/
|
|
645
|
+
newTestFirmwareVersionAvailable?: boolean;
|
|
646
|
+
|
|
632
647
|
constructor(data?: PartialMessage<BlueSystemStatus>);
|
|
633
648
|
|
|
634
649
|
static readonly runtime: typeof proto2;
|
package/es/BlueSystem_pb.js
CHANGED
|
@@ -181,6 +181,9 @@ export const BlueSystemStatus = proto2.makeMessageType(
|
|
|
181
181
|
{ no: 7, name: "localTime", kind: "message", T: BlueLocalTimestamp },
|
|
182
182
|
{ no: 8, name: "settings", kind: "message", T: BlueSystemSettings },
|
|
183
183
|
{ no: 9, name: "lock", kind: "message", T: BlueLockStatus, opt: true },
|
|
184
|
+
{ no: 10, name: "applicationVersionTest", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
185
|
+
{ no: 11, name: "newFirmwareVersionAvailable", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
186
|
+
{ no: 12, name: "newTestFirmwareVersionAvailable", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
184
187
|
],
|
|
185
188
|
);
|
|
186
189
|
|
package/nanopb/BlueCore.pb.h
CHANGED
|
@@ -289,6 +289,7 @@ typedef struct BlueSharedDemoData {
|
|
|
289
289
|
typedef struct BlueVersionInfo {
|
|
290
290
|
uint32_t buildTime;
|
|
291
291
|
uint16_t version;
|
|
292
|
+
uint16_t testVersion;
|
|
292
293
|
} BlueVersionInfo_t;
|
|
293
294
|
|
|
294
295
|
typedef struct BlueLocalTimestamp {
|
|
@@ -864,7 +865,7 @@ extern "C" {
|
|
|
864
865
|
|
|
865
866
|
/* Initializer values for message structs */
|
|
866
867
|
#define BLUESHAREDDEMODATA_INIT_DEFAULT {"wa0y1YwS", {138, {0x30,0x81,0x87,0x02,0x01,0x00,0x30,0x13,0x06,0x07,0x2a,0x86,0x48,0xce,0x3d,0x02,0x01,0x06,0x08,0x2a,0x86,0x48,0xce,0x3d,0x03,0x01,0x07,0x04,0x6d,0x30,0x6b,0x02,0x01,0x01,0x04,0x20,0xa5,0xab,0x6d,0x14,0x11,0x30,0x47,0xa7,0xad,0x6c,0x10,0xe4,0x4d,0xe6,0x3c,0x05,0xb9,0x6b,0x84,0xb5,0x1f,0xe3,0x14,0xd6,0x87,0x5c,0x46,0x9e,0xb9,0xcd,0x69,0x2b,0xa1,0x44,0x03,0x42,0x00,0x04,0x3a,0x66,0x86,0x75,0xc9,0x29,0x29,0x07,0xc3,0x63,0x18,0x97,0x4d,0xd9,0x44,0x1c,0x71,0xf9,0xe4,0x45,0xe8,0x74,0x1a,0x3f,0xaf,0x6b,0xc5,0x8c,0x9c,0x69,0x13,0xbe,0x44,0x14,0x0b,0x60,0x45,0x4f,0x76,0x2f,0xc2,0xf1,0x98,0x41,0x98,0xec,0x6e,0x39,0x1b,0x53,0x36,0x8b,0x90,0x73,0xea,0x1d,0xe7,0x20,0xcf,0xa1,0xbe,0x2d,0xd4,0xf1}}, {91, {0x30,0x59,0x30,0x13,0x06,0x07,0x2a,0x86,0x48,0xce,0x3d,0x02,0x01,0x06,0x08,0x2a,0x86,0x48,0xce,0x3d,0x03,0x01,0x07,0x03,0x42,0x00,0x04,0x3a,0x66,0x86,0x75,0xc9,0x29,0x29,0x07,0xc3,0x63,0x18,0x97,0x4d,0xd9,0x44,0x1c,0x71,0xf9,0xe4,0x45,0xe8,0x74,0x1a,0x3f,0xaf,0x6b,0xc5,0x8c,0x9c,0x69,0x13,0xbe,0x44,0x14,0x0b,0x60,0x45,0x4f,0x76,0x2f,0xc2,0xf1,0x98,0x41,0x98,0xec,0x6e,0x39,0x1b,0x53,0x36,0x8b,0x90,0x73,0xea,0x1d,0xe7,0x20,0xcf,0xa1,0xbe,0x2d,0xd4,0xf1}}, {138, {0x30,0x81,0x87,0x02,0x01,0x00,0x30,0x13,0x06,0x07,0x2a,0x86,0x48,0xce,0x3d,0x02,0x01,0x06,0x08,0x2a,0x86,0x48,0xce,0x3d,0x03,0x01,0x07,0x04,0x6d,0x30,0x6b,0x02,0x01,0x01,0x04,0x20,0xef,0x36,0x55,0xc9,0x4d,0x80,0x1e,0xf4,0x92,0x56,0x75,0x0e,0x70,0xe1,0x51,0x0e,0xcc,0xe8,0xb4,0x6c,0x54,0x5e,0x55,0x1d,0xde,0xbb,0xfc,0x6f,0x22,0xa8,0x49,0x50,0xa1,0x44,0x03,0x42,0x00,0x04,0x5a,0x0d,0x6e,0x67,0x45,0xcc,0xd5,0xc1,0x8c,0xeb,0xd8,0xaf,0xf6,0xea,0x86,0xd8,0xc3,0xaf,0x43,0x3f,0xb7,0xa2,0xd2,0x5f,0x21,0x34,0x42,0xd4,0xcd,0x96,0x83,0xb4,0xe6,0x7d,0x2d,0xdc,0x25,0xeb,0x53,0xf9,0x12,0x76,0x1e,0x40,0xe6,0xc9,0x99,0x83,0xdd,0x90,0x90,0xfe,0xf0,0xb4,0x25,0x99,0xcd,0x16,0xae,0x39,0x2f,0xcf,0x96,0x43}}, {91, {0x30,0x59,0x30,0x13,0x06,0x07,0x2a,0x86,0x48,0xce,0x3d,0x02,0x01,0x06,0x08,0x2a,0x86,0x48,0xce,0x3d,0x03,0x01,0x07,0x03,0x42,0x00,0x04,0x5a,0x0d,0x6e,0x67,0x45,0xcc,0xd5,0xc1,0x8c,0xeb,0xd8,0xaf,0xf6,0xea,0x86,0xd8,0xc3,0xaf,0x43,0x3f,0xb7,0xa2,0xd2,0x5f,0x21,0x34,0x42,0xd4,0xcd,0x96,0x83,0xb4,0xe6,0x7d,0x2d,0xdc,0x25,0xeb,0x53,0xf9,0x12,0x76,0x1e,0x40,0xe6,0xc9,0x99,0x83,0xdd,0x90,0x90,0xfe,0xf0,0xb4,0x25,0x99,0xcd,0x16,0xae,0x39,0x2f,0xcf,0x96,0x43}}}
|
|
867
|
-
#define BLUEVERSIONINFO_INIT_DEFAULT {0, 0}
|
|
868
|
+
#define BLUEVERSIONINFO_INIT_DEFAULT {0, 0, 0}
|
|
868
869
|
#define BLUELOCALTIMESTAMP_INIT_DEFAULT {0, 0, 0, 0, 0, 0u}
|
|
869
870
|
#define BLUELOCALTIMEPERIOD_INIT_DEFAULT {0, 0, 0, 0}
|
|
870
871
|
#define BLUELOCALTIMESCHEDULE_INIT_DEFAULT {0, 0, 0, {0, 0, 0, 0, 0, 0, 0}, BLUELOCALTIMEPERIOD_INIT_DEFAULT}
|
|
@@ -920,7 +921,7 @@ extern "C" {
|
|
|
920
921
|
#define BLUEOSSSOSETTINGS_INIT_DEFAULT {false, BLUEOSSSOMIFAREDESFIRECONFIGURATION_INIT_DEFAULT}
|
|
921
922
|
#define _BLUETESTENCODEDECODE_INIT_DEFAULT {"", "", 0, 0}
|
|
922
923
|
#define BLUESHAREDDEMODATA_INIT_ZERO {"", {0, {0}}, {0, {0}}, {0, {0}}, {0, {0}}}
|
|
923
|
-
#define BLUEVERSIONINFO_INIT_ZERO {0, 0}
|
|
924
|
+
#define BLUEVERSIONINFO_INIT_ZERO {0, 0, 0}
|
|
924
925
|
#define BLUELOCALTIMESTAMP_INIT_ZERO {0, 0, 0, 0, 0, 0}
|
|
925
926
|
#define BLUELOCALTIMEPERIOD_INIT_ZERO {0, 0, 0, 0}
|
|
926
927
|
#define BLUELOCALTIMESCHEDULE_INIT_ZERO {0, 0, 0, {0, 0, 0, 0, 0, 0, 0}, BLUELOCALTIMEPERIOD_INIT_ZERO}
|
|
@@ -984,6 +985,7 @@ extern "C" {
|
|
|
984
985
|
#define BLUESHAREDDEMODATA_SIGNATUREPUBLICKEY_TAG 5
|
|
985
986
|
#define BLUEVERSIONINFO_BUILDTIME_TAG 1
|
|
986
987
|
#define BLUEVERSIONINFO_VERSION_TAG 2
|
|
988
|
+
#define BLUEVERSIONINFO_TESTVERSION_TAG 3
|
|
987
989
|
#define BLUELOCALTIMESTAMP_YEAR_TAG 1
|
|
988
990
|
#define BLUELOCALTIMESTAMP_MONTH_TAG 2
|
|
989
991
|
#define BLUELOCALTIMESTAMP_DATE_TAG 3
|
|
@@ -1177,7 +1179,8 @@ X(a, STATIC, REQUIRED, BYTES, signaturePublicKey, 5)
|
|
|
1177
1179
|
|
|
1178
1180
|
#define BLUEVERSIONINFO_FIELDLIST(X, a) \
|
|
1179
1181
|
X(a, STATIC, REQUIRED, UINT32, buildTime, 1) \
|
|
1180
|
-
X(a, STATIC, REQUIRED, UINT32, version, 2)
|
|
1182
|
+
X(a, STATIC, REQUIRED, UINT32, version, 2) \
|
|
1183
|
+
X(a, STATIC, REQUIRED, UINT32, testVersion, 3)
|
|
1181
1184
|
#define BLUEVERSIONINFO_CALLBACK NULL
|
|
1182
1185
|
#define BLUEVERSIONINFO_DEFAULT NULL
|
|
1183
1186
|
|
|
@@ -1795,7 +1798,7 @@ extern const pb_msgdesc_t _BlueTestEncodeDecode_t_msg;
|
|
|
1795
1798
|
#define BLUESPRESULT_SIZE 1795
|
|
1796
1799
|
#define BLUESPTOKENCOMMAND_SIZE 1861
|
|
1797
1800
|
#define BLUESPTOKEN_SIZE 1940
|
|
1798
|
-
#define BLUEVERSIONINFO_SIZE
|
|
1801
|
+
#define BLUEVERSIONINFO_SIZE 14
|
|
1799
1802
|
#define _BLUETESTENCODEDECODE_SIZE 90
|
|
1800
1803
|
|
|
1801
1804
|
#ifdef __cplusplus
|
package/nanopb/BlueSDK.pb.h
CHANGED
|
@@ -59,6 +59,7 @@ 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 syncDeviceCheckLatestFWLabel;
|
|
62
63
|
pb_callback_t dfuInProgressTitle;
|
|
63
64
|
pb_callback_t dfuFailedTitle;
|
|
64
65
|
pb_callback_t dfuCancellingTitle;
|
|
@@ -68,7 +69,7 @@ typedef struct BlueI18n {
|
|
|
68
69
|
pb_callback_t dfuDownloadLatestFWLabel;
|
|
69
70
|
pb_callback_t dfuPrepareUpdateLabel;
|
|
70
71
|
pb_callback_t dfuStartBootloaderLabel;
|
|
71
|
-
pb_callback_t
|
|
72
|
+
pb_callback_t dfuInitializationLabel;
|
|
72
73
|
pb_callback_t dfuUpdateFWLabel;
|
|
73
74
|
pb_callback_t dfuWaitForDeviceToRestartTaskLabel;
|
|
74
75
|
} BlueI18n_t;
|
|
@@ -197,7 +198,7 @@ extern "C" {
|
|
|
197
198
|
|
|
198
199
|
|
|
199
200
|
/* Initializer values for message structs */
|
|
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}}
|
|
201
|
+
#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}}
|
|
201
202
|
#define BLUEDEVICEDETAILSBLUETOOTH_INIT_DEFAULT {0, 0, 0}
|
|
202
203
|
#define BLUEDEVICEDETAILSUWB_INIT_DEFAULT {0}
|
|
203
204
|
#define BLUEDEVICEINFO_INIT_DEFAULT {_BLUEDEVICETYPE_MIN, {{NULL}, NULL}, 0, false, BLUEBLEMANUFACTURERINFO_INIT_DEFAULT, 0, {BLUEDEVICEDETAILSBLUETOOTH_INIT_DEFAULT}}
|
|
@@ -211,7 +212,7 @@ extern "C" {
|
|
|
211
212
|
#define BLUEREFRESHOSSSOCREDENTIALS_INIT_DEFAULT {{{NULL}, NULL}}
|
|
212
213
|
#define BLUESYNCHRONIZEACCESSCREDENTIAL_INIT_DEFAULT {BLUECREDENTIALID_INIT_DEFAULT, _BLUERETURNCODE_MIN, {{NULL}, NULL}}
|
|
213
214
|
#define BLUESYNCHRONIZEACCESSCREDENTIALS_INIT_DEFAULT {{{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}}
|
|
215
|
+
#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}}
|
|
215
216
|
#define BLUEDEVICEDETAILSBLUETOOTH_INIT_ZERO {0, 0, 0}
|
|
216
217
|
#define BLUEDEVICEDETAILSUWB_INIT_ZERO {0}
|
|
217
218
|
#define BLUEDEVICEINFO_INIT_ZERO {_BLUEDEVICETYPE_MIN, {{NULL}, NULL}, 0, false, BLUEBLEMANUFACTURERINFO_INIT_ZERO, 0, {BLUEDEVICEDETAILSBLUETOOTH_INIT_ZERO}}
|
|
@@ -261,18 +262,19 @@ extern "C" {
|
|
|
261
262
|
#define BLUEI18N_SYNCDEVICEDEPLOYBLACKLISTENTRIESTASKLABEL_TAG 32
|
|
262
263
|
#define BLUEI18N_SYNCDEVICERETRIEVESYSTEMSTATUSTASKLABEL_TAG 33
|
|
263
264
|
#define BLUEI18N_SYNCDEVICEPUSHSYSTEMSTATUSTASKLABEL_TAG 34
|
|
264
|
-
#define
|
|
265
|
-
#define
|
|
266
|
-
#define
|
|
267
|
-
#define
|
|
268
|
-
#define
|
|
269
|
-
#define
|
|
270
|
-
#define
|
|
271
|
-
#define
|
|
272
|
-
#define
|
|
273
|
-
#define
|
|
274
|
-
#define
|
|
275
|
-
#define
|
|
265
|
+
#define BLUEI18N_SYNCDEVICECHECKLATESTFWLABEL_TAG 35
|
|
266
|
+
#define BLUEI18N_DFUINPROGRESSTITLE_TAG 36
|
|
267
|
+
#define BLUEI18N_DFUFAILEDTITLE_TAG 37
|
|
268
|
+
#define BLUEI18N_DFUCANCELLINGTITLE_TAG 38
|
|
269
|
+
#define BLUEI18N_DFUCOMPLETEDTITLE_TAG 39
|
|
270
|
+
#define BLUEI18N_DFUGETAUTHENTICATIONTOKENTASKLABEL_TAG 40
|
|
271
|
+
#define BLUEI18N_DFUCHECKLATESTFWLABEL_TAG 41
|
|
272
|
+
#define BLUEI18N_DFUDOWNLOADLATESTFWLABEL_TAG 42
|
|
273
|
+
#define BLUEI18N_DFUPREPAREUPDATELABEL_TAG 43
|
|
274
|
+
#define BLUEI18N_DFUSTARTBOOTLOADERLABEL_TAG 44
|
|
275
|
+
#define BLUEI18N_DFUINITIALIZATIONLABEL_TAG 45
|
|
276
|
+
#define BLUEI18N_DFUUPDATEFWLABEL_TAG 46
|
|
277
|
+
#define BLUEI18N_DFUWAITFORDEVICETORESTARTTASKLABEL_TAG 47
|
|
276
278
|
#define BLUEDEVICEDETAILSBLUETOOTH_RSSI_TAG 1
|
|
277
279
|
#define BLUEDEVICEDETAILSBLUETOOTH_TXPOWER_TAG 2
|
|
278
280
|
#define BLUEDEVICEDETAILSBLUETOOTH_ISIBEACON_TAG 3
|
|
@@ -352,18 +354,19 @@ X(a, CALLBACK, REQUIRED, STRING, syncDeviceRetrieveBlacklistEntriesTaskLabel,
|
|
|
352
354
|
X(a, CALLBACK, REQUIRED, STRING, syncDeviceDeployBlacklistEntriesTaskLabel, 32) \
|
|
353
355
|
X(a, CALLBACK, REQUIRED, STRING, syncDeviceRetrieveSystemStatusTaskLabel, 33) \
|
|
354
356
|
X(a, CALLBACK, REQUIRED, STRING, syncDevicePushSystemStatusTaskLabel, 34) \
|
|
355
|
-
X(a, CALLBACK, REQUIRED, STRING,
|
|
356
|
-
X(a, CALLBACK, REQUIRED, STRING,
|
|
357
|
-
X(a, CALLBACK, REQUIRED, STRING,
|
|
358
|
-
X(a, CALLBACK, REQUIRED, STRING,
|
|
359
|
-
X(a, CALLBACK, REQUIRED, STRING,
|
|
360
|
-
X(a, CALLBACK, REQUIRED, STRING,
|
|
361
|
-
X(a, CALLBACK, REQUIRED, STRING,
|
|
362
|
-
X(a, CALLBACK, REQUIRED, STRING,
|
|
363
|
-
X(a, CALLBACK, REQUIRED, STRING,
|
|
364
|
-
X(a, CALLBACK, REQUIRED, STRING,
|
|
365
|
-
X(a, CALLBACK, REQUIRED, STRING,
|
|
366
|
-
X(a, CALLBACK, REQUIRED, STRING,
|
|
357
|
+
X(a, CALLBACK, REQUIRED, STRING, syncDeviceCheckLatestFWLabel, 35) \
|
|
358
|
+
X(a, CALLBACK, REQUIRED, STRING, dfuInProgressTitle, 36) \
|
|
359
|
+
X(a, CALLBACK, REQUIRED, STRING, dfuFailedTitle, 37) \
|
|
360
|
+
X(a, CALLBACK, REQUIRED, STRING, dfuCancellingTitle, 38) \
|
|
361
|
+
X(a, CALLBACK, REQUIRED, STRING, dfuCompletedTitle, 39) \
|
|
362
|
+
X(a, CALLBACK, REQUIRED, STRING, dfuGetAuthenticationTokenTaskLabel, 40) \
|
|
363
|
+
X(a, CALLBACK, REQUIRED, STRING, dfuCheckLatestFWLabel, 41) \
|
|
364
|
+
X(a, CALLBACK, REQUIRED, STRING, dfuDownloadLatestFWLabel, 42) \
|
|
365
|
+
X(a, CALLBACK, REQUIRED, STRING, dfuPrepareUpdateLabel, 43) \
|
|
366
|
+
X(a, CALLBACK, REQUIRED, STRING, dfuStartBootloaderLabel, 44) \
|
|
367
|
+
X(a, CALLBACK, REQUIRED, STRING, dfuInitializationLabel, 45) \
|
|
368
|
+
X(a, CALLBACK, REQUIRED, STRING, dfuUpdateFWLabel, 46) \
|
|
369
|
+
X(a, CALLBACK, REQUIRED, STRING, dfuWaitForDeviceToRestartTaskLabel, 47)
|
|
367
370
|
#define BLUEI18N_CALLBACK pb_default_field_callback
|
|
368
371
|
#define BLUEI18N_DEFAULT NULL
|
|
369
372
|
|
package/nanopb/BlueSystem.pb.h
CHANGED
|
@@ -170,6 +170,12 @@ typedef struct BlueSystemStatus {
|
|
|
170
170
|
/* -- Custom */
|
|
171
171
|
bool has_lock;
|
|
172
172
|
BlueLockStatus_t lock;
|
|
173
|
+
bool has_applicationVersionTest;
|
|
174
|
+
uint32_t applicationVersionTest;
|
|
175
|
+
bool has_newFirmwareVersionAvailable;
|
|
176
|
+
bool newFirmwareVersionAvailable;
|
|
177
|
+
bool has_newTestFirmwareVersionAvailable;
|
|
178
|
+
bool newTestFirmwareVersionAvailable;
|
|
173
179
|
} BlueSystemStatus_t;
|
|
174
180
|
|
|
175
181
|
typedef struct BlueSystemLogQuery {
|
|
@@ -231,7 +237,7 @@ extern "C" {
|
|
|
231
237
|
#define BLUESYSTEMUPDATE_INIT_DEFAULT {false, BLUESYSTEMCONFIG_INIT_DEFAULT, false, BLUESYSTEMTIMEUNIX_INIT_DEFAULT}
|
|
232
238
|
#define BLUESYSTEMSETTINGS_INIT_DEFAULT {0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0, 0}
|
|
233
239
|
#define BLUESYSTEMPROVISIONING_INIT_DEFAULT {BlueHardwareType_TestHardware, "", "00000000000000000000", {0, {0}}, {0, {0}}}
|
|
234
|
-
#define BLUESYSTEMSTATUS_INIT_DEFAULT {"", "", "", _BLUEHARDWARETYPE_MIN, _BLUEBATTERYLEVEL_MIN, 0, BLUELOCALTIMESTAMP_INIT_DEFAULT, BLUESYSTEMSETTINGS_INIT_DEFAULT, false, BLUELOCKSTATUS_INIT_DEFAULT}
|
|
240
|
+
#define BLUESYSTEMSTATUS_INIT_DEFAULT {"", "", "", _BLUEHARDWARETYPE_MIN, _BLUEBATTERYLEVEL_MIN, 0, BLUELOCALTIMESTAMP_INIT_DEFAULT, BLUESYSTEMSETTINGS_INIT_DEFAULT, false, BLUELOCKSTATUS_INIT_DEFAULT, false, 0, false, 0, false, 0}
|
|
235
241
|
#define BLUESYSTEMLOGQUERY_INIT_DEFAULT {0, 0, {0}}
|
|
236
242
|
#define BLUESYSTEMLOGENTRY_INIT_DEFAULT {0, BLUELOCALTIMESTAMP_INIT_DEFAULT, 0, 0, "", ""}
|
|
237
243
|
#define BLUESYSTEMLOGRESULT_INIT_DEFAULT {0, {BLUESYSTEMLOGENTRY_INIT_DEFAULT, BLUESYSTEMLOGENTRY_INIT_DEFAULT, BLUESYSTEMLOGENTRY_INIT_DEFAULT, BLUESYSTEMLOGENTRY_INIT_DEFAULT, BLUESYSTEMLOGENTRY_INIT_DEFAULT, BLUESYSTEMLOGENTRY_INIT_DEFAULT, BLUESYSTEMLOGENTRY_INIT_DEFAULT, BLUESYSTEMLOGENTRY_INIT_DEFAULT, BLUESYSTEMLOGENTRY_INIT_DEFAULT, BLUESYSTEMLOGENTRY_INIT_DEFAULT}}
|
|
@@ -249,7 +255,7 @@ extern "C" {
|
|
|
249
255
|
#define BLUESYSTEMUPDATE_INIT_ZERO {false, BLUESYSTEMCONFIG_INIT_ZERO, false, BLUESYSTEMTIMEUNIX_INIT_ZERO}
|
|
250
256
|
#define BLUESYSTEMSETTINGS_INIT_ZERO {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
|
|
251
257
|
#define BLUESYSTEMPROVISIONING_INIT_ZERO {_BLUEHARDWARETYPE_MIN, "", "", {0, {0}}, {0, {0}}}
|
|
252
|
-
#define BLUESYSTEMSTATUS_INIT_ZERO {"", "", "", _BLUEHARDWARETYPE_MIN, _BLUEBATTERYLEVEL_MIN, 0, BLUELOCALTIMESTAMP_INIT_ZERO, BLUESYSTEMSETTINGS_INIT_ZERO, false, BLUELOCKSTATUS_INIT_ZERO}
|
|
258
|
+
#define BLUESYSTEMSTATUS_INIT_ZERO {"", "", "", _BLUEHARDWARETYPE_MIN, _BLUEBATTERYLEVEL_MIN, 0, BLUELOCALTIMESTAMP_INIT_ZERO, BLUESYSTEMSETTINGS_INIT_ZERO, false, BLUELOCKSTATUS_INIT_ZERO, false, 0, false, 0, false, 0}
|
|
253
259
|
#define BLUESYSTEMLOGQUERY_INIT_ZERO {0, 0, {0}}
|
|
254
260
|
#define BLUESYSTEMLOGENTRY_INIT_ZERO {0, BLUELOCALTIMESTAMP_INIT_ZERO, 0, 0, "", ""}
|
|
255
261
|
#define BLUESYSTEMLOGRESULT_INIT_ZERO {0, {BLUESYSTEMLOGENTRY_INIT_ZERO, BLUESYSTEMLOGENTRY_INIT_ZERO, BLUESYSTEMLOGENTRY_INIT_ZERO, BLUESYSTEMLOGENTRY_INIT_ZERO, BLUESYSTEMLOGENTRY_INIT_ZERO, BLUESYSTEMLOGENTRY_INIT_ZERO, BLUESYSTEMLOGENTRY_INIT_ZERO, BLUESYSTEMLOGENTRY_INIT_ZERO, BLUESYSTEMLOGENTRY_INIT_ZERO, BLUESYSTEMLOGENTRY_INIT_ZERO}}
|
|
@@ -323,6 +329,9 @@ extern "C" {
|
|
|
323
329
|
#define BLUESYSTEMSTATUS_LOCALTIME_TAG 7
|
|
324
330
|
#define BLUESYSTEMSTATUS_SETTINGS_TAG 8
|
|
325
331
|
#define BLUESYSTEMSTATUS_LOCK_TAG 9
|
|
332
|
+
#define BLUESYSTEMSTATUS_APPLICATIONVERSIONTEST_TAG 10
|
|
333
|
+
#define BLUESYSTEMSTATUS_NEWFIRMWAREVERSIONAVAILABLE_TAG 11
|
|
334
|
+
#define BLUESYSTEMSTATUS_NEWTESTFIRMWAREVERSIONAVAILABLE_TAG 12
|
|
326
335
|
#define BLUESYSTEMLOGQUERY_MAXCOUNT_TAG 1
|
|
327
336
|
#define BLUESYSTEMLOGQUERY_SEQUENCEID_TAG 2
|
|
328
337
|
#define BLUESYSTEMLOGQUERY_FROMHEAD_TAG 3
|
|
@@ -461,7 +470,10 @@ X(a, STATIC, REQUIRED, UENUM, batteryLevel, 5) \
|
|
|
461
470
|
X(a, STATIC, REQUIRED, UINT32, applicationVersion, 6) \
|
|
462
471
|
X(a, STATIC, REQUIRED, MESSAGE, localTime, 7) \
|
|
463
472
|
X(a, STATIC, REQUIRED, MESSAGE, settings, 8) \
|
|
464
|
-
X(a, STATIC, OPTIONAL, MESSAGE, lock, 9)
|
|
473
|
+
X(a, STATIC, OPTIONAL, MESSAGE, lock, 9) \
|
|
474
|
+
X(a, STATIC, OPTIONAL, UINT32, applicationVersionTest, 10) \
|
|
475
|
+
X(a, STATIC, OPTIONAL, BOOL, newFirmwareVersionAvailable, 11) \
|
|
476
|
+
X(a, STATIC, OPTIONAL, BOOL, newTestFirmwareVersionAvailable, 12)
|
|
465
477
|
#define BLUESYSTEMSTATUS_CALLBACK NULL
|
|
466
478
|
#define BLUESYSTEMSTATUS_DEFAULT NULL
|
|
467
479
|
#define BlueSystemStatus_t_localTime_MSGTYPE BlueLocalTimestamp_t
|
|
@@ -566,7 +578,7 @@ extern const pb_msgdesc_t BlueBlacklistEntries_t_msg;
|
|
|
566
578
|
#define BLUESYSTEMLOGRESULT_SIZE 1550
|
|
567
579
|
#define BLUESYSTEMPROVISIONING_SIZE 299
|
|
568
580
|
#define BLUESYSTEMSETTINGS_SIZE 48
|
|
569
|
-
#define BLUESYSTEMSTATUS_SIZE
|
|
581
|
+
#define BLUESYSTEMSTATUS_SIZE 144
|
|
570
582
|
#define BLUESYSTEMTIMEUNIX_SIZE 6
|
|
571
583
|
#define BLUESYSTEMUPDATE_SIZE 1668
|
|
572
584
|
|
package/package.json
CHANGED
package/swift/BlueCore.pb.swift
CHANGED
|
@@ -1165,12 +1165,22 @@ public struct BlueVersionInfo {
|
|
|
1165
1165
|
/// Clears the value of `version`. Subsequent reads from it will return its default value.
|
|
1166
1166
|
public mutating func clearVersion() {self._version = nil}
|
|
1167
1167
|
|
|
1168
|
+
public var testVersion: UInt32 {
|
|
1169
|
+
get {return _testVersion ?? 0}
|
|
1170
|
+
set {_testVersion = newValue}
|
|
1171
|
+
}
|
|
1172
|
+
/// Returns true if `testVersion` has been explicitly set.
|
|
1173
|
+
public var hasTestVersion: Bool {return self._testVersion != nil}
|
|
1174
|
+
/// Clears the value of `testVersion`. Subsequent reads from it will return its default value.
|
|
1175
|
+
public mutating func clearTestVersion() {self._testVersion = nil}
|
|
1176
|
+
|
|
1168
1177
|
public var unknownFields = SwiftProtobuf.UnknownStorage()
|
|
1169
1178
|
|
|
1170
1179
|
public init() {}
|
|
1171
1180
|
|
|
1172
1181
|
fileprivate var _buildTime: UInt32? = nil
|
|
1173
1182
|
fileprivate var _version: UInt32? = nil
|
|
1183
|
+
fileprivate var _testVersion: UInt32? = nil
|
|
1174
1184
|
}
|
|
1175
1185
|
|
|
1176
1186
|
public struct BlueLocalTimestamp {
|
|
@@ -3980,11 +3990,13 @@ extension BlueVersionInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen
|
|
|
3980
3990
|
public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
|
|
3981
3991
|
1: .same(proto: "buildTime"),
|
|
3982
3992
|
2: .same(proto: "version"),
|
|
3993
|
+
3: .same(proto: "testVersion"),
|
|
3983
3994
|
]
|
|
3984
3995
|
|
|
3985
3996
|
public var isInitialized: Bool {
|
|
3986
3997
|
if self._buildTime == nil {return false}
|
|
3987
3998
|
if self._version == nil {return false}
|
|
3999
|
+
if self._testVersion == nil {return false}
|
|
3988
4000
|
return true
|
|
3989
4001
|
}
|
|
3990
4002
|
|
|
@@ -3996,6 +4008,7 @@ extension BlueVersionInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen
|
|
|
3996
4008
|
switch fieldNumber {
|
|
3997
4009
|
case 1: try { try decoder.decodeSingularUInt32Field(value: &self._buildTime) }()
|
|
3998
4010
|
case 2: try { try decoder.decodeSingularUInt32Field(value: &self._version) }()
|
|
4011
|
+
case 3: try { try decoder.decodeSingularUInt32Field(value: &self._testVersion) }()
|
|
3999
4012
|
default: break
|
|
4000
4013
|
}
|
|
4001
4014
|
}
|
|
@@ -4012,12 +4025,16 @@ extension BlueVersionInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen
|
|
|
4012
4025
|
try { if let v = self._version {
|
|
4013
4026
|
try visitor.visitSingularUInt32Field(value: v, fieldNumber: 2)
|
|
4014
4027
|
} }()
|
|
4028
|
+
try { if let v = self._testVersion {
|
|
4029
|
+
try visitor.visitSingularUInt32Field(value: v, fieldNumber: 3)
|
|
4030
|
+
} }()
|
|
4015
4031
|
try unknownFields.traverse(visitor: &visitor)
|
|
4016
4032
|
}
|
|
4017
4033
|
|
|
4018
4034
|
public static func ==(lhs: BlueVersionInfo, rhs: BlueVersionInfo) -> Bool {
|
|
4019
4035
|
if lhs._buildTime != rhs._buildTime {return false}
|
|
4020
4036
|
if lhs._version != rhs._version {return false}
|
|
4037
|
+
if lhs._testVersion != rhs._testVersion {return false}
|
|
4021
4038
|
if lhs.unknownFields != rhs.unknownFields {return false}
|
|
4022
4039
|
return true
|
|
4023
4040
|
}
|
package/swift/BlueSDK.pb.swift
CHANGED
|
@@ -405,6 +405,15 @@ 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 syncDeviceCheckLatestFwlabel: String {
|
|
409
|
+
get {return _storage._syncDeviceCheckLatestFwlabel ?? "Check latest firmware"}
|
|
410
|
+
set {_uniqueStorage()._syncDeviceCheckLatestFwlabel = newValue}
|
|
411
|
+
}
|
|
412
|
+
/// Returns true if `syncDeviceCheckLatestFwlabel` has been explicitly set.
|
|
413
|
+
public var hasSyncDeviceCheckLatestFwlabel: Bool {return _storage._syncDeviceCheckLatestFwlabel != nil}
|
|
414
|
+
/// Clears the value of `syncDeviceCheckLatestFwlabel`. Subsequent reads from it will return its default value.
|
|
415
|
+
public mutating func clearSyncDeviceCheckLatestFwlabel() {_uniqueStorage()._syncDeviceCheckLatestFwlabel = nil}
|
|
416
|
+
|
|
408
417
|
public var dfuInProgressTitle: String {
|
|
409
418
|
get {return _storage._dfuInProgressTitle ?? "Update in Progress"}
|
|
410
419
|
set {_uniqueStorage()._dfuInProgressTitle = newValue}
|
|
@@ -486,14 +495,14 @@ public struct BlueI18n {
|
|
|
486
495
|
/// Clears the value of `dfuStartBootloaderLabel`. Subsequent reads from it will return its default value.
|
|
487
496
|
public mutating func clearDfuStartBootloaderLabel() {_uniqueStorage()._dfuStartBootloaderLabel = nil}
|
|
488
497
|
|
|
489
|
-
public var
|
|
490
|
-
get {return _storage.
|
|
491
|
-
set {_uniqueStorage().
|
|
498
|
+
public var dfuInitializationLabel: String {
|
|
499
|
+
get {return _storage._dfuInitializationLabel ?? "DFU initialization"}
|
|
500
|
+
set {_uniqueStorage()._dfuInitializationLabel = newValue}
|
|
492
501
|
}
|
|
493
|
-
/// Returns true if `
|
|
494
|
-
public var
|
|
495
|
-
/// Clears the value of `
|
|
496
|
-
public mutating func
|
|
502
|
+
/// Returns true if `dfuInitializationLabel` has been explicitly set.
|
|
503
|
+
public var hasDfuInitializationLabel: Bool {return _storage._dfuInitializationLabel != nil}
|
|
504
|
+
/// Clears the value of `dfuInitializationLabel`. Subsequent reads from it will return its default value.
|
|
505
|
+
public mutating func clearDfuInitializationLabel() {_uniqueStorage()._dfuInitializationLabel = nil}
|
|
497
506
|
|
|
498
507
|
public var dfuUpdateFwlabel: String {
|
|
499
508
|
get {return _storage._dfuUpdateFwlabel ?? "Update firmware"}
|
|
@@ -1131,18 +1140,19 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
1131
1140
|
32: .same(proto: "syncDeviceDeployBlacklistEntriesTaskLabel"),
|
|
1132
1141
|
33: .same(proto: "syncDeviceRetrieveSystemStatusTaskLabel"),
|
|
1133
1142
|
34: .same(proto: "syncDevicePushSystemStatusTaskLabel"),
|
|
1134
|
-
35: .same(proto: "
|
|
1135
|
-
36: .same(proto: "
|
|
1136
|
-
37: .same(proto: "
|
|
1137
|
-
38: .same(proto: "
|
|
1138
|
-
39: .same(proto: "
|
|
1139
|
-
40: .same(proto: "
|
|
1140
|
-
41: .same(proto: "
|
|
1141
|
-
42: .same(proto: "
|
|
1142
|
-
43: .same(proto: "
|
|
1143
|
-
44: .same(proto: "
|
|
1144
|
-
45: .same(proto: "
|
|
1145
|
-
46: .same(proto: "
|
|
1143
|
+
35: .same(proto: "syncDeviceCheckLatestFWLabel"),
|
|
1144
|
+
36: .same(proto: "dfuInProgressTitle"),
|
|
1145
|
+
37: .same(proto: "dfuFailedTitle"),
|
|
1146
|
+
38: .same(proto: "dfuCancellingTitle"),
|
|
1147
|
+
39: .same(proto: "dfuCompletedTitle"),
|
|
1148
|
+
40: .same(proto: "dfuGetAuthenticationTokenTaskLabel"),
|
|
1149
|
+
41: .same(proto: "dfuCheckLatestFWLabel"),
|
|
1150
|
+
42: .same(proto: "dfuDownloadLatestFWLabel"),
|
|
1151
|
+
43: .same(proto: "dfuPrepareUpdateLabel"),
|
|
1152
|
+
44: .same(proto: "dfuStartBootloaderLabel"),
|
|
1153
|
+
45: .same(proto: "dfuInitializationLabel"),
|
|
1154
|
+
46: .same(proto: "dfuUpdateFWLabel"),
|
|
1155
|
+
47: .same(proto: "dfuWaitForDeviceToRestartTaskLabel"),
|
|
1146
1156
|
]
|
|
1147
1157
|
|
|
1148
1158
|
fileprivate class _StorageClass {
|
|
@@ -1180,6 +1190,7 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
1180
1190
|
var _syncDeviceDeployBlacklistEntriesTaskLabel: String? = nil
|
|
1181
1191
|
var _syncDeviceRetrieveSystemStatusTaskLabel: String? = nil
|
|
1182
1192
|
var _syncDevicePushSystemStatusTaskLabel: String? = nil
|
|
1193
|
+
var _syncDeviceCheckLatestFwlabel: String? = nil
|
|
1183
1194
|
var _dfuInProgressTitle: String? = nil
|
|
1184
1195
|
var _dfuFailedTitle: String? = nil
|
|
1185
1196
|
var _dfuCancellingTitle: String? = nil
|
|
@@ -1189,7 +1200,7 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
1189
1200
|
var _dfuDownloadLatestFwlabel: String? = nil
|
|
1190
1201
|
var _dfuPrepareUpdateLabel: String? = nil
|
|
1191
1202
|
var _dfuStartBootloaderLabel: String? = nil
|
|
1192
|
-
var
|
|
1203
|
+
var _dfuInitializationLabel: String? = nil
|
|
1193
1204
|
var _dfuUpdateFwlabel: String? = nil
|
|
1194
1205
|
var _dfuWaitForDeviceToRestartTaskLabel: String? = nil
|
|
1195
1206
|
|
|
@@ -1232,6 +1243,7 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
1232
1243
|
_syncDeviceDeployBlacklistEntriesTaskLabel = source._syncDeviceDeployBlacklistEntriesTaskLabel
|
|
1233
1244
|
_syncDeviceRetrieveSystemStatusTaskLabel = source._syncDeviceRetrieveSystemStatusTaskLabel
|
|
1234
1245
|
_syncDevicePushSystemStatusTaskLabel = source._syncDevicePushSystemStatusTaskLabel
|
|
1246
|
+
_syncDeviceCheckLatestFwlabel = source._syncDeviceCheckLatestFwlabel
|
|
1235
1247
|
_dfuInProgressTitle = source._dfuInProgressTitle
|
|
1236
1248
|
_dfuFailedTitle = source._dfuFailedTitle
|
|
1237
1249
|
_dfuCancellingTitle = source._dfuCancellingTitle
|
|
@@ -1241,7 +1253,7 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
1241
1253
|
_dfuDownloadLatestFwlabel = source._dfuDownloadLatestFwlabel
|
|
1242
1254
|
_dfuPrepareUpdateLabel = source._dfuPrepareUpdateLabel
|
|
1243
1255
|
_dfuStartBootloaderLabel = source._dfuStartBootloaderLabel
|
|
1244
|
-
|
|
1256
|
+
_dfuInitializationLabel = source._dfuInitializationLabel
|
|
1245
1257
|
_dfuUpdateFwlabel = source._dfuUpdateFwlabel
|
|
1246
1258
|
_dfuWaitForDeviceToRestartTaskLabel = source._dfuWaitForDeviceToRestartTaskLabel
|
|
1247
1259
|
}
|
|
@@ -1290,6 +1302,7 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
1290
1302
|
if _storage._syncDeviceDeployBlacklistEntriesTaskLabel == nil {return false}
|
|
1291
1303
|
if _storage._syncDeviceRetrieveSystemStatusTaskLabel == nil {return false}
|
|
1292
1304
|
if _storage._syncDevicePushSystemStatusTaskLabel == nil {return false}
|
|
1305
|
+
if _storage._syncDeviceCheckLatestFwlabel == nil {return false}
|
|
1293
1306
|
if _storage._dfuInProgressTitle == nil {return false}
|
|
1294
1307
|
if _storage._dfuFailedTitle == nil {return false}
|
|
1295
1308
|
if _storage._dfuCancellingTitle == nil {return false}
|
|
@@ -1299,7 +1312,7 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
1299
1312
|
if _storage._dfuDownloadLatestFwlabel == nil {return false}
|
|
1300
1313
|
if _storage._dfuPrepareUpdateLabel == nil {return false}
|
|
1301
1314
|
if _storage._dfuStartBootloaderLabel == nil {return false}
|
|
1302
|
-
if _storage.
|
|
1315
|
+
if _storage._dfuInitializationLabel == nil {return false}
|
|
1303
1316
|
if _storage._dfuUpdateFwlabel == nil {return false}
|
|
1304
1317
|
if _storage._dfuWaitForDeviceToRestartTaskLabel == nil {return false}
|
|
1305
1318
|
return true
|
|
@@ -1348,18 +1361,19 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
1348
1361
|
case 32: try { try decoder.decodeSingularStringField(value: &_storage._syncDeviceDeployBlacklistEntriesTaskLabel) }()
|
|
1349
1362
|
case 33: try { try decoder.decodeSingularStringField(value: &_storage._syncDeviceRetrieveSystemStatusTaskLabel) }()
|
|
1350
1363
|
case 34: try { try decoder.decodeSingularStringField(value: &_storage._syncDevicePushSystemStatusTaskLabel) }()
|
|
1351
|
-
case 35: try { try decoder.decodeSingularStringField(value: &_storage.
|
|
1352
|
-
case 36: try { try decoder.decodeSingularStringField(value: &_storage.
|
|
1353
|
-
case 37: try { try decoder.decodeSingularStringField(value: &_storage.
|
|
1354
|
-
case 38: try { try decoder.decodeSingularStringField(value: &_storage.
|
|
1355
|
-
case 39: try { try decoder.decodeSingularStringField(value: &_storage.
|
|
1356
|
-
case 40: try { try decoder.decodeSingularStringField(value: &_storage.
|
|
1357
|
-
case 41: try { try decoder.decodeSingularStringField(value: &_storage.
|
|
1358
|
-
case 42: try { try decoder.decodeSingularStringField(value: &_storage.
|
|
1359
|
-
case 43: try { try decoder.decodeSingularStringField(value: &_storage.
|
|
1360
|
-
case 44: try { try decoder.decodeSingularStringField(value: &_storage.
|
|
1361
|
-
case 45: try { try decoder.decodeSingularStringField(value: &_storage.
|
|
1362
|
-
case 46: try { try decoder.decodeSingularStringField(value: &_storage.
|
|
1364
|
+
case 35: try { try decoder.decodeSingularStringField(value: &_storage._syncDeviceCheckLatestFwlabel) }()
|
|
1365
|
+
case 36: try { try decoder.decodeSingularStringField(value: &_storage._dfuInProgressTitle) }()
|
|
1366
|
+
case 37: try { try decoder.decodeSingularStringField(value: &_storage._dfuFailedTitle) }()
|
|
1367
|
+
case 38: try { try decoder.decodeSingularStringField(value: &_storage._dfuCancellingTitle) }()
|
|
1368
|
+
case 39: try { try decoder.decodeSingularStringField(value: &_storage._dfuCompletedTitle) }()
|
|
1369
|
+
case 40: try { try decoder.decodeSingularStringField(value: &_storage._dfuGetAuthenticationTokenTaskLabel) }()
|
|
1370
|
+
case 41: try { try decoder.decodeSingularStringField(value: &_storage._dfuCheckLatestFwlabel) }()
|
|
1371
|
+
case 42: try { try decoder.decodeSingularStringField(value: &_storage._dfuDownloadLatestFwlabel) }()
|
|
1372
|
+
case 43: try { try decoder.decodeSingularStringField(value: &_storage._dfuPrepareUpdateLabel) }()
|
|
1373
|
+
case 44: try { try decoder.decodeSingularStringField(value: &_storage._dfuStartBootloaderLabel) }()
|
|
1374
|
+
case 45: try { try decoder.decodeSingularStringField(value: &_storage._dfuInitializationLabel) }()
|
|
1375
|
+
case 46: try { try decoder.decodeSingularStringField(value: &_storage._dfuUpdateFwlabel) }()
|
|
1376
|
+
case 47: try { try decoder.decodeSingularStringField(value: &_storage._dfuWaitForDeviceToRestartTaskLabel) }()
|
|
1363
1377
|
default: break
|
|
1364
1378
|
}
|
|
1365
1379
|
}
|
|
@@ -1474,42 +1488,45 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
1474
1488
|
try { if let v = _storage._syncDevicePushSystemStatusTaskLabel {
|
|
1475
1489
|
try visitor.visitSingularStringField(value: v, fieldNumber: 34)
|
|
1476
1490
|
} }()
|
|
1477
|
-
try { if let v = _storage.
|
|
1491
|
+
try { if let v = _storage._syncDeviceCheckLatestFwlabel {
|
|
1478
1492
|
try visitor.visitSingularStringField(value: v, fieldNumber: 35)
|
|
1479
1493
|
} }()
|
|
1480
|
-
try { if let v = _storage.
|
|
1494
|
+
try { if let v = _storage._dfuInProgressTitle {
|
|
1481
1495
|
try visitor.visitSingularStringField(value: v, fieldNumber: 36)
|
|
1482
1496
|
} }()
|
|
1483
|
-
try { if let v = _storage.
|
|
1497
|
+
try { if let v = _storage._dfuFailedTitle {
|
|
1484
1498
|
try visitor.visitSingularStringField(value: v, fieldNumber: 37)
|
|
1485
1499
|
} }()
|
|
1486
|
-
try { if let v = _storage.
|
|
1500
|
+
try { if let v = _storage._dfuCancellingTitle {
|
|
1487
1501
|
try visitor.visitSingularStringField(value: v, fieldNumber: 38)
|
|
1488
1502
|
} }()
|
|
1489
|
-
try { if let v = _storage.
|
|
1503
|
+
try { if let v = _storage._dfuCompletedTitle {
|
|
1490
1504
|
try visitor.visitSingularStringField(value: v, fieldNumber: 39)
|
|
1491
1505
|
} }()
|
|
1492
|
-
try { if let v = _storage.
|
|
1506
|
+
try { if let v = _storage._dfuGetAuthenticationTokenTaskLabel {
|
|
1493
1507
|
try visitor.visitSingularStringField(value: v, fieldNumber: 40)
|
|
1494
1508
|
} }()
|
|
1495
|
-
try { if let v = _storage.
|
|
1509
|
+
try { if let v = _storage._dfuCheckLatestFwlabel {
|
|
1496
1510
|
try visitor.visitSingularStringField(value: v, fieldNumber: 41)
|
|
1497
1511
|
} }()
|
|
1498
|
-
try { if let v = _storage.
|
|
1512
|
+
try { if let v = _storage._dfuDownloadLatestFwlabel {
|
|
1499
1513
|
try visitor.visitSingularStringField(value: v, fieldNumber: 42)
|
|
1500
1514
|
} }()
|
|
1501
|
-
try { if let v = _storage.
|
|
1515
|
+
try { if let v = _storage._dfuPrepareUpdateLabel {
|
|
1502
1516
|
try visitor.visitSingularStringField(value: v, fieldNumber: 43)
|
|
1503
1517
|
} }()
|
|
1504
|
-
try { if let v = _storage.
|
|
1518
|
+
try { if let v = _storage._dfuStartBootloaderLabel {
|
|
1505
1519
|
try visitor.visitSingularStringField(value: v, fieldNumber: 44)
|
|
1506
1520
|
} }()
|
|
1507
|
-
try { if let v = _storage.
|
|
1521
|
+
try { if let v = _storage._dfuInitializationLabel {
|
|
1508
1522
|
try visitor.visitSingularStringField(value: v, fieldNumber: 45)
|
|
1509
1523
|
} }()
|
|
1510
|
-
try { if let v = _storage.
|
|
1524
|
+
try { if let v = _storage._dfuUpdateFwlabel {
|
|
1511
1525
|
try visitor.visitSingularStringField(value: v, fieldNumber: 46)
|
|
1512
1526
|
} }()
|
|
1527
|
+
try { if let v = _storage._dfuWaitForDeviceToRestartTaskLabel {
|
|
1528
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 47)
|
|
1529
|
+
} }()
|
|
1513
1530
|
}
|
|
1514
1531
|
try unknownFields.traverse(visitor: &visitor)
|
|
1515
1532
|
}
|
|
@@ -1553,6 +1570,7 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
1553
1570
|
if _storage._syncDeviceDeployBlacklistEntriesTaskLabel != rhs_storage._syncDeviceDeployBlacklistEntriesTaskLabel {return false}
|
|
1554
1571
|
if _storage._syncDeviceRetrieveSystemStatusTaskLabel != rhs_storage._syncDeviceRetrieveSystemStatusTaskLabel {return false}
|
|
1555
1572
|
if _storage._syncDevicePushSystemStatusTaskLabel != rhs_storage._syncDevicePushSystemStatusTaskLabel {return false}
|
|
1573
|
+
if _storage._syncDeviceCheckLatestFwlabel != rhs_storage._syncDeviceCheckLatestFwlabel {return false}
|
|
1556
1574
|
if _storage._dfuInProgressTitle != rhs_storage._dfuInProgressTitle {return false}
|
|
1557
1575
|
if _storage._dfuFailedTitle != rhs_storage._dfuFailedTitle {return false}
|
|
1558
1576
|
if _storage._dfuCancellingTitle != rhs_storage._dfuCancellingTitle {return false}
|
|
@@ -1562,7 +1580,7 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
1562
1580
|
if _storage._dfuDownloadLatestFwlabel != rhs_storage._dfuDownloadLatestFwlabel {return false}
|
|
1563
1581
|
if _storage._dfuPrepareUpdateLabel != rhs_storage._dfuPrepareUpdateLabel {return false}
|
|
1564
1582
|
if _storage._dfuStartBootloaderLabel != rhs_storage._dfuStartBootloaderLabel {return false}
|
|
1565
|
-
if _storage.
|
|
1583
|
+
if _storage._dfuInitializationLabel != rhs_storage._dfuInitializationLabel {return false}
|
|
1566
1584
|
if _storage._dfuUpdateFwlabel != rhs_storage._dfuUpdateFwlabel {return false}
|
|
1567
1585
|
if _storage._dfuWaitForDeviceToRestartTaskLabel != rhs_storage._dfuWaitForDeviceToRestartTaskLabel {return false}
|
|
1568
1586
|
return true
|
|
@@ -791,6 +791,33 @@ public struct BlueSystemStatus {
|
|
|
791
791
|
/// Clears the value of `lock`. Subsequent reads from it will return its default value.
|
|
792
792
|
public mutating func clearLock() {_uniqueStorage()._lock = nil}
|
|
793
793
|
|
|
794
|
+
public var applicationVersionTest: UInt32 {
|
|
795
|
+
get {return _storage._applicationVersionTest ?? 0}
|
|
796
|
+
set {_uniqueStorage()._applicationVersionTest = newValue}
|
|
797
|
+
}
|
|
798
|
+
/// Returns true if `applicationVersionTest` has been explicitly set.
|
|
799
|
+
public var hasApplicationVersionTest: Bool {return _storage._applicationVersionTest != nil}
|
|
800
|
+
/// Clears the value of `applicationVersionTest`. Subsequent reads from it will return its default value.
|
|
801
|
+
public mutating func clearApplicationVersionTest() {_uniqueStorage()._applicationVersionTest = nil}
|
|
802
|
+
|
|
803
|
+
public var newFirmwareVersionAvailable: Bool {
|
|
804
|
+
get {return _storage._newFirmwareVersionAvailable ?? false}
|
|
805
|
+
set {_uniqueStorage()._newFirmwareVersionAvailable = newValue}
|
|
806
|
+
}
|
|
807
|
+
/// Returns true if `newFirmwareVersionAvailable` has been explicitly set.
|
|
808
|
+
public var hasNewFirmwareVersionAvailable: Bool {return _storage._newFirmwareVersionAvailable != nil}
|
|
809
|
+
/// Clears the value of `newFirmwareVersionAvailable`. Subsequent reads from it will return its default value.
|
|
810
|
+
public mutating func clearNewFirmwareVersionAvailable() {_uniqueStorage()._newFirmwareVersionAvailable = nil}
|
|
811
|
+
|
|
812
|
+
public var newTestFirmwareVersionAvailable: Bool {
|
|
813
|
+
get {return _storage._newTestFirmwareVersionAvailable ?? false}
|
|
814
|
+
set {_uniqueStorage()._newTestFirmwareVersionAvailable = newValue}
|
|
815
|
+
}
|
|
816
|
+
/// Returns true if `newTestFirmwareVersionAvailable` has been explicitly set.
|
|
817
|
+
public var hasNewTestFirmwareVersionAvailable: Bool {return _storage._newTestFirmwareVersionAvailable != nil}
|
|
818
|
+
/// Clears the value of `newTestFirmwareVersionAvailable`. Subsequent reads from it will return its default value.
|
|
819
|
+
public mutating func clearNewTestFirmwareVersionAvailable() {_uniqueStorage()._newTestFirmwareVersionAvailable = nil}
|
|
820
|
+
|
|
794
821
|
public var unknownFields = SwiftProtobuf.UnknownStorage()
|
|
795
822
|
|
|
796
823
|
public init() {}
|
|
@@ -1888,6 +1915,9 @@ extension BlueSystemStatus: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme
|
|
|
1888
1915
|
7: .same(proto: "localTime"),
|
|
1889
1916
|
8: .same(proto: "settings"),
|
|
1890
1917
|
9: .same(proto: "lock"),
|
|
1918
|
+
10: .same(proto: "applicationVersionTest"),
|
|
1919
|
+
11: .same(proto: "newFirmwareVersionAvailable"),
|
|
1920
|
+
12: .same(proto: "newTestFirmwareVersionAvailable"),
|
|
1891
1921
|
]
|
|
1892
1922
|
|
|
1893
1923
|
fileprivate class _StorageClass {
|
|
@@ -1900,6 +1930,9 @@ extension BlueSystemStatus: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme
|
|
|
1900
1930
|
var _localTime: BlueLocalTimestamp? = nil
|
|
1901
1931
|
var _settings: BlueSystemSettings? = nil
|
|
1902
1932
|
var _lock: BlueLockStatus? = nil
|
|
1933
|
+
var _applicationVersionTest: UInt32? = nil
|
|
1934
|
+
var _newFirmwareVersionAvailable: Bool? = nil
|
|
1935
|
+
var _newTestFirmwareVersionAvailable: Bool? = nil
|
|
1903
1936
|
|
|
1904
1937
|
static let defaultInstance = _StorageClass()
|
|
1905
1938
|
|
|
@@ -1915,6 +1948,9 @@ extension BlueSystemStatus: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme
|
|
|
1915
1948
|
_localTime = source._localTime
|
|
1916
1949
|
_settings = source._settings
|
|
1917
1950
|
_lock = source._lock
|
|
1951
|
+
_applicationVersionTest = source._applicationVersionTest
|
|
1952
|
+
_newFirmwareVersionAvailable = source._newFirmwareVersionAvailable
|
|
1953
|
+
_newTestFirmwareVersionAvailable = source._newTestFirmwareVersionAvailable
|
|
1918
1954
|
}
|
|
1919
1955
|
}
|
|
1920
1956
|
|
|
@@ -1959,6 +1995,9 @@ extension BlueSystemStatus: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme
|
|
|
1959
1995
|
case 7: try { try decoder.decodeSingularMessageField(value: &_storage._localTime) }()
|
|
1960
1996
|
case 8: try { try decoder.decodeSingularMessageField(value: &_storage._settings) }()
|
|
1961
1997
|
case 9: try { try decoder.decodeSingularMessageField(value: &_storage._lock) }()
|
|
1998
|
+
case 10: try { try decoder.decodeSingularUInt32Field(value: &_storage._applicationVersionTest) }()
|
|
1999
|
+
case 11: try { try decoder.decodeSingularBoolField(value: &_storage._newFirmwareVersionAvailable) }()
|
|
2000
|
+
case 12: try { try decoder.decodeSingularBoolField(value: &_storage._newTestFirmwareVersionAvailable) }()
|
|
1962
2001
|
default: break
|
|
1963
2002
|
}
|
|
1964
2003
|
}
|
|
@@ -1998,6 +2037,15 @@ extension BlueSystemStatus: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme
|
|
|
1998
2037
|
try { if let v = _storage._lock {
|
|
1999
2038
|
try visitor.visitSingularMessageField(value: v, fieldNumber: 9)
|
|
2000
2039
|
} }()
|
|
2040
|
+
try { if let v = _storage._applicationVersionTest {
|
|
2041
|
+
try visitor.visitSingularUInt32Field(value: v, fieldNumber: 10)
|
|
2042
|
+
} }()
|
|
2043
|
+
try { if let v = _storage._newFirmwareVersionAvailable {
|
|
2044
|
+
try visitor.visitSingularBoolField(value: v, fieldNumber: 11)
|
|
2045
|
+
} }()
|
|
2046
|
+
try { if let v = _storage._newTestFirmwareVersionAvailable {
|
|
2047
|
+
try visitor.visitSingularBoolField(value: v, fieldNumber: 12)
|
|
2048
|
+
} }()
|
|
2001
2049
|
}
|
|
2002
2050
|
try unknownFields.traverse(visitor: &visitor)
|
|
2003
2051
|
}
|
|
@@ -2016,6 +2064,9 @@ extension BlueSystemStatus: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme
|
|
|
2016
2064
|
if _storage._localTime != rhs_storage._localTime {return false}
|
|
2017
2065
|
if _storage._settings != rhs_storage._settings {return false}
|
|
2018
2066
|
if _storage._lock != rhs_storage._lock {return false}
|
|
2067
|
+
if _storage._applicationVersionTest != rhs_storage._applicationVersionTest {return false}
|
|
2068
|
+
if _storage._newFirmwareVersionAvailable != rhs_storage._newFirmwareVersionAvailable {return false}
|
|
2069
|
+
if _storage._newTestFirmwareVersionAvailable != rhs_storage._newTestFirmwareVersionAvailable {return false}
|
|
2019
2070
|
return true
|
|
2020
2071
|
}
|
|
2021
2072
|
if !storagesAreEqual {return false}
|