@blueid/access-proto 0.104.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 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
@@ -202,6 +204,7 @@ enum BlueReturnCode {
202
204
  message BlueVersionInfo {
203
205
  required uint32 buildTime = 1;
204
206
  required uint32 version = 2 [ (nanopb).int_size = IS_16 ];
207
+ required uint32 testVersion = 3 [ (nanopb).int_size = IS_16 ];
205
208
  }
206
209
 
207
210
  message BlueLocalTimestamp {
package/BlueSDK.proto CHANGED
@@ -83,6 +83,34 @@ 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" ];
88
+
89
+
90
+ required string dfuInProgressTitle = 36
91
+ [ default = "Update in Progress" ];
92
+ required string dfuFailedTitle = 37
93
+ [ default = "Update has failed" ];
94
+ required string dfuCancellingTitle = 38
95
+ [ default = "Cancelling..." ];
96
+ required string dfuCompletedTitle = 39
97
+ [ default = "Update has been completed" ];
98
+ required string dfuGetAuthenticationTokenTaskLabel = 40
99
+ [ default = "Issue authentication token" ];
100
+ required string dfuCheckLatestFWLabel = 41
101
+ [ default = "Check latest firmware" ];
102
+ required string dfuDownloadLatestFWLabel = 42
103
+ [ default = "Download latest firmware" ];
104
+ required string dfuPrepareUpdateLabel = 43
105
+ [ default = "Prepare Update" ];
106
+ required string dfuStartBootloaderLabel = 44
107
+ [ default = "Start Bootloader" ];
108
+ required string dfuInitializationLabel = 45
109
+ [ default = "DFU initialization" ];
110
+ required string dfuUpdateFWLabel = 46
111
+ [ default = "Update firmware" ];
112
+ required string dfuWaitForDeviceToRestartTaskLabel = 47
113
+ [ default = "Wait for device to restart" ];
86
114
  }
87
115
 
88
116
  ///////////////////////////////////////////////////////////////////////
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
  ///////////////////////////////////////////////////////////////////////
@@ -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
  */
@@ -1115,6 +1125,11 @@ export declare class BlueVersionInfo extends Message<BlueVersionInfo> {
1115
1125
  */
1116
1126
  version: number;
1117
1127
 
1128
+ /**
1129
+ * @generated from field: required uint32 testVersion = 3;
1130
+ */
1131
+ testVersion: number;
1132
+
1118
1133
  constructor(data?: PartialMessage<BlueVersionInfo>);
1119
1134
 
1120
1135
  static readonly runtime: typeof proto2;
@@ -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
  ]
@@ -377,6 +379,13 @@ const BlueVersionInfo = import_protobuf.proto2.makeMessageType(
377
379
  kind: "scalar",
378
380
  T: 13
379
381
  /* ScalarType.UINT32 */
382
+ },
383
+ {
384
+ no: 3,
385
+ name: "testVersion",
386
+ kind: "scalar",
387
+ T: 13
388
+ /* ScalarType.UINT32 */
380
389
  }
381
390
  ]
382
391
  );
@@ -221,6 +221,71 @@ export declare class BlueI18n extends Message<BlueI18n> {
221
221
  */
222
222
  syncDevicePushSystemStatusTaskLabel: string;
223
223
 
224
+ /**
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"];
231
+ */
232
+ dfuInProgressTitle: string;
233
+
234
+ /**
235
+ * @generated from field: required string dfuFailedTitle = 37 [default = "Update has failed"];
236
+ */
237
+ dfuFailedTitle: string;
238
+
239
+ /**
240
+ * @generated from field: required string dfuCancellingTitle = 38 [default = "Cancelling..."];
241
+ */
242
+ dfuCancellingTitle: string;
243
+
244
+ /**
245
+ * @generated from field: required string dfuCompletedTitle = 39 [default = "Update has been completed"];
246
+ */
247
+ dfuCompletedTitle: string;
248
+
249
+ /**
250
+ * @generated from field: required string dfuGetAuthenticationTokenTaskLabel = 40 [default = "Issue authentication token"];
251
+ */
252
+ dfuGetAuthenticationTokenTaskLabel: string;
253
+
254
+ /**
255
+ * @generated from field: required string dfuCheckLatestFWLabel = 41 [default = "Check latest firmware"];
256
+ */
257
+ dfuCheckLatestFWLabel: string;
258
+
259
+ /**
260
+ * @generated from field: required string dfuDownloadLatestFWLabel = 42 [default = "Download latest firmware"];
261
+ */
262
+ dfuDownloadLatestFWLabel: string;
263
+
264
+ /**
265
+ * @generated from field: required string dfuPrepareUpdateLabel = 43 [default = "Prepare Update"];
266
+ */
267
+ dfuPrepareUpdateLabel: string;
268
+
269
+ /**
270
+ * @generated from field: required string dfuStartBootloaderLabel = 44 [default = "Start Bootloader"];
271
+ */
272
+ dfuStartBootloaderLabel: string;
273
+
274
+ /**
275
+ * @generated from field: required string dfuInitializationLabel = 45 [default = "DFU initialization"];
276
+ */
277
+ dfuInitializationLabel: string;
278
+
279
+ /**
280
+ * @generated from field: required string dfuUpdateFWLabel = 46 [default = "Update firmware"];
281
+ */
282
+ dfuUpdateFWLabel: string;
283
+
284
+ /**
285
+ * @generated from field: required string dfuWaitForDeviceToRestartTaskLabel = 47 [default = "Wait for device to restart"];
286
+ */
287
+ dfuWaitForDeviceToRestartTaskLabel: string;
288
+
224
289
  constructor(data?: PartialMessage<BlueI18n>);
225
290
 
226
291
  static readonly runtime: typeof proto2;
package/cjs/BlueSDK_pb.js CHANGED
@@ -89,7 +89,20 @@ 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: "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" }
93
106
  ]
94
107
  );
95
108
  const BlueDeviceDetailsBluetooth = import_protobuf.proto2.makeMessageType(
@@ -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;
@@ -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(
@@ -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
  */
@@ -1115,6 +1125,11 @@ export declare class BlueVersionInfo extends Message<BlueVersionInfo> {
1115
1125
  */
1116
1126
  version: number;
1117
1127
 
1128
+ /**
1129
+ * @generated from field: required uint32 testVersion = 3;
1130
+ */
1131
+ testVersion: number;
1132
+
1118
1133
  constructor(data?: PartialMessage<BlueVersionInfo>);
1119
1134
 
1120
1135
  static readonly runtime: typeof proto2;
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
  ],
@@ -352,6 +354,7 @@ export const BlueVersionInfo = proto2.makeMessageType(
352
354
  () => [
353
355
  { no: 1, name: "buildTime", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
354
356
  { no: 2, name: "version", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
357
+ { no: 3, name: "testVersion", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
355
358
  ],
356
359
  );
357
360
 
@@ -221,6 +221,71 @@ export declare class BlueI18n extends Message<BlueI18n> {
221
221
  */
222
222
  syncDevicePushSystemStatusTaskLabel: string;
223
223
 
224
+ /**
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"];
231
+ */
232
+ dfuInProgressTitle: string;
233
+
234
+ /**
235
+ * @generated from field: required string dfuFailedTitle = 37 [default = "Update has failed"];
236
+ */
237
+ dfuFailedTitle: string;
238
+
239
+ /**
240
+ * @generated from field: required string dfuCancellingTitle = 38 [default = "Cancelling..."];
241
+ */
242
+ dfuCancellingTitle: string;
243
+
244
+ /**
245
+ * @generated from field: required string dfuCompletedTitle = 39 [default = "Update has been completed"];
246
+ */
247
+ dfuCompletedTitle: string;
248
+
249
+ /**
250
+ * @generated from field: required string dfuGetAuthenticationTokenTaskLabel = 40 [default = "Issue authentication token"];
251
+ */
252
+ dfuGetAuthenticationTokenTaskLabel: string;
253
+
254
+ /**
255
+ * @generated from field: required string dfuCheckLatestFWLabel = 41 [default = "Check latest firmware"];
256
+ */
257
+ dfuCheckLatestFWLabel: string;
258
+
259
+ /**
260
+ * @generated from field: required string dfuDownloadLatestFWLabel = 42 [default = "Download latest firmware"];
261
+ */
262
+ dfuDownloadLatestFWLabel: string;
263
+
264
+ /**
265
+ * @generated from field: required string dfuPrepareUpdateLabel = 43 [default = "Prepare Update"];
266
+ */
267
+ dfuPrepareUpdateLabel: string;
268
+
269
+ /**
270
+ * @generated from field: required string dfuStartBootloaderLabel = 44 [default = "Start Bootloader"];
271
+ */
272
+ dfuStartBootloaderLabel: string;
273
+
274
+ /**
275
+ * @generated from field: required string dfuInitializationLabel = 45 [default = "DFU initialization"];
276
+ */
277
+ dfuInitializationLabel: string;
278
+
279
+ /**
280
+ * @generated from field: required string dfuUpdateFWLabel = 46 [default = "Update firmware"];
281
+ */
282
+ dfuUpdateFWLabel: string;
283
+
284
+ /**
285
+ * @generated from field: required string dfuWaitForDeviceToRestartTaskLabel = 47 [default = "Wait for device to restart"];
286
+ */
287
+ dfuWaitForDeviceToRestartTaskLabel: string;
288
+
224
289
  constructor(data?: PartialMessage<BlueI18n>);
225
290
 
226
291
  static readonly runtime: typeof proto2;
package/es/BlueSDK_pb.js CHANGED
@@ -70,6 +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: "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" },
73
86
  ],
74
87
  );
75
88
 
@@ -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;
@@ -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
 
@@ -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;
@@ -287,6 +289,7 @@ typedef struct BlueSharedDemoData {
287
289
  typedef struct BlueVersionInfo {
288
290
  uint32_t buildTime;
289
291
  uint16_t version;
292
+ uint16_t testVersion;
290
293
  } BlueVersionInfo_t;
291
294
 
292
295
  typedef struct BlueLocalTimestamp {
@@ -862,7 +865,7 @@ extern "C" {
862
865
 
863
866
  /* Initializer values for message structs */
864
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}}}
865
- #define BLUEVERSIONINFO_INIT_DEFAULT {0, 0}
868
+ #define BLUEVERSIONINFO_INIT_DEFAULT {0, 0, 0}
866
869
  #define BLUELOCALTIMESTAMP_INIT_DEFAULT {0, 0, 0, 0, 0, 0u}
867
870
  #define BLUELOCALTIMEPERIOD_INIT_DEFAULT {0, 0, 0, 0}
868
871
  #define BLUELOCALTIMESCHEDULE_INIT_DEFAULT {0, 0, 0, {0, 0, 0, 0, 0, 0, 0}, BLUELOCALTIMEPERIOD_INIT_DEFAULT}
@@ -918,7 +921,7 @@ extern "C" {
918
921
  #define BLUEOSSSOSETTINGS_INIT_DEFAULT {false, BLUEOSSSOMIFAREDESFIRECONFIGURATION_INIT_DEFAULT}
919
922
  #define _BLUETESTENCODEDECODE_INIT_DEFAULT {"", "", 0, 0}
920
923
  #define BLUESHAREDDEMODATA_INIT_ZERO {"", {0, {0}}, {0, {0}}, {0, {0}}, {0, {0}}}
921
- #define BLUEVERSIONINFO_INIT_ZERO {0, 0}
924
+ #define BLUEVERSIONINFO_INIT_ZERO {0, 0, 0}
922
925
  #define BLUELOCALTIMESTAMP_INIT_ZERO {0, 0, 0, 0, 0, 0}
923
926
  #define BLUELOCALTIMEPERIOD_INIT_ZERO {0, 0, 0, 0}
924
927
  #define BLUELOCALTIMESCHEDULE_INIT_ZERO {0, 0, 0, {0, 0, 0, 0, 0, 0, 0}, BLUELOCALTIMEPERIOD_INIT_ZERO}
@@ -982,6 +985,7 @@ extern "C" {
982
985
  #define BLUESHAREDDEMODATA_SIGNATUREPUBLICKEY_TAG 5
983
986
  #define BLUEVERSIONINFO_BUILDTIME_TAG 1
984
987
  #define BLUEVERSIONINFO_VERSION_TAG 2
988
+ #define BLUEVERSIONINFO_TESTVERSION_TAG 3
985
989
  #define BLUELOCALTIMESTAMP_YEAR_TAG 1
986
990
  #define BLUELOCALTIMESTAMP_MONTH_TAG 2
987
991
  #define BLUELOCALTIMESTAMP_DATE_TAG 3
@@ -1175,7 +1179,8 @@ X(a, STATIC, REQUIRED, BYTES, signaturePublicKey, 5)
1175
1179
 
1176
1180
  #define BLUEVERSIONINFO_FIELDLIST(X, a) \
1177
1181
  X(a, STATIC, REQUIRED, UINT32, buildTime, 1) \
1178
- X(a, STATIC, REQUIRED, UINT32, version, 2)
1182
+ X(a, STATIC, REQUIRED, UINT32, version, 2) \
1183
+ X(a, STATIC, REQUIRED, UINT32, testVersion, 3)
1179
1184
  #define BLUEVERSIONINFO_CALLBACK NULL
1180
1185
  #define BLUEVERSIONINFO_DEFAULT NULL
1181
1186
 
@@ -1793,7 +1798,7 @@ extern const pb_msgdesc_t _BlueTestEncodeDecode_t_msg;
1793
1798
  #define BLUESPRESULT_SIZE 1795
1794
1799
  #define BLUESPTOKENCOMMAND_SIZE 1861
1795
1800
  #define BLUESPTOKEN_SIZE 1940
1796
- #define BLUEVERSIONINFO_SIZE 10
1801
+ #define BLUEVERSIONINFO_SIZE 14
1797
1802
  #define _BLUETESTENCODEDECODE_SIZE 90
1798
1803
 
1799
1804
  #ifdef __cplusplus
@@ -59,6 +59,19 @@ 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;
63
+ pb_callback_t dfuInProgressTitle;
64
+ pb_callback_t dfuFailedTitle;
65
+ pb_callback_t dfuCancellingTitle;
66
+ pb_callback_t dfuCompletedTitle;
67
+ pb_callback_t dfuGetAuthenticationTokenTaskLabel;
68
+ pb_callback_t dfuCheckLatestFWLabel;
69
+ pb_callback_t dfuDownloadLatestFWLabel;
70
+ pb_callback_t dfuPrepareUpdateLabel;
71
+ pb_callback_t dfuStartBootloaderLabel;
72
+ pb_callback_t dfuInitializationLabel;
73
+ pb_callback_t dfuUpdateFWLabel;
74
+ pb_callback_t dfuWaitForDeviceToRestartTaskLabel;
62
75
  } BlueI18n_t;
63
76
 
64
77
  typedef struct BlueDeviceDetailsBluetooth {
@@ -185,7 +198,7 @@ extern "C" {
185
198
 
186
199
 
187
200
  /* 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}}
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}}
189
202
  #define BLUEDEVICEDETAILSBLUETOOTH_INIT_DEFAULT {0, 0, 0}
190
203
  #define BLUEDEVICEDETAILSUWB_INIT_DEFAULT {0}
191
204
  #define BLUEDEVICEINFO_INIT_DEFAULT {_BLUEDEVICETYPE_MIN, {{NULL}, NULL}, 0, false, BLUEBLEMANUFACTURERINFO_INIT_DEFAULT, 0, {BLUEDEVICEDETAILSBLUETOOTH_INIT_DEFAULT}}
@@ -199,7 +212,7 @@ extern "C" {
199
212
  #define BLUEREFRESHOSSSOCREDENTIALS_INIT_DEFAULT {{{NULL}, NULL}}
200
213
  #define BLUESYNCHRONIZEACCESSCREDENTIAL_INIT_DEFAULT {BLUECREDENTIALID_INIT_DEFAULT, _BLUERETURNCODE_MIN, {{NULL}, NULL}}
201
214
  #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}}
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}}
203
216
  #define BLUEDEVICEDETAILSBLUETOOTH_INIT_ZERO {0, 0, 0}
204
217
  #define BLUEDEVICEDETAILSUWB_INIT_ZERO {0}
205
218
  #define BLUEDEVICEINFO_INIT_ZERO {_BLUEDEVICETYPE_MIN, {{NULL}, NULL}, 0, false, BLUEBLEMANUFACTURERINFO_INIT_ZERO, 0, {BLUEDEVICEDETAILSBLUETOOTH_INIT_ZERO}}
@@ -249,6 +262,19 @@ extern "C" {
249
262
  #define BLUEI18N_SYNCDEVICEDEPLOYBLACKLISTENTRIESTASKLABEL_TAG 32
250
263
  #define BLUEI18N_SYNCDEVICERETRIEVESYSTEMSTATUSTASKLABEL_TAG 33
251
264
  #define BLUEI18N_SYNCDEVICEPUSHSYSTEMSTATUSTASKLABEL_TAG 34
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
252
278
  #define BLUEDEVICEDETAILSBLUETOOTH_RSSI_TAG 1
253
279
  #define BLUEDEVICEDETAILSBLUETOOTH_TXPOWER_TAG 2
254
280
  #define BLUEDEVICEDETAILSBLUETOOTH_ISIBEACON_TAG 3
@@ -327,7 +353,20 @@ X(a, CALLBACK, REQUIRED, STRING, syncDevicePushSystemLogsTaskLabel, 30) \
327
353
  X(a, CALLBACK, REQUIRED, STRING, syncDeviceRetrieveBlacklistEntriesTaskLabel, 31) \
328
354
  X(a, CALLBACK, REQUIRED, STRING, syncDeviceDeployBlacklistEntriesTaskLabel, 32) \
329
355
  X(a, CALLBACK, REQUIRED, STRING, syncDeviceRetrieveSystemStatusTaskLabel, 33) \
330
- X(a, CALLBACK, REQUIRED, STRING, syncDevicePushSystemStatusTaskLabel, 34)
356
+ X(a, CALLBACK, REQUIRED, STRING, syncDevicePushSystemStatusTaskLabel, 34) \
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)
331
370
  #define BLUEI18N_CALLBACK pb_default_field_callback
332
371
  #define BLUEI18N_DEFAULT NULL
333
372
 
@@ -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 134
581
+ #define BLUESYSTEMSTATUS_SIZE 144
570
582
  #define BLUESYSTEMTIMEUNIX_SIZE 6
571
583
  #define BLUESYSTEMUPDATE_SIZE 1668
572
584
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blueid/access-proto",
3
- "version": "0.104.0",
3
+ "version": "0.106.0",
4
4
  "description": "BlueID Access Proto files",
5
5
  "author": "BlueID GmbH",
6
6
  "main": "cjs/index.js",
@@ -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
@@ -1159,12 +1165,22 @@ public struct BlueVersionInfo {
1159
1165
  /// Clears the value of `version`. Subsequent reads from it will return its default value.
1160
1166
  public mutating func clearVersion() {self._version = nil}
1161
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
+
1162
1177
  public var unknownFields = SwiftProtobuf.UnknownStorage()
1163
1178
 
1164
1179
  public init() {}
1165
1180
 
1166
1181
  fileprivate var _buildTime: UInt32? = nil
1167
1182
  fileprivate var _version: UInt32? = nil
1183
+ fileprivate var _testVersion: UInt32? = nil
1168
1184
  }
1169
1185
 
1170
1186
  public struct BlueLocalTimestamp {
@@ -2211,31 +2227,11 @@ public struct BlueOssSidMobile {
2211
2227
  /// Clears the value of `infoFile`. Subsequent reads from it will return its default value.
2212
2228
  public mutating func clearInfoFile() {self._infoFile = nil}
2213
2229
 
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
2230
  public var unknownFields = SwiftProtobuf.UnknownStorage()
2233
2231
 
2234
2232
  public init() {}
2235
2233
 
2236
2234
  fileprivate var _infoFile: Data? = nil
2237
- fileprivate var _requestedEventCount: UInt32? = nil
2238
- fileprivate var _supportedEventIds: Data? = nil
2239
2235
  }
2240
2236
 
2241
2237
  public struct BlueOssSidMobileProvisioningConfiguration {
@@ -3663,6 +3659,8 @@ extension BlueReturnCode: SwiftProtobuf._ProtoNameProviding {
3663
3659
  public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
3664
3660
  -1100: .same(proto: "OssMAReturnCodeEnd"),
3665
3661
  -1000: .same(proto: "OssMAReturnCodeStart"),
3662
+ -423: .same(proto: "SdkInvalidFirmwareURL"),
3663
+ -422: .same(proto: "SdkUnzipError"),
3666
3664
  -421: .same(proto: "SdkWaitDeviceToRestartFailed"),
3667
3665
  -420: .same(proto: "SdkGetSystemStatusFailed"),
3668
3666
  -419: .same(proto: "SdkGetBlacklistEntriesFailed"),
@@ -3992,11 +3990,13 @@ extension BlueVersionInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen
3992
3990
  public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
3993
3991
  1: .same(proto: "buildTime"),
3994
3992
  2: .same(proto: "version"),
3993
+ 3: .same(proto: "testVersion"),
3995
3994
  ]
3996
3995
 
3997
3996
  public var isInitialized: Bool {
3998
3997
  if self._buildTime == nil {return false}
3999
3998
  if self._version == nil {return false}
3999
+ if self._testVersion == nil {return false}
4000
4000
  return true
4001
4001
  }
4002
4002
 
@@ -4008,6 +4008,7 @@ extension BlueVersionInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen
4008
4008
  switch fieldNumber {
4009
4009
  case 1: try { try decoder.decodeSingularUInt32Field(value: &self._buildTime) }()
4010
4010
  case 2: try { try decoder.decodeSingularUInt32Field(value: &self._version) }()
4011
+ case 3: try { try decoder.decodeSingularUInt32Field(value: &self._testVersion) }()
4011
4012
  default: break
4012
4013
  }
4013
4014
  }
@@ -4024,12 +4025,16 @@ extension BlueVersionInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen
4024
4025
  try { if let v = self._version {
4025
4026
  try visitor.visitSingularUInt32Field(value: v, fieldNumber: 2)
4026
4027
  } }()
4028
+ try { if let v = self._testVersion {
4029
+ try visitor.visitSingularUInt32Field(value: v, fieldNumber: 3)
4030
+ } }()
4027
4031
  try unknownFields.traverse(visitor: &visitor)
4028
4032
  }
4029
4033
 
4030
4034
  public static func ==(lhs: BlueVersionInfo, rhs: BlueVersionInfo) -> Bool {
4031
4035
  if lhs._buildTime != rhs._buildTime {return false}
4032
4036
  if lhs._version != rhs._version {return false}
4037
+ if lhs._testVersion != rhs._testVersion {return false}
4033
4038
  if lhs.unknownFields != rhs.unknownFields {return false}
4034
4039
  return true
4035
4040
  }
@@ -5392,8 +5397,6 @@ extension BlueOssSidMobile: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme
5392
5397
  public static let protoMessageName: String = "BlueOssSidMobile"
5393
5398
  public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
5394
5399
  1: .same(proto: "infoFile"),
5395
- 2: .same(proto: "requestedEventCount"),
5396
- 3: .same(proto: "supportedEventIds"),
5397
5400
  ]
5398
5401
 
5399
5402
  public var isInitialized: Bool {
@@ -5408,8 +5411,6 @@ extension BlueOssSidMobile: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme
5408
5411
  // enabled. https://github.com/apple/swift-protobuf/issues/1034
5409
5412
  switch fieldNumber {
5410
5413
  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
5414
  default: break
5414
5415
  }
5415
5416
  }
@@ -5423,19 +5424,11 @@ extension BlueOssSidMobile: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme
5423
5424
  try { if let v = self._infoFile {
5424
5425
  try visitor.visitSingularBytesField(value: v, fieldNumber: 1)
5425
5426
  } }()
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
5427
  try unknownFields.traverse(visitor: &visitor)
5433
5428
  }
5434
5429
 
5435
5430
  public static func ==(lhs: BlueOssSidMobile, rhs: BlueOssSidMobile) -> Bool {
5436
5431
  if lhs._infoFile != rhs._infoFile {return false}
5437
- if lhs._requestedEventCount != rhs._requestedEventCount {return false}
5438
- if lhs._supportedEventIds != rhs._supportedEventIds {return false}
5439
5432
  if lhs.unknownFields != rhs.unknownFields {return false}
5440
5433
  return true
5441
5434
  }
@@ -405,6 +405,123 @@ 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
+
417
+ public var dfuInProgressTitle: String {
418
+ get {return _storage._dfuInProgressTitle ?? "Update in Progress"}
419
+ set {_uniqueStorage()._dfuInProgressTitle = newValue}
420
+ }
421
+ /// Returns true if `dfuInProgressTitle` has been explicitly set.
422
+ public var hasDfuInProgressTitle: Bool {return _storage._dfuInProgressTitle != nil}
423
+ /// Clears the value of `dfuInProgressTitle`. Subsequent reads from it will return its default value.
424
+ public mutating func clearDfuInProgressTitle() {_uniqueStorage()._dfuInProgressTitle = nil}
425
+
426
+ public var dfuFailedTitle: String {
427
+ get {return _storage._dfuFailedTitle ?? "Update has failed"}
428
+ set {_uniqueStorage()._dfuFailedTitle = newValue}
429
+ }
430
+ /// Returns true if `dfuFailedTitle` has been explicitly set.
431
+ public var hasDfuFailedTitle: Bool {return _storage._dfuFailedTitle != nil}
432
+ /// Clears the value of `dfuFailedTitle`. Subsequent reads from it will return its default value.
433
+ public mutating func clearDfuFailedTitle() {_uniqueStorage()._dfuFailedTitle = nil}
434
+
435
+ public var dfuCancellingTitle: String {
436
+ get {return _storage._dfuCancellingTitle ?? "Cancelling..."}
437
+ set {_uniqueStorage()._dfuCancellingTitle = newValue}
438
+ }
439
+ /// Returns true if `dfuCancellingTitle` has been explicitly set.
440
+ public var hasDfuCancellingTitle: Bool {return _storage._dfuCancellingTitle != nil}
441
+ /// Clears the value of `dfuCancellingTitle`. Subsequent reads from it will return its default value.
442
+ public mutating func clearDfuCancellingTitle() {_uniqueStorage()._dfuCancellingTitle = nil}
443
+
444
+ public var dfuCompletedTitle: String {
445
+ get {return _storage._dfuCompletedTitle ?? "Update has been completed"}
446
+ set {_uniqueStorage()._dfuCompletedTitle = newValue}
447
+ }
448
+ /// Returns true if `dfuCompletedTitle` has been explicitly set.
449
+ public var hasDfuCompletedTitle: Bool {return _storage._dfuCompletedTitle != nil}
450
+ /// Clears the value of `dfuCompletedTitle`. Subsequent reads from it will return its default value.
451
+ public mutating func clearDfuCompletedTitle() {_uniqueStorage()._dfuCompletedTitle = nil}
452
+
453
+ public var dfuGetAuthenticationTokenTaskLabel: String {
454
+ get {return _storage._dfuGetAuthenticationTokenTaskLabel ?? "Issue authentication token"}
455
+ set {_uniqueStorage()._dfuGetAuthenticationTokenTaskLabel = newValue}
456
+ }
457
+ /// Returns true if `dfuGetAuthenticationTokenTaskLabel` has been explicitly set.
458
+ public var hasDfuGetAuthenticationTokenTaskLabel: Bool {return _storage._dfuGetAuthenticationTokenTaskLabel != nil}
459
+ /// Clears the value of `dfuGetAuthenticationTokenTaskLabel`. Subsequent reads from it will return its default value.
460
+ public mutating func clearDfuGetAuthenticationTokenTaskLabel() {_uniqueStorage()._dfuGetAuthenticationTokenTaskLabel = nil}
461
+
462
+ public var dfuCheckLatestFwlabel: String {
463
+ get {return _storage._dfuCheckLatestFwlabel ?? "Check latest firmware"}
464
+ set {_uniqueStorage()._dfuCheckLatestFwlabel = newValue}
465
+ }
466
+ /// Returns true if `dfuCheckLatestFwlabel` has been explicitly set.
467
+ public var hasDfuCheckLatestFwlabel: Bool {return _storage._dfuCheckLatestFwlabel != nil}
468
+ /// Clears the value of `dfuCheckLatestFwlabel`. Subsequent reads from it will return its default value.
469
+ public mutating func clearDfuCheckLatestFwlabel() {_uniqueStorage()._dfuCheckLatestFwlabel = nil}
470
+
471
+ public var dfuDownloadLatestFwlabel: String {
472
+ get {return _storage._dfuDownloadLatestFwlabel ?? "Download latest firmware"}
473
+ set {_uniqueStorage()._dfuDownloadLatestFwlabel = newValue}
474
+ }
475
+ /// Returns true if `dfuDownloadLatestFwlabel` has been explicitly set.
476
+ public var hasDfuDownloadLatestFwlabel: Bool {return _storage._dfuDownloadLatestFwlabel != nil}
477
+ /// Clears the value of `dfuDownloadLatestFwlabel`. Subsequent reads from it will return its default value.
478
+ public mutating func clearDfuDownloadLatestFwlabel() {_uniqueStorage()._dfuDownloadLatestFwlabel = nil}
479
+
480
+ public var dfuPrepareUpdateLabel: String {
481
+ get {return _storage._dfuPrepareUpdateLabel ?? "Prepare Update"}
482
+ set {_uniqueStorage()._dfuPrepareUpdateLabel = newValue}
483
+ }
484
+ /// Returns true if `dfuPrepareUpdateLabel` has been explicitly set.
485
+ public var hasDfuPrepareUpdateLabel: Bool {return _storage._dfuPrepareUpdateLabel != nil}
486
+ /// Clears the value of `dfuPrepareUpdateLabel`. Subsequent reads from it will return its default value.
487
+ public mutating func clearDfuPrepareUpdateLabel() {_uniqueStorage()._dfuPrepareUpdateLabel = nil}
488
+
489
+ public var dfuStartBootloaderLabel: String {
490
+ get {return _storage._dfuStartBootloaderLabel ?? "Start Bootloader"}
491
+ set {_uniqueStorage()._dfuStartBootloaderLabel = newValue}
492
+ }
493
+ /// Returns true if `dfuStartBootloaderLabel` has been explicitly set.
494
+ public var hasDfuStartBootloaderLabel: Bool {return _storage._dfuStartBootloaderLabel != nil}
495
+ /// Clears the value of `dfuStartBootloaderLabel`. Subsequent reads from it will return its default value.
496
+ public mutating func clearDfuStartBootloaderLabel() {_uniqueStorage()._dfuStartBootloaderLabel = nil}
497
+
498
+ public var dfuInitializationLabel: String {
499
+ get {return _storage._dfuInitializationLabel ?? "DFU initialization"}
500
+ set {_uniqueStorage()._dfuInitializationLabel = newValue}
501
+ }
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}
506
+
507
+ public var dfuUpdateFwlabel: String {
508
+ get {return _storage._dfuUpdateFwlabel ?? "Update firmware"}
509
+ set {_uniqueStorage()._dfuUpdateFwlabel = newValue}
510
+ }
511
+ /// Returns true if `dfuUpdateFwlabel` has been explicitly set.
512
+ public var hasDfuUpdateFwlabel: Bool {return _storage._dfuUpdateFwlabel != nil}
513
+ /// Clears the value of `dfuUpdateFwlabel`. Subsequent reads from it will return its default value.
514
+ public mutating func clearDfuUpdateFwlabel() {_uniqueStorage()._dfuUpdateFwlabel = nil}
515
+
516
+ public var dfuWaitForDeviceToRestartTaskLabel: String {
517
+ get {return _storage._dfuWaitForDeviceToRestartTaskLabel ?? "Wait for device to restart"}
518
+ set {_uniqueStorage()._dfuWaitForDeviceToRestartTaskLabel = newValue}
519
+ }
520
+ /// Returns true if `dfuWaitForDeviceToRestartTaskLabel` has been explicitly set.
521
+ public var hasDfuWaitForDeviceToRestartTaskLabel: Bool {return _storage._dfuWaitForDeviceToRestartTaskLabel != nil}
522
+ /// Clears the value of `dfuWaitForDeviceToRestartTaskLabel`. Subsequent reads from it will return its default value.
523
+ public mutating func clearDfuWaitForDeviceToRestartTaskLabel() {_uniqueStorage()._dfuWaitForDeviceToRestartTaskLabel = nil}
524
+
408
525
  public var unknownFields = SwiftProtobuf.UnknownStorage()
409
526
 
410
527
  public init() {}
@@ -1023,6 +1140,19 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
1023
1140
  32: .same(proto: "syncDeviceDeployBlacklistEntriesTaskLabel"),
1024
1141
  33: .same(proto: "syncDeviceRetrieveSystemStatusTaskLabel"),
1025
1142
  34: .same(proto: "syncDevicePushSystemStatusTaskLabel"),
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"),
1026
1156
  ]
1027
1157
 
1028
1158
  fileprivate class _StorageClass {
@@ -1060,6 +1190,19 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
1060
1190
  var _syncDeviceDeployBlacklistEntriesTaskLabel: String? = nil
1061
1191
  var _syncDeviceRetrieveSystemStatusTaskLabel: String? = nil
1062
1192
  var _syncDevicePushSystemStatusTaskLabel: String? = nil
1193
+ var _syncDeviceCheckLatestFwlabel: String? = nil
1194
+ var _dfuInProgressTitle: String? = nil
1195
+ var _dfuFailedTitle: String? = nil
1196
+ var _dfuCancellingTitle: String? = nil
1197
+ var _dfuCompletedTitle: String? = nil
1198
+ var _dfuGetAuthenticationTokenTaskLabel: String? = nil
1199
+ var _dfuCheckLatestFwlabel: String? = nil
1200
+ var _dfuDownloadLatestFwlabel: String? = nil
1201
+ var _dfuPrepareUpdateLabel: String? = nil
1202
+ var _dfuStartBootloaderLabel: String? = nil
1203
+ var _dfuInitializationLabel: String? = nil
1204
+ var _dfuUpdateFwlabel: String? = nil
1205
+ var _dfuWaitForDeviceToRestartTaskLabel: String? = nil
1063
1206
 
1064
1207
  static let defaultInstance = _StorageClass()
1065
1208
 
@@ -1100,6 +1243,19 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
1100
1243
  _syncDeviceDeployBlacklistEntriesTaskLabel = source._syncDeviceDeployBlacklistEntriesTaskLabel
1101
1244
  _syncDeviceRetrieveSystemStatusTaskLabel = source._syncDeviceRetrieveSystemStatusTaskLabel
1102
1245
  _syncDevicePushSystemStatusTaskLabel = source._syncDevicePushSystemStatusTaskLabel
1246
+ _syncDeviceCheckLatestFwlabel = source._syncDeviceCheckLatestFwlabel
1247
+ _dfuInProgressTitle = source._dfuInProgressTitle
1248
+ _dfuFailedTitle = source._dfuFailedTitle
1249
+ _dfuCancellingTitle = source._dfuCancellingTitle
1250
+ _dfuCompletedTitle = source._dfuCompletedTitle
1251
+ _dfuGetAuthenticationTokenTaskLabel = source._dfuGetAuthenticationTokenTaskLabel
1252
+ _dfuCheckLatestFwlabel = source._dfuCheckLatestFwlabel
1253
+ _dfuDownloadLatestFwlabel = source._dfuDownloadLatestFwlabel
1254
+ _dfuPrepareUpdateLabel = source._dfuPrepareUpdateLabel
1255
+ _dfuStartBootloaderLabel = source._dfuStartBootloaderLabel
1256
+ _dfuInitializationLabel = source._dfuInitializationLabel
1257
+ _dfuUpdateFwlabel = source._dfuUpdateFwlabel
1258
+ _dfuWaitForDeviceToRestartTaskLabel = source._dfuWaitForDeviceToRestartTaskLabel
1103
1259
  }
1104
1260
  }
1105
1261
 
@@ -1146,6 +1302,19 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
1146
1302
  if _storage._syncDeviceDeployBlacklistEntriesTaskLabel == nil {return false}
1147
1303
  if _storage._syncDeviceRetrieveSystemStatusTaskLabel == nil {return false}
1148
1304
  if _storage._syncDevicePushSystemStatusTaskLabel == nil {return false}
1305
+ if _storage._syncDeviceCheckLatestFwlabel == nil {return false}
1306
+ if _storage._dfuInProgressTitle == nil {return false}
1307
+ if _storage._dfuFailedTitle == nil {return false}
1308
+ if _storage._dfuCancellingTitle == nil {return false}
1309
+ if _storage._dfuCompletedTitle == nil {return false}
1310
+ if _storage._dfuGetAuthenticationTokenTaskLabel == nil {return false}
1311
+ if _storage._dfuCheckLatestFwlabel == nil {return false}
1312
+ if _storage._dfuDownloadLatestFwlabel == nil {return false}
1313
+ if _storage._dfuPrepareUpdateLabel == nil {return false}
1314
+ if _storage._dfuStartBootloaderLabel == nil {return false}
1315
+ if _storage._dfuInitializationLabel == nil {return false}
1316
+ if _storage._dfuUpdateFwlabel == nil {return false}
1317
+ if _storage._dfuWaitForDeviceToRestartTaskLabel == nil {return false}
1149
1318
  return true
1150
1319
  }
1151
1320
  }
@@ -1192,6 +1361,19 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
1192
1361
  case 32: try { try decoder.decodeSingularStringField(value: &_storage._syncDeviceDeployBlacklistEntriesTaskLabel) }()
1193
1362
  case 33: try { try decoder.decodeSingularStringField(value: &_storage._syncDeviceRetrieveSystemStatusTaskLabel) }()
1194
1363
  case 34: try { try decoder.decodeSingularStringField(value: &_storage._syncDevicePushSystemStatusTaskLabel) }()
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) }()
1195
1377
  default: break
1196
1378
  }
1197
1379
  }
@@ -1306,6 +1488,45 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
1306
1488
  try { if let v = _storage._syncDevicePushSystemStatusTaskLabel {
1307
1489
  try visitor.visitSingularStringField(value: v, fieldNumber: 34)
1308
1490
  } }()
1491
+ try { if let v = _storage._syncDeviceCheckLatestFwlabel {
1492
+ try visitor.visitSingularStringField(value: v, fieldNumber: 35)
1493
+ } }()
1494
+ try { if let v = _storage._dfuInProgressTitle {
1495
+ try visitor.visitSingularStringField(value: v, fieldNumber: 36)
1496
+ } }()
1497
+ try { if let v = _storage._dfuFailedTitle {
1498
+ try visitor.visitSingularStringField(value: v, fieldNumber: 37)
1499
+ } }()
1500
+ try { if let v = _storage._dfuCancellingTitle {
1501
+ try visitor.visitSingularStringField(value: v, fieldNumber: 38)
1502
+ } }()
1503
+ try { if let v = _storage._dfuCompletedTitle {
1504
+ try visitor.visitSingularStringField(value: v, fieldNumber: 39)
1505
+ } }()
1506
+ try { if let v = _storage._dfuGetAuthenticationTokenTaskLabel {
1507
+ try visitor.visitSingularStringField(value: v, fieldNumber: 40)
1508
+ } }()
1509
+ try { if let v = _storage._dfuCheckLatestFwlabel {
1510
+ try visitor.visitSingularStringField(value: v, fieldNumber: 41)
1511
+ } }()
1512
+ try { if let v = _storage._dfuDownloadLatestFwlabel {
1513
+ try visitor.visitSingularStringField(value: v, fieldNumber: 42)
1514
+ } }()
1515
+ try { if let v = _storage._dfuPrepareUpdateLabel {
1516
+ try visitor.visitSingularStringField(value: v, fieldNumber: 43)
1517
+ } }()
1518
+ try { if let v = _storage._dfuStartBootloaderLabel {
1519
+ try visitor.visitSingularStringField(value: v, fieldNumber: 44)
1520
+ } }()
1521
+ try { if let v = _storage._dfuInitializationLabel {
1522
+ try visitor.visitSingularStringField(value: v, fieldNumber: 45)
1523
+ } }()
1524
+ try { if let v = _storage._dfuUpdateFwlabel {
1525
+ try visitor.visitSingularStringField(value: v, fieldNumber: 46)
1526
+ } }()
1527
+ try { if let v = _storage._dfuWaitForDeviceToRestartTaskLabel {
1528
+ try visitor.visitSingularStringField(value: v, fieldNumber: 47)
1529
+ } }()
1309
1530
  }
1310
1531
  try unknownFields.traverse(visitor: &visitor)
1311
1532
  }
@@ -1349,6 +1570,19 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
1349
1570
  if _storage._syncDeviceDeployBlacklistEntriesTaskLabel != rhs_storage._syncDeviceDeployBlacklistEntriesTaskLabel {return false}
1350
1571
  if _storage._syncDeviceRetrieveSystemStatusTaskLabel != rhs_storage._syncDeviceRetrieveSystemStatusTaskLabel {return false}
1351
1572
  if _storage._syncDevicePushSystemStatusTaskLabel != rhs_storage._syncDevicePushSystemStatusTaskLabel {return false}
1573
+ if _storage._syncDeviceCheckLatestFwlabel != rhs_storage._syncDeviceCheckLatestFwlabel {return false}
1574
+ if _storage._dfuInProgressTitle != rhs_storage._dfuInProgressTitle {return false}
1575
+ if _storage._dfuFailedTitle != rhs_storage._dfuFailedTitle {return false}
1576
+ if _storage._dfuCancellingTitle != rhs_storage._dfuCancellingTitle {return false}
1577
+ if _storage._dfuCompletedTitle != rhs_storage._dfuCompletedTitle {return false}
1578
+ if _storage._dfuGetAuthenticationTokenTaskLabel != rhs_storage._dfuGetAuthenticationTokenTaskLabel {return false}
1579
+ if _storage._dfuCheckLatestFwlabel != rhs_storage._dfuCheckLatestFwlabel {return false}
1580
+ if _storage._dfuDownloadLatestFwlabel != rhs_storage._dfuDownloadLatestFwlabel {return false}
1581
+ if _storage._dfuPrepareUpdateLabel != rhs_storage._dfuPrepareUpdateLabel {return false}
1582
+ if _storage._dfuStartBootloaderLabel != rhs_storage._dfuStartBootloaderLabel {return false}
1583
+ if _storage._dfuInitializationLabel != rhs_storage._dfuInitializationLabel {return false}
1584
+ if _storage._dfuUpdateFwlabel != rhs_storage._dfuUpdateFwlabel {return false}
1585
+ if _storage._dfuWaitForDeviceToRestartTaskLabel != rhs_storage._dfuWaitForDeviceToRestartTaskLabel {return false}
1352
1586
  return true
1353
1587
  }
1354
1588
  if !storagesAreEqual {return false}
@@ -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}