@blueid/access-proto 1.9.0 → 1.16.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 -1
- package/BlueLock.proto +0 -1
- package/BlueSDK.proto +0 -1
- package/BlueSystem.proto +11 -1
- package/cjs/BlueSystem_pb.d.ts +54 -0
- package/cjs/BlueSystem_pb.js +38 -1
- package/es/BlueSystem_pb.d.ts +54 -0
- package/es/BlueSystem_pb.js +16 -0
- package/nanopb/BlueSystem.pb.c +3 -0
- package/nanopb/BlueSystem.pb.h +40 -4
- package/package.json +1 -1
- package/swift/BlueCore.pb.swift +1 -9
- package/swift/BlueSDK.pb.swift +2 -18
- package/swift/BlueSystem.pb.swift +168 -18
package/BlueCore.proto
CHANGED
package/BlueLock.proto
CHANGED
package/BlueSDK.proto
CHANGED
package/BlueSystem.proto
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
syntax = "proto2";
|
|
2
|
-
option java_package = "blueid.access.sdk.pb";
|
|
3
2
|
|
|
4
3
|
import "BlueCore.proto";
|
|
5
4
|
import "BlueLock.proto";
|
|
@@ -200,6 +199,14 @@ message BlueSystemProvisioning {
|
|
|
200
199
|
required bytes signaturePublicKey = 5 [ (nanopb).max_size = 100 ];
|
|
201
200
|
}
|
|
202
201
|
|
|
202
|
+
message BlueHardwareInfo {
|
|
203
|
+
required string name = 1;
|
|
204
|
+
required string vendor = 2;
|
|
205
|
+
required string vendorName = 3;
|
|
206
|
+
required uint32 version = 4;
|
|
207
|
+
required BlueHardwareType type = 5;
|
|
208
|
+
}
|
|
209
|
+
|
|
203
210
|
message BlueSystemStatus {
|
|
204
211
|
required string configId = 1 [ (nanopb).max_length = 8 ];
|
|
205
212
|
required string deviceId = 2 [ (nanopb).max_length = 8 ];
|
|
@@ -215,6 +222,9 @@ message BlueSystemStatus {
|
|
|
215
222
|
optional uint32 applicationVersionTest = 10;
|
|
216
223
|
optional bool newFirmwareVersionAvailable = 11;
|
|
217
224
|
optional bool newTestFirmwareVersionAvailable = 12;
|
|
225
|
+
optional bool newConfigurationAvailable = 13;
|
|
226
|
+
|
|
227
|
+
optional BlueHardwareInfo hardwareInfo = 14;
|
|
218
228
|
}
|
|
219
229
|
|
|
220
230
|
///////////////////////////////////////////////////////////////////////
|
package/cjs/BlueSystem_pb.d.ts
CHANGED
|
@@ -578,6 +578,50 @@ export declare class BlueSystemProvisioning extends Message<BlueSystemProvisioni
|
|
|
578
578
|
static equals(a: BlueSystemProvisioning | PlainMessage<BlueSystemProvisioning> | undefined, b: BlueSystemProvisioning | PlainMessage<BlueSystemProvisioning> | undefined): boolean;
|
|
579
579
|
}
|
|
580
580
|
|
|
581
|
+
/**
|
|
582
|
+
* @generated from message BlueHardwareInfo
|
|
583
|
+
*/
|
|
584
|
+
export declare class BlueHardwareInfo extends Message<BlueHardwareInfo> {
|
|
585
|
+
/**
|
|
586
|
+
* @generated from field: required string name = 1;
|
|
587
|
+
*/
|
|
588
|
+
name: string;
|
|
589
|
+
|
|
590
|
+
/**
|
|
591
|
+
* @generated from field: required string vendor = 2;
|
|
592
|
+
*/
|
|
593
|
+
vendor: string;
|
|
594
|
+
|
|
595
|
+
/**
|
|
596
|
+
* @generated from field: required string vendorName = 3;
|
|
597
|
+
*/
|
|
598
|
+
vendorName: string;
|
|
599
|
+
|
|
600
|
+
/**
|
|
601
|
+
* @generated from field: required uint32 version = 4;
|
|
602
|
+
*/
|
|
603
|
+
version: number;
|
|
604
|
+
|
|
605
|
+
/**
|
|
606
|
+
* @generated from field: required BlueHardwareType type = 5;
|
|
607
|
+
*/
|
|
608
|
+
type: BlueHardwareType;
|
|
609
|
+
|
|
610
|
+
constructor(data?: PartialMessage<BlueHardwareInfo>);
|
|
611
|
+
|
|
612
|
+
static readonly runtime: typeof proto2;
|
|
613
|
+
static readonly typeName = "BlueHardwareInfo";
|
|
614
|
+
static readonly fields: FieldList;
|
|
615
|
+
|
|
616
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueHardwareInfo;
|
|
617
|
+
|
|
618
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueHardwareInfo;
|
|
619
|
+
|
|
620
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueHardwareInfo;
|
|
621
|
+
|
|
622
|
+
static equals(a: BlueHardwareInfo | PlainMessage<BlueHardwareInfo> | undefined, b: BlueHardwareInfo | PlainMessage<BlueHardwareInfo> | undefined): boolean;
|
|
623
|
+
}
|
|
624
|
+
|
|
581
625
|
/**
|
|
582
626
|
* @generated from message BlueSystemStatus
|
|
583
627
|
*/
|
|
@@ -644,6 +688,16 @@ export declare class BlueSystemStatus extends Message<BlueSystemStatus> {
|
|
|
644
688
|
*/
|
|
645
689
|
newTestFirmwareVersionAvailable?: boolean;
|
|
646
690
|
|
|
691
|
+
/**
|
|
692
|
+
* @generated from field: optional bool newConfigurationAvailable = 13;
|
|
693
|
+
*/
|
|
694
|
+
newConfigurationAvailable?: boolean;
|
|
695
|
+
|
|
696
|
+
/**
|
|
697
|
+
* @generated from field: optional BlueHardwareInfo hardwareInfo = 14;
|
|
698
|
+
*/
|
|
699
|
+
hardwareInfo?: BlueHardwareInfo;
|
|
700
|
+
|
|
647
701
|
constructor(data?: PartialMessage<BlueSystemStatus>);
|
|
648
702
|
|
|
649
703
|
static readonly runtime: typeof proto2;
|
package/cjs/BlueSystem_pb.js
CHANGED
|
@@ -24,6 +24,7 @@ __export(BlueSystem_pb_exports, {
|
|
|
24
24
|
BlueBleConfig: () => BlueBleConfig,
|
|
25
25
|
BlueEventLogQuery: () => BlueEventLogQuery,
|
|
26
26
|
BlueEventLogResult: () => BlueEventLogResult,
|
|
27
|
+
BlueHardwareInfo: () => BlueHardwareInfo,
|
|
27
28
|
BlueOnlineConfig: () => BlueOnlineConfig,
|
|
28
29
|
BlueOssConfig: () => BlueOssConfig,
|
|
29
30
|
BlueSystemConfig: () => BlueSystemConfig,
|
|
@@ -229,6 +230,40 @@ const BlueSystemProvisioning = import_protobuf.proto2.makeMessageType(
|
|
|
229
230
|
}
|
|
230
231
|
]
|
|
231
232
|
);
|
|
233
|
+
const BlueHardwareInfo = import_protobuf.proto2.makeMessageType(
|
|
234
|
+
"BlueHardwareInfo",
|
|
235
|
+
() => [
|
|
236
|
+
{
|
|
237
|
+
no: 1,
|
|
238
|
+
name: "name",
|
|
239
|
+
kind: "scalar",
|
|
240
|
+
T: 9
|
|
241
|
+
/* ScalarType.STRING */
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
no: 2,
|
|
245
|
+
name: "vendor",
|
|
246
|
+
kind: "scalar",
|
|
247
|
+
T: 9
|
|
248
|
+
/* ScalarType.STRING */
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
no: 3,
|
|
252
|
+
name: "vendorName",
|
|
253
|
+
kind: "scalar",
|
|
254
|
+
T: 9
|
|
255
|
+
/* ScalarType.STRING */
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
no: 4,
|
|
259
|
+
name: "version",
|
|
260
|
+
kind: "scalar",
|
|
261
|
+
T: 13
|
|
262
|
+
/* ScalarType.UINT32 */
|
|
263
|
+
},
|
|
264
|
+
{ no: 5, name: "type", kind: "enum", T: import_protobuf.proto2.getEnumType(import_BlueCore_pb.BlueHardwareType) }
|
|
265
|
+
]
|
|
266
|
+
);
|
|
232
267
|
const BlueSystemStatus = import_protobuf.proto2.makeMessageType(
|
|
233
268
|
"BlueSystemStatus",
|
|
234
269
|
() => [
|
|
@@ -267,7 +302,9 @@ const BlueSystemStatus = import_protobuf.proto2.makeMessageType(
|
|
|
267
302
|
{ no: 9, name: "lock", kind: "message", T: import_BlueLock_pb.BlueLockStatus, opt: true },
|
|
268
303
|
{ no: 10, name: "applicationVersionTest", kind: "scalar", T: 13, opt: true },
|
|
269
304
|
{ no: 11, name: "newFirmwareVersionAvailable", kind: "scalar", T: 8, opt: true },
|
|
270
|
-
{ no: 12, name: "newTestFirmwareVersionAvailable", kind: "scalar", T: 8, opt: true }
|
|
305
|
+
{ no: 12, name: "newTestFirmwareVersionAvailable", kind: "scalar", T: 8, opt: true },
|
|
306
|
+
{ no: 13, name: "newConfigurationAvailable", kind: "scalar", T: 8, opt: true },
|
|
307
|
+
{ no: 14, name: "hardwareInfo", kind: "message", T: BlueHardwareInfo, opt: true }
|
|
271
308
|
]
|
|
272
309
|
);
|
|
273
310
|
const BlueSystemLogQuery = import_protobuf.proto2.makeMessageType(
|
package/es/BlueSystem_pb.d.ts
CHANGED
|
@@ -578,6 +578,50 @@ export declare class BlueSystemProvisioning extends Message<BlueSystemProvisioni
|
|
|
578
578
|
static equals(a: BlueSystemProvisioning | PlainMessage<BlueSystemProvisioning> | undefined, b: BlueSystemProvisioning | PlainMessage<BlueSystemProvisioning> | undefined): boolean;
|
|
579
579
|
}
|
|
580
580
|
|
|
581
|
+
/**
|
|
582
|
+
* @generated from message BlueHardwareInfo
|
|
583
|
+
*/
|
|
584
|
+
export declare class BlueHardwareInfo extends Message<BlueHardwareInfo> {
|
|
585
|
+
/**
|
|
586
|
+
* @generated from field: required string name = 1;
|
|
587
|
+
*/
|
|
588
|
+
name: string;
|
|
589
|
+
|
|
590
|
+
/**
|
|
591
|
+
* @generated from field: required string vendor = 2;
|
|
592
|
+
*/
|
|
593
|
+
vendor: string;
|
|
594
|
+
|
|
595
|
+
/**
|
|
596
|
+
* @generated from field: required string vendorName = 3;
|
|
597
|
+
*/
|
|
598
|
+
vendorName: string;
|
|
599
|
+
|
|
600
|
+
/**
|
|
601
|
+
* @generated from field: required uint32 version = 4;
|
|
602
|
+
*/
|
|
603
|
+
version: number;
|
|
604
|
+
|
|
605
|
+
/**
|
|
606
|
+
* @generated from field: required BlueHardwareType type = 5;
|
|
607
|
+
*/
|
|
608
|
+
type: BlueHardwareType;
|
|
609
|
+
|
|
610
|
+
constructor(data?: PartialMessage<BlueHardwareInfo>);
|
|
611
|
+
|
|
612
|
+
static readonly runtime: typeof proto2;
|
|
613
|
+
static readonly typeName = "BlueHardwareInfo";
|
|
614
|
+
static readonly fields: FieldList;
|
|
615
|
+
|
|
616
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueHardwareInfo;
|
|
617
|
+
|
|
618
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueHardwareInfo;
|
|
619
|
+
|
|
620
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueHardwareInfo;
|
|
621
|
+
|
|
622
|
+
static equals(a: BlueHardwareInfo | PlainMessage<BlueHardwareInfo> | undefined, b: BlueHardwareInfo | PlainMessage<BlueHardwareInfo> | undefined): boolean;
|
|
623
|
+
}
|
|
624
|
+
|
|
581
625
|
/**
|
|
582
626
|
* @generated from message BlueSystemStatus
|
|
583
627
|
*/
|
|
@@ -644,6 +688,16 @@ export declare class BlueSystemStatus extends Message<BlueSystemStatus> {
|
|
|
644
688
|
*/
|
|
645
689
|
newTestFirmwareVersionAvailable?: boolean;
|
|
646
690
|
|
|
691
|
+
/**
|
|
692
|
+
* @generated from field: optional bool newConfigurationAvailable = 13;
|
|
693
|
+
*/
|
|
694
|
+
newConfigurationAvailable?: boolean;
|
|
695
|
+
|
|
696
|
+
/**
|
|
697
|
+
* @generated from field: optional BlueHardwareInfo hardwareInfo = 14;
|
|
698
|
+
*/
|
|
699
|
+
hardwareInfo?: BlueHardwareInfo;
|
|
700
|
+
|
|
647
701
|
constructor(data?: PartialMessage<BlueSystemStatus>);
|
|
648
702
|
|
|
649
703
|
static readonly runtime: typeof proto2;
|
package/es/BlueSystem_pb.js
CHANGED
|
@@ -166,6 +166,20 @@ export const BlueSystemProvisioning = proto2.makeMessageType(
|
|
|
166
166
|
],
|
|
167
167
|
);
|
|
168
168
|
|
|
169
|
+
/**
|
|
170
|
+
* @generated from message BlueHardwareInfo
|
|
171
|
+
*/
|
|
172
|
+
export const BlueHardwareInfo = proto2.makeMessageType(
|
|
173
|
+
"BlueHardwareInfo",
|
|
174
|
+
() => [
|
|
175
|
+
{ no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
176
|
+
{ no: 2, name: "vendor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
177
|
+
{ no: 3, name: "vendorName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
178
|
+
{ no: 4, name: "version", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
179
|
+
{ no: 5, name: "type", kind: "enum", T: proto2.getEnumType(BlueHardwareType) },
|
|
180
|
+
],
|
|
181
|
+
);
|
|
182
|
+
|
|
169
183
|
/**
|
|
170
184
|
* @generated from message BlueSystemStatus
|
|
171
185
|
*/
|
|
@@ -184,6 +198,8 @@ export const BlueSystemStatus = proto2.makeMessageType(
|
|
|
184
198
|
{ no: 10, name: "applicationVersionTest", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
185
199
|
{ no: 11, name: "newFirmwareVersionAvailable", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
186
200
|
{ no: 12, name: "newTestFirmwareVersionAvailable", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
201
|
+
{ no: 13, name: "newConfigurationAvailable", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
202
|
+
{ no: 14, name: "hardwareInfo", kind: "message", T: BlueHardwareInfo, opt: true },
|
|
187
203
|
],
|
|
188
204
|
);
|
|
189
205
|
|
package/nanopb/BlueSystem.pb.c
CHANGED
package/nanopb/BlueSystem.pb.h
CHANGED
|
@@ -158,6 +158,14 @@ typedef struct BlueSystemProvisioning {
|
|
|
158
158
|
BlueSystemProvisioning_signaturePublicKey_t signaturePublicKey;
|
|
159
159
|
} BlueSystemProvisioning_t;
|
|
160
160
|
|
|
161
|
+
typedef struct BlueHardwareInfo {
|
|
162
|
+
pb_callback_t name;
|
|
163
|
+
pb_callback_t vendor;
|
|
164
|
+
pb_callback_t vendorName;
|
|
165
|
+
uint32_t version;
|
|
166
|
+
BlueHardwareType_t type;
|
|
167
|
+
} BlueHardwareInfo_t;
|
|
168
|
+
|
|
161
169
|
typedef struct BlueSystemStatus {
|
|
162
170
|
char configId[9];
|
|
163
171
|
char deviceId[9];
|
|
@@ -176,6 +184,10 @@ typedef struct BlueSystemStatus {
|
|
|
176
184
|
bool newFirmwareVersionAvailable;
|
|
177
185
|
bool has_newTestFirmwareVersionAvailable;
|
|
178
186
|
bool newTestFirmwareVersionAvailable;
|
|
187
|
+
bool has_newConfigurationAvailable;
|
|
188
|
+
bool newConfigurationAvailable;
|
|
189
|
+
bool has_hardwareInfo;
|
|
190
|
+
BlueHardwareInfo_t hardwareInfo;
|
|
179
191
|
} BlueSystemStatus_t;
|
|
180
192
|
|
|
181
193
|
typedef struct BlueSystemLogQuery {
|
|
@@ -237,7 +249,8 @@ extern "C" {
|
|
|
237
249
|
#define BLUESYSTEMUPDATE_INIT_DEFAULT {false, BLUESYSTEMCONFIG_INIT_DEFAULT, false, BLUESYSTEMTIMEUNIX_INIT_DEFAULT}
|
|
238
250
|
#define BLUESYSTEMSETTINGS_INIT_DEFAULT {0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0, 0}
|
|
239
251
|
#define BLUESYSTEMPROVISIONING_INIT_DEFAULT {BlueHardwareType_TestHardware, "", "00000000000000000000", {0, {0}}, {0, {0}}}
|
|
240
|
-
#define
|
|
252
|
+
#define BLUEHARDWAREINFO_INIT_DEFAULT {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, 0, _BLUEHARDWARETYPE_MIN}
|
|
253
|
+
#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, false, 0, false, BLUEHARDWAREINFO_INIT_DEFAULT}
|
|
241
254
|
#define BLUESYSTEMLOGQUERY_INIT_DEFAULT {0, 0, {0}}
|
|
242
255
|
#define BLUESYSTEMLOGENTRY_INIT_DEFAULT {0, BLUELOCALTIMESTAMP_INIT_DEFAULT, 0, 0, "", ""}
|
|
243
256
|
#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}}
|
|
@@ -255,7 +268,8 @@ extern "C" {
|
|
|
255
268
|
#define BLUESYSTEMUPDATE_INIT_ZERO {false, BLUESYSTEMCONFIG_INIT_ZERO, false, BLUESYSTEMTIMEUNIX_INIT_ZERO}
|
|
256
269
|
#define BLUESYSTEMSETTINGS_INIT_ZERO {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
|
|
257
270
|
#define BLUESYSTEMPROVISIONING_INIT_ZERO {_BLUEHARDWARETYPE_MIN, "", "", {0, {0}}, {0, {0}}}
|
|
258
|
-
#define
|
|
271
|
+
#define BLUEHARDWAREINFO_INIT_ZERO {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, 0, _BLUEHARDWARETYPE_MIN}
|
|
272
|
+
#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, false, 0, false, BLUEHARDWAREINFO_INIT_ZERO}
|
|
259
273
|
#define BLUESYSTEMLOGQUERY_INIT_ZERO {0, 0, {0}}
|
|
260
274
|
#define BLUESYSTEMLOGENTRY_INIT_ZERO {0, BLUELOCALTIMESTAMP_INIT_ZERO, 0, 0, "", ""}
|
|
261
275
|
#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}}
|
|
@@ -320,6 +334,11 @@ extern "C" {
|
|
|
320
334
|
#define BLUESYSTEMPROVISIONING_SERIALNUMBER_TAG 3
|
|
321
335
|
#define BLUESYSTEMPROVISIONING_TERMINALPRIVATEKEY_TAG 4
|
|
322
336
|
#define BLUESYSTEMPROVISIONING_SIGNATUREPUBLICKEY_TAG 5
|
|
337
|
+
#define BLUEHARDWAREINFO_NAME_TAG 1
|
|
338
|
+
#define BLUEHARDWAREINFO_VENDOR_TAG 2
|
|
339
|
+
#define BLUEHARDWAREINFO_VENDORNAME_TAG 3
|
|
340
|
+
#define BLUEHARDWAREINFO_VERSION_TAG 4
|
|
341
|
+
#define BLUEHARDWAREINFO_TYPE_TAG 5
|
|
323
342
|
#define BLUESYSTEMSTATUS_CONFIGID_TAG 1
|
|
324
343
|
#define BLUESYSTEMSTATUS_DEVICEID_TAG 2
|
|
325
344
|
#define BLUESYSTEMSTATUS_SERIALNUMBER_TAG 3
|
|
@@ -332,6 +351,8 @@ extern "C" {
|
|
|
332
351
|
#define BLUESYSTEMSTATUS_APPLICATIONVERSIONTEST_TAG 10
|
|
333
352
|
#define BLUESYSTEMSTATUS_NEWFIRMWAREVERSIONAVAILABLE_TAG 11
|
|
334
353
|
#define BLUESYSTEMSTATUS_NEWTESTFIRMWAREVERSIONAVAILABLE_TAG 12
|
|
354
|
+
#define BLUESYSTEMSTATUS_NEWCONFIGURATIONAVAILABLE_TAG 13
|
|
355
|
+
#define BLUESYSTEMSTATUS_HARDWAREINFO_TAG 14
|
|
335
356
|
#define BLUESYSTEMLOGQUERY_MAXCOUNT_TAG 1
|
|
336
357
|
#define BLUESYSTEMLOGQUERY_SEQUENCEID_TAG 2
|
|
337
358
|
#define BLUESYSTEMLOGQUERY_FROMHEAD_TAG 3
|
|
@@ -461,6 +482,15 @@ X(a, STATIC, REQUIRED, BYTES, signaturePublicKey, 5)
|
|
|
461
482
|
#define BLUESYSTEMPROVISIONING_CALLBACK NULL
|
|
462
483
|
#define BLUESYSTEMPROVISIONING_DEFAULT (const pb_byte_t*)"\x08\x01\x1a\x14\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x00"
|
|
463
484
|
|
|
485
|
+
#define BLUEHARDWAREINFO_FIELDLIST(X, a) \
|
|
486
|
+
X(a, CALLBACK, REQUIRED, STRING, name, 1) \
|
|
487
|
+
X(a, CALLBACK, REQUIRED, STRING, vendor, 2) \
|
|
488
|
+
X(a, CALLBACK, REQUIRED, STRING, vendorName, 3) \
|
|
489
|
+
X(a, STATIC, REQUIRED, UINT32, version, 4) \
|
|
490
|
+
X(a, STATIC, REQUIRED, UENUM, type, 5)
|
|
491
|
+
#define BLUEHARDWAREINFO_CALLBACK pb_default_field_callback
|
|
492
|
+
#define BLUEHARDWAREINFO_DEFAULT NULL
|
|
493
|
+
|
|
464
494
|
#define BLUESYSTEMSTATUS_FIELDLIST(X, a) \
|
|
465
495
|
X(a, STATIC, REQUIRED, STRING, configId, 1) \
|
|
466
496
|
X(a, STATIC, REQUIRED, STRING, deviceId, 2) \
|
|
@@ -473,12 +503,15 @@ X(a, STATIC, REQUIRED, MESSAGE, settings, 8) \
|
|
|
473
503
|
X(a, STATIC, OPTIONAL, MESSAGE, lock, 9) \
|
|
474
504
|
X(a, STATIC, OPTIONAL, UINT32, applicationVersionTest, 10) \
|
|
475
505
|
X(a, STATIC, OPTIONAL, BOOL, newFirmwareVersionAvailable, 11) \
|
|
476
|
-
X(a, STATIC, OPTIONAL, BOOL, newTestFirmwareVersionAvailable, 12)
|
|
506
|
+
X(a, STATIC, OPTIONAL, BOOL, newTestFirmwareVersionAvailable, 12) \
|
|
507
|
+
X(a, STATIC, OPTIONAL, BOOL, newConfigurationAvailable, 13) \
|
|
508
|
+
X(a, STATIC, OPTIONAL, MESSAGE, hardwareInfo, 14)
|
|
477
509
|
#define BLUESYSTEMSTATUS_CALLBACK NULL
|
|
478
510
|
#define BLUESYSTEMSTATUS_DEFAULT NULL
|
|
479
511
|
#define BlueSystemStatus_t_localTime_MSGTYPE BlueLocalTimestamp_t
|
|
480
512
|
#define BlueSystemStatus_t_settings_MSGTYPE BlueSystemSettings_t
|
|
481
513
|
#define BlueSystemStatus_t_lock_MSGTYPE BlueLockStatus_t
|
|
514
|
+
#define BlueSystemStatus_t_hardwareInfo_MSGTYPE BlueHardwareInfo_t
|
|
482
515
|
|
|
483
516
|
#define BLUESYSTEMLOGQUERY_FIELDLIST(X, a) \
|
|
484
517
|
X(a, STATIC, REQUIRED, UINT32, maxCount, 1) \
|
|
@@ -534,6 +567,7 @@ extern const pb_msgdesc_t BlueSystemTimeUnix_t_msg;
|
|
|
534
567
|
extern const pb_msgdesc_t BlueSystemUpdate_t_msg;
|
|
535
568
|
extern const pb_msgdesc_t BlueSystemSettings_t_msg;
|
|
536
569
|
extern const pb_msgdesc_t BlueSystemProvisioning_t_msg;
|
|
570
|
+
extern const pb_msgdesc_t BlueHardwareInfo_t_msg;
|
|
537
571
|
extern const pb_msgdesc_t BlueSystemStatus_t_msg;
|
|
538
572
|
extern const pb_msgdesc_t BlueSystemLogQuery_t_msg;
|
|
539
573
|
extern const pb_msgdesc_t BlueSystemLogEntry_t_msg;
|
|
@@ -554,6 +588,7 @@ extern const pb_msgdesc_t BlueBlacklistEntries_t_msg;
|
|
|
554
588
|
#define BLUESYSTEMUPDATE_FIELDS &BlueSystemUpdate_t_msg
|
|
555
589
|
#define BLUESYSTEMSETTINGS_FIELDS &BlueSystemSettings_t_msg
|
|
556
590
|
#define BLUESYSTEMPROVISIONING_FIELDS &BlueSystemProvisioning_t_msg
|
|
591
|
+
#define BLUEHARDWAREINFO_FIELDS &BlueHardwareInfo_t_msg
|
|
557
592
|
#define BLUESYSTEMSTATUS_FIELDS &BlueSystemStatus_t_msg
|
|
558
593
|
#define BLUESYSTEMLOGQUERY_FIELDS &BlueSystemLogQuery_t_msg
|
|
559
594
|
#define BLUESYSTEMLOGENTRY_FIELDS &BlueSystemLogEntry_t_msg
|
|
@@ -563,6 +598,8 @@ extern const pb_msgdesc_t BlueBlacklistEntries_t_msg;
|
|
|
563
598
|
#define BLUEBLACKLISTENTRIES_FIELDS &BlueBlacklistEntries_t_msg
|
|
564
599
|
|
|
565
600
|
/* Maximum encoded size of messages (where known) */
|
|
601
|
+
/* BlueHardwareInfo_size depends on runtime parameters */
|
|
602
|
+
/* BlueSystemStatus_size depends on runtime parameters */
|
|
566
603
|
#define BLUEACCESSCONFIGGROUP_SIZE 79
|
|
567
604
|
#define BLUEACCESSCONFIG_SIZE 816
|
|
568
605
|
#define BLUEBASECONFIG_SIZE 22
|
|
@@ -578,7 +615,6 @@ extern const pb_msgdesc_t BlueBlacklistEntries_t_msg;
|
|
|
578
615
|
#define BLUESYSTEMLOGRESULT_SIZE 1550
|
|
579
616
|
#define BLUESYSTEMPROVISIONING_SIZE 299
|
|
580
617
|
#define BLUESYSTEMSETTINGS_SIZE 48
|
|
581
|
-
#define BLUESYSTEMSTATUS_SIZE 144
|
|
582
618
|
#define BLUESYSTEMTIMEUNIX_SIZE 6
|
|
583
619
|
#define BLUESYSTEMUPDATE_SIZE 1668
|
|
584
620
|
|
package/package.json
CHANGED
package/swift/BlueCore.pb.swift
CHANGED
|
@@ -6406,15 +6406,7 @@ extension BlueOssSoConfiguration: SwiftProtobuf.Message, SwiftProtobuf._MessageI
|
|
|
6406
6406
|
var _blacklist: BlueOssSoFileBlacklist? = nil
|
|
6407
6407
|
var _customerExtensions: BlueOssSoFileCustomerExtensions? = nil
|
|
6408
6408
|
|
|
6409
|
-
|
|
6410
|
-
// This property is used as the initial default value for new instances of the type.
|
|
6411
|
-
// The type itself is protecting the reference to its storage via CoW semantics.
|
|
6412
|
-
// This will force a copy to be made of this reference when the first mutation occurs;
|
|
6413
|
-
// hence, it is safe to mark this as `nonisolated(unsafe)`.
|
|
6414
|
-
static nonisolated(unsafe) let defaultInstance = _StorageClass()
|
|
6415
|
-
#else
|
|
6416
|
-
static let defaultInstance = _StorageClass()
|
|
6417
|
-
#endif
|
|
6409
|
+
static let defaultInstance = _StorageClass()
|
|
6418
6410
|
|
|
6419
6411
|
private init() {}
|
|
6420
6412
|
|
package/swift/BlueSDK.pb.swift
CHANGED
|
@@ -1204,15 +1204,7 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
1204
1204
|
var _dfuUpdateFwlabel: String? = nil
|
|
1205
1205
|
var _dfuWaitForDeviceToRestartTaskLabel: String? = nil
|
|
1206
1206
|
|
|
1207
|
-
|
|
1208
|
-
// This property is used as the initial default value for new instances of the type.
|
|
1209
|
-
// The type itself is protecting the reference to its storage via CoW semantics.
|
|
1210
|
-
// This will force a copy to be made of this reference when the first mutation occurs;
|
|
1211
|
-
// hence, it is safe to mark this as `nonisolated(unsafe)`.
|
|
1212
|
-
static nonisolated(unsafe) let defaultInstance = _StorageClass()
|
|
1213
|
-
#else
|
|
1214
|
-
static let defaultInstance = _StorageClass()
|
|
1215
|
-
#endif
|
|
1207
|
+
static let defaultInstance = _StorageClass()
|
|
1216
1208
|
|
|
1217
1209
|
private init() {}
|
|
1218
1210
|
|
|
@@ -1832,15 +1824,7 @@ extension BlueAccessCredential: SwiftProtobuf.Message, SwiftProtobuf._MessageImp
|
|
|
1832
1824
|
var _organisation: String? = nil
|
|
1833
1825
|
var _organisationName: String? = nil
|
|
1834
1826
|
|
|
1835
|
-
|
|
1836
|
-
// This property is used as the initial default value for new instances of the type.
|
|
1837
|
-
// The type itself is protecting the reference to its storage via CoW semantics.
|
|
1838
|
-
// This will force a copy to be made of this reference when the first mutation occurs;
|
|
1839
|
-
// hence, it is safe to mark this as `nonisolated(unsafe)`.
|
|
1840
|
-
static nonisolated(unsafe) let defaultInstance = _StorageClass()
|
|
1841
|
-
#else
|
|
1842
|
-
static let defaultInstance = _StorageClass()
|
|
1843
|
-
#endif
|
|
1827
|
+
static let defaultInstance = _StorageClass()
|
|
1844
1828
|
|
|
1845
1829
|
private init() {}
|
|
1846
1830
|
|
|
@@ -704,6 +704,67 @@ public struct BlueSystemProvisioning {
|
|
|
704
704
|
fileprivate var _signaturePublicKey: Data? = nil
|
|
705
705
|
}
|
|
706
706
|
|
|
707
|
+
public struct BlueHardwareInfo {
|
|
708
|
+
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
709
|
+
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
710
|
+
// methods supported on all messages.
|
|
711
|
+
|
|
712
|
+
public var name: String {
|
|
713
|
+
get {return _name ?? String()}
|
|
714
|
+
set {_name = newValue}
|
|
715
|
+
}
|
|
716
|
+
/// Returns true if `name` has been explicitly set.
|
|
717
|
+
public var hasName: Bool {return self._name != nil}
|
|
718
|
+
/// Clears the value of `name`. Subsequent reads from it will return its default value.
|
|
719
|
+
public mutating func clearName() {self._name = nil}
|
|
720
|
+
|
|
721
|
+
public var vendor: String {
|
|
722
|
+
get {return _vendor ?? String()}
|
|
723
|
+
set {_vendor = newValue}
|
|
724
|
+
}
|
|
725
|
+
/// Returns true if `vendor` has been explicitly set.
|
|
726
|
+
public var hasVendor: Bool {return self._vendor != nil}
|
|
727
|
+
/// Clears the value of `vendor`. Subsequent reads from it will return its default value.
|
|
728
|
+
public mutating func clearVendor() {self._vendor = nil}
|
|
729
|
+
|
|
730
|
+
public var vendorName: String {
|
|
731
|
+
get {return _vendorName ?? String()}
|
|
732
|
+
set {_vendorName = newValue}
|
|
733
|
+
}
|
|
734
|
+
/// Returns true if `vendorName` has been explicitly set.
|
|
735
|
+
public var hasVendorName: Bool {return self._vendorName != nil}
|
|
736
|
+
/// Clears the value of `vendorName`. Subsequent reads from it will return its default value.
|
|
737
|
+
public mutating func clearVendorName() {self._vendorName = nil}
|
|
738
|
+
|
|
739
|
+
public var version: UInt32 {
|
|
740
|
+
get {return _version ?? 0}
|
|
741
|
+
set {_version = newValue}
|
|
742
|
+
}
|
|
743
|
+
/// Returns true if `version` has been explicitly set.
|
|
744
|
+
public var hasVersion: Bool {return self._version != nil}
|
|
745
|
+
/// Clears the value of `version`. Subsequent reads from it will return its default value.
|
|
746
|
+
public mutating func clearVersion() {self._version = nil}
|
|
747
|
+
|
|
748
|
+
public var type: BlueHardwareType {
|
|
749
|
+
get {return _type ?? .unknownHardware}
|
|
750
|
+
set {_type = newValue}
|
|
751
|
+
}
|
|
752
|
+
/// Returns true if `type` has been explicitly set.
|
|
753
|
+
public var hasType: Bool {return self._type != nil}
|
|
754
|
+
/// Clears the value of `type`. Subsequent reads from it will return its default value.
|
|
755
|
+
public mutating func clearType() {self._type = nil}
|
|
756
|
+
|
|
757
|
+
public var unknownFields = SwiftProtobuf.UnknownStorage()
|
|
758
|
+
|
|
759
|
+
public init() {}
|
|
760
|
+
|
|
761
|
+
fileprivate var _name: String? = nil
|
|
762
|
+
fileprivate var _vendor: String? = nil
|
|
763
|
+
fileprivate var _vendorName: String? = nil
|
|
764
|
+
fileprivate var _version: UInt32? = nil
|
|
765
|
+
fileprivate var _type: BlueHardwareType? = nil
|
|
766
|
+
}
|
|
767
|
+
|
|
707
768
|
public struct BlueSystemStatus {
|
|
708
769
|
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
709
770
|
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
@@ -818,6 +879,24 @@ public struct BlueSystemStatus {
|
|
|
818
879
|
/// Clears the value of `newTestFirmwareVersionAvailable`. Subsequent reads from it will return its default value.
|
|
819
880
|
public mutating func clearNewTestFirmwareVersionAvailable() {_uniqueStorage()._newTestFirmwareVersionAvailable = nil}
|
|
820
881
|
|
|
882
|
+
public var newConfigurationAvailable: Bool {
|
|
883
|
+
get {return _storage._newConfigurationAvailable ?? false}
|
|
884
|
+
set {_uniqueStorage()._newConfigurationAvailable = newValue}
|
|
885
|
+
}
|
|
886
|
+
/// Returns true if `newConfigurationAvailable` has been explicitly set.
|
|
887
|
+
public var hasNewConfigurationAvailable: Bool {return _storage._newConfigurationAvailable != nil}
|
|
888
|
+
/// Clears the value of `newConfigurationAvailable`. Subsequent reads from it will return its default value.
|
|
889
|
+
public mutating func clearNewConfigurationAvailable() {_uniqueStorage()._newConfigurationAvailable = nil}
|
|
890
|
+
|
|
891
|
+
public var hardwareInfo: BlueHardwareInfo {
|
|
892
|
+
get {return _storage._hardwareInfo ?? BlueHardwareInfo()}
|
|
893
|
+
set {_uniqueStorage()._hardwareInfo = newValue}
|
|
894
|
+
}
|
|
895
|
+
/// Returns true if `hardwareInfo` has been explicitly set.
|
|
896
|
+
public var hasHardwareInfo: Bool {return _storage._hardwareInfo != nil}
|
|
897
|
+
/// Clears the value of `hardwareInfo`. Subsequent reads from it will return its default value.
|
|
898
|
+
public mutating func clearHardwareInfo() {_uniqueStorage()._hardwareInfo = nil}
|
|
899
|
+
|
|
821
900
|
public var unknownFields = SwiftProtobuf.UnknownStorage()
|
|
822
901
|
|
|
823
902
|
public init() {}
|
|
@@ -1074,6 +1153,7 @@ extension BlueSystemTimeUnix: @unchecked Sendable {}
|
|
|
1074
1153
|
extension BlueSystemUpdate: @unchecked Sendable {}
|
|
1075
1154
|
extension BlueSystemSettings: @unchecked Sendable {}
|
|
1076
1155
|
extension BlueSystemProvisioning: @unchecked Sendable {}
|
|
1156
|
+
extension BlueHardwareInfo: @unchecked Sendable {}
|
|
1077
1157
|
extension BlueSystemStatus: @unchecked Sendable {}
|
|
1078
1158
|
extension BlueSystemLogQuery: @unchecked Sendable {}
|
|
1079
1159
|
extension BlueSystemLogQuery.OneOf_Start: @unchecked Sendable {}
|
|
@@ -1514,15 +1594,7 @@ extension BlueSystemConfig: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme
|
|
|
1514
1594
|
var _oss: BlueOssConfig? = nil
|
|
1515
1595
|
var _lock: BlueLockConfig? = nil
|
|
1516
1596
|
|
|
1517
|
-
|
|
1518
|
-
// This property is used as the initial default value for new instances of the type.
|
|
1519
|
-
// The type itself is protecting the reference to its storage via CoW semantics.
|
|
1520
|
-
// This will force a copy to be made of this reference when the first mutation occurs;
|
|
1521
|
-
// hence, it is safe to mark this as `nonisolated(unsafe)`.
|
|
1522
|
-
static nonisolated(unsafe) let defaultInstance = _StorageClass()
|
|
1523
|
-
#else
|
|
1524
|
-
static let defaultInstance = _StorageClass()
|
|
1525
|
-
#endif
|
|
1597
|
+
static let defaultInstance = _StorageClass()
|
|
1526
1598
|
|
|
1527
1599
|
private init() {}
|
|
1528
1600
|
|
|
@@ -1911,6 +1983,75 @@ extension BlueSystemProvisioning: SwiftProtobuf.Message, SwiftProtobuf._MessageI
|
|
|
1911
1983
|
}
|
|
1912
1984
|
}
|
|
1913
1985
|
|
|
1986
|
+
extension BlueHardwareInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
|
|
1987
|
+
public static let protoMessageName: String = "BlueHardwareInfo"
|
|
1988
|
+
public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
|
|
1989
|
+
1: .same(proto: "name"),
|
|
1990
|
+
2: .same(proto: "vendor"),
|
|
1991
|
+
3: .same(proto: "vendorName"),
|
|
1992
|
+
4: .same(proto: "version"),
|
|
1993
|
+
5: .same(proto: "type"),
|
|
1994
|
+
]
|
|
1995
|
+
|
|
1996
|
+
public var isInitialized: Bool {
|
|
1997
|
+
if self._name == nil {return false}
|
|
1998
|
+
if self._vendor == nil {return false}
|
|
1999
|
+
if self._vendorName == nil {return false}
|
|
2000
|
+
if self._version == nil {return false}
|
|
2001
|
+
if self._type == nil {return false}
|
|
2002
|
+
return true
|
|
2003
|
+
}
|
|
2004
|
+
|
|
2005
|
+
public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
|
|
2006
|
+
while let fieldNumber = try decoder.nextFieldNumber() {
|
|
2007
|
+
// The use of inline closures is to circumvent an issue where the compiler
|
|
2008
|
+
// allocates stack space for every case branch when no optimizations are
|
|
2009
|
+
// enabled. https://github.com/apple/swift-protobuf/issues/1034
|
|
2010
|
+
switch fieldNumber {
|
|
2011
|
+
case 1: try { try decoder.decodeSingularStringField(value: &self._name) }()
|
|
2012
|
+
case 2: try { try decoder.decodeSingularStringField(value: &self._vendor) }()
|
|
2013
|
+
case 3: try { try decoder.decodeSingularStringField(value: &self._vendorName) }()
|
|
2014
|
+
case 4: try { try decoder.decodeSingularUInt32Field(value: &self._version) }()
|
|
2015
|
+
case 5: try { try decoder.decodeSingularEnumField(value: &self._type) }()
|
|
2016
|
+
default: break
|
|
2017
|
+
}
|
|
2018
|
+
}
|
|
2019
|
+
}
|
|
2020
|
+
|
|
2021
|
+
public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
|
|
2022
|
+
// The use of inline closures is to circumvent an issue where the compiler
|
|
2023
|
+
// allocates stack space for every if/case branch local when no optimizations
|
|
2024
|
+
// are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
|
|
2025
|
+
// https://github.com/apple/swift-protobuf/issues/1182
|
|
2026
|
+
try { if let v = self._name {
|
|
2027
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 1)
|
|
2028
|
+
} }()
|
|
2029
|
+
try { if let v = self._vendor {
|
|
2030
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 2)
|
|
2031
|
+
} }()
|
|
2032
|
+
try { if let v = self._vendorName {
|
|
2033
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 3)
|
|
2034
|
+
} }()
|
|
2035
|
+
try { if let v = self._version {
|
|
2036
|
+
try visitor.visitSingularUInt32Field(value: v, fieldNumber: 4)
|
|
2037
|
+
} }()
|
|
2038
|
+
try { if let v = self._type {
|
|
2039
|
+
try visitor.visitSingularEnumField(value: v, fieldNumber: 5)
|
|
2040
|
+
} }()
|
|
2041
|
+
try unknownFields.traverse(visitor: &visitor)
|
|
2042
|
+
}
|
|
2043
|
+
|
|
2044
|
+
public static func ==(lhs: BlueHardwareInfo, rhs: BlueHardwareInfo) -> Bool {
|
|
2045
|
+
if lhs._name != rhs._name {return false}
|
|
2046
|
+
if lhs._vendor != rhs._vendor {return false}
|
|
2047
|
+
if lhs._vendorName != rhs._vendorName {return false}
|
|
2048
|
+
if lhs._version != rhs._version {return false}
|
|
2049
|
+
if lhs._type != rhs._type {return false}
|
|
2050
|
+
if lhs.unknownFields != rhs.unknownFields {return false}
|
|
2051
|
+
return true
|
|
2052
|
+
}
|
|
2053
|
+
}
|
|
2054
|
+
|
|
1914
2055
|
extension BlueSystemStatus: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
|
|
1915
2056
|
public static let protoMessageName: String = "BlueSystemStatus"
|
|
1916
2057
|
public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
|
|
@@ -1926,6 +2067,8 @@ extension BlueSystemStatus: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme
|
|
|
1926
2067
|
10: .same(proto: "applicationVersionTest"),
|
|
1927
2068
|
11: .same(proto: "newFirmwareVersionAvailable"),
|
|
1928
2069
|
12: .same(proto: "newTestFirmwareVersionAvailable"),
|
|
2070
|
+
13: .same(proto: "newConfigurationAvailable"),
|
|
2071
|
+
14: .same(proto: "hardwareInfo"),
|
|
1929
2072
|
]
|
|
1930
2073
|
|
|
1931
2074
|
fileprivate class _StorageClass {
|
|
@@ -1941,16 +2084,10 @@ extension BlueSystemStatus: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme
|
|
|
1941
2084
|
var _applicationVersionTest: UInt32? = nil
|
|
1942
2085
|
var _newFirmwareVersionAvailable: Bool? = nil
|
|
1943
2086
|
var _newTestFirmwareVersionAvailable: Bool? = nil
|
|
2087
|
+
var _newConfigurationAvailable: Bool? = nil
|
|
2088
|
+
var _hardwareInfo: BlueHardwareInfo? = nil
|
|
1944
2089
|
|
|
1945
|
-
|
|
1946
|
-
// This property is used as the initial default value for new instances of the type.
|
|
1947
|
-
// The type itself is protecting the reference to its storage via CoW semantics.
|
|
1948
|
-
// This will force a copy to be made of this reference when the first mutation occurs;
|
|
1949
|
-
// hence, it is safe to mark this as `nonisolated(unsafe)`.
|
|
1950
|
-
static nonisolated(unsafe) let defaultInstance = _StorageClass()
|
|
1951
|
-
#else
|
|
1952
|
-
static let defaultInstance = _StorageClass()
|
|
1953
|
-
#endif
|
|
2090
|
+
static let defaultInstance = _StorageClass()
|
|
1954
2091
|
|
|
1955
2092
|
private init() {}
|
|
1956
2093
|
|
|
@@ -1967,6 +2104,8 @@ extension BlueSystemStatus: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme
|
|
|
1967
2104
|
_applicationVersionTest = source._applicationVersionTest
|
|
1968
2105
|
_newFirmwareVersionAvailable = source._newFirmwareVersionAvailable
|
|
1969
2106
|
_newTestFirmwareVersionAvailable = source._newTestFirmwareVersionAvailable
|
|
2107
|
+
_newConfigurationAvailable = source._newConfigurationAvailable
|
|
2108
|
+
_hardwareInfo = source._hardwareInfo
|
|
1970
2109
|
}
|
|
1971
2110
|
}
|
|
1972
2111
|
|
|
@@ -1990,6 +2129,7 @@ extension BlueSystemStatus: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme
|
|
|
1990
2129
|
if let v = _storage._localTime, !v.isInitialized {return false}
|
|
1991
2130
|
if let v = _storage._settings, !v.isInitialized {return false}
|
|
1992
2131
|
if let v = _storage._lock, !v.isInitialized {return false}
|
|
2132
|
+
if let v = _storage._hardwareInfo, !v.isInitialized {return false}
|
|
1993
2133
|
return true
|
|
1994
2134
|
}
|
|
1995
2135
|
}
|
|
@@ -2014,6 +2154,8 @@ extension BlueSystemStatus: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme
|
|
|
2014
2154
|
case 10: try { try decoder.decodeSingularUInt32Field(value: &_storage._applicationVersionTest) }()
|
|
2015
2155
|
case 11: try { try decoder.decodeSingularBoolField(value: &_storage._newFirmwareVersionAvailable) }()
|
|
2016
2156
|
case 12: try { try decoder.decodeSingularBoolField(value: &_storage._newTestFirmwareVersionAvailable) }()
|
|
2157
|
+
case 13: try { try decoder.decodeSingularBoolField(value: &_storage._newConfigurationAvailable) }()
|
|
2158
|
+
case 14: try { try decoder.decodeSingularMessageField(value: &_storage._hardwareInfo) }()
|
|
2017
2159
|
default: break
|
|
2018
2160
|
}
|
|
2019
2161
|
}
|
|
@@ -2062,6 +2204,12 @@ extension BlueSystemStatus: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme
|
|
|
2062
2204
|
try { if let v = _storage._newTestFirmwareVersionAvailable {
|
|
2063
2205
|
try visitor.visitSingularBoolField(value: v, fieldNumber: 12)
|
|
2064
2206
|
} }()
|
|
2207
|
+
try { if let v = _storage._newConfigurationAvailable {
|
|
2208
|
+
try visitor.visitSingularBoolField(value: v, fieldNumber: 13)
|
|
2209
|
+
} }()
|
|
2210
|
+
try { if let v = _storage._hardwareInfo {
|
|
2211
|
+
try visitor.visitSingularMessageField(value: v, fieldNumber: 14)
|
|
2212
|
+
} }()
|
|
2065
2213
|
}
|
|
2066
2214
|
try unknownFields.traverse(visitor: &visitor)
|
|
2067
2215
|
}
|
|
@@ -2083,6 +2231,8 @@ extension BlueSystemStatus: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme
|
|
|
2083
2231
|
if _storage._applicationVersionTest != rhs_storage._applicationVersionTest {return false}
|
|
2084
2232
|
if _storage._newFirmwareVersionAvailable != rhs_storage._newFirmwareVersionAvailable {return false}
|
|
2085
2233
|
if _storage._newTestFirmwareVersionAvailable != rhs_storage._newTestFirmwareVersionAvailable {return false}
|
|
2234
|
+
if _storage._newConfigurationAvailable != rhs_storage._newConfigurationAvailable {return false}
|
|
2235
|
+
if _storage._hardwareInfo != rhs_storage._hardwareInfo {return false}
|
|
2086
2236
|
return true
|
|
2087
2237
|
}
|
|
2088
2238
|
if !storagesAreEqual {return false}
|