@blueid/access-proto 11.1.0 → 11.3.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 +5 -0
- package/BlueSDK.proto +1 -0
- package/cjs/BlueCore_pb.d.ts +19 -0
- package/cjs/BlueCore_pb.js +6 -3
- package/cjs/BlueSDK_pb.d.ts +5 -0
- package/cjs/BlueSDK_pb.js +2 -1
- package/es/BlueCore_pb.d.ts +19 -0
- package/es/BlueCore_pb.js +3 -0
- package/es/BlueSDK_pb.d.ts +5 -0
- package/es/BlueSDK_pb.js +1 -0
- package/nanopb/BlueCore.pb.h +27 -16
- package/nanopb/BlueSDK.pb.h +6 -3
- package/package.json +1 -1
- package/swift/BlueCore.pb.swift +53 -3
- package/swift/BlueSDK.pb.swift +16 -1
package/BlueCore.proto
CHANGED
|
@@ -891,6 +891,8 @@ message BlueOssSoProvisioningConfiguration {
|
|
|
891
891
|
[ (nanopb).max_size = 12, (nanopb).fixed_length = true ];
|
|
892
892
|
required uint32 numberOfBlacklistEntries = 7;
|
|
893
893
|
required uint32 customerExtensionsSize = 8;
|
|
894
|
+
// if it is true then create data file according to configuration. This will use to not create data file at all for emergency key
|
|
895
|
+
required bool has_data = 9 [default = true];
|
|
894
896
|
}
|
|
895
897
|
|
|
896
898
|
message BlueOssSoProvisioningData {
|
|
@@ -926,6 +928,7 @@ message BlueOssSoMobileProvisioningConfiguration {
|
|
|
926
928
|
[ (nanopb).max_size = 12, (nanopb).fixed_length = true ];
|
|
927
929
|
required uint32 numberOfBlacklistEntries = 7 [ default = 16 ];
|
|
928
930
|
required uint32 customerExtensionsSize = 8 [ default = 32 ];
|
|
931
|
+
required bool has_data = 9 [default = true];
|
|
929
932
|
}
|
|
930
933
|
|
|
931
934
|
enum BlueOssSoWriteStatus {
|
|
@@ -955,6 +958,8 @@ message BlueOssSoMifareDesfireProvisioningConfiguration {
|
|
|
955
958
|
];
|
|
956
959
|
required uint32 numberOfBlacklistEntries = 7 [ default = 3 ];
|
|
957
960
|
required uint32 customerExtensionsSize = 8 [ default = 16 ];
|
|
961
|
+
// if it is true then create data file according to configuration. This will use to not create data file at all for emergency key
|
|
962
|
+
required bool has_data = 9 [default = true];
|
|
958
963
|
}
|
|
959
964
|
|
|
960
965
|
// Demo keys from spec
|
package/BlueSDK.proto
CHANGED
package/cjs/BlueCore_pb.d.ts
CHANGED
|
@@ -3101,6 +3101,13 @@ export declare class BlueOssSoProvisioningConfiguration extends Message<BlueOssS
|
|
|
3101
3101
|
*/
|
|
3102
3102
|
customerExtensionsSize: number;
|
|
3103
3103
|
|
|
3104
|
+
/**
|
|
3105
|
+
* if it is true then create data file according to configuration. This will use to not create data file at all for emergency key
|
|
3106
|
+
*
|
|
3107
|
+
* @generated from field: required bool has_data = 9 [default = true];
|
|
3108
|
+
*/
|
|
3109
|
+
hasData: boolean;
|
|
3110
|
+
|
|
3104
3111
|
constructor(data?: PartialMessage<BlueOssSoProvisioningConfiguration>);
|
|
3105
3112
|
|
|
3106
3113
|
static readonly runtime: typeof proto2;
|
|
@@ -3256,6 +3263,11 @@ export declare class BlueOssSoMobileProvisioningConfiguration extends Message<Bl
|
|
|
3256
3263
|
*/
|
|
3257
3264
|
customerExtensionsSize: number;
|
|
3258
3265
|
|
|
3266
|
+
/**
|
|
3267
|
+
* @generated from field: required bool has_data = 9 [default = true];
|
|
3268
|
+
*/
|
|
3269
|
+
hasData: boolean;
|
|
3270
|
+
|
|
3259
3271
|
constructor(data?: PartialMessage<BlueOssSoMobileProvisioningConfiguration>);
|
|
3260
3272
|
|
|
3261
3273
|
static readonly runtime: typeof proto2;
|
|
@@ -3319,6 +3331,13 @@ export declare class BlueOssSoMifareDesfireProvisioningConfiguration extends Mes
|
|
|
3319
3331
|
*/
|
|
3320
3332
|
customerExtensionsSize: number;
|
|
3321
3333
|
|
|
3334
|
+
/**
|
|
3335
|
+
* if it is true then create data file according to configuration. This will use to not create data file at all for emergency key
|
|
3336
|
+
*
|
|
3337
|
+
* @generated from field: required bool has_data = 9 [default = true];
|
|
3338
|
+
*/
|
|
3339
|
+
hasData: boolean;
|
|
3340
|
+
|
|
3322
3341
|
constructor(data?: PartialMessage<BlueOssSoMifareDesfireProvisioningConfiguration>);
|
|
3323
3342
|
|
|
3324
3343
|
static readonly runtime: typeof proto2;
|
package/cjs/BlueCore_pb.js
CHANGED
|
@@ -1309,7 +1309,8 @@ const BlueOssSoProvisioningConfiguration = import_protobuf.proto2.makeMessageTyp
|
|
|
1309
1309
|
kind: "scalar",
|
|
1310
1310
|
T: 13
|
|
1311
1311
|
/* ScalarType.UINT32 */
|
|
1312
|
-
}
|
|
1312
|
+
},
|
|
1313
|
+
{ no: 9, name: "has_data", kind: "scalar", T: 8, default: true }
|
|
1313
1314
|
]
|
|
1314
1315
|
);
|
|
1315
1316
|
const BlueOssSoProvisioningData = import_protobuf.proto2.makeMessageType(
|
|
@@ -1378,7 +1379,8 @@ const BlueOssSoMobileProvisioningConfiguration = import_protobuf.proto2.makeMess
|
|
|
1378
1379
|
/* ScalarType.BYTES */
|
|
1379
1380
|
},
|
|
1380
1381
|
{ no: 7, name: "numberOfBlacklistEntries", kind: "scalar", T: 13, default: 16 },
|
|
1381
|
-
{ no: 8, name: "customerExtensionsSize", kind: "scalar", T: 13, default: 32 }
|
|
1382
|
+
{ no: 8, name: "customerExtensionsSize", kind: "scalar", T: 13, default: 32 },
|
|
1383
|
+
{ no: 9, name: "has_data", kind: "scalar", T: 8, default: true }
|
|
1382
1384
|
]
|
|
1383
1385
|
);
|
|
1384
1386
|
const BlueOssSoMifareDesfireProvisioningConfiguration = import_protobuf.proto2.makeMessageType(
|
|
@@ -1391,7 +1393,8 @@ const BlueOssSoMifareDesfireProvisioningConfiguration = import_protobuf.proto2.m
|
|
|
1391
1393
|
{ no: 5, name: "numberOfEvents", kind: "scalar", T: 13, default: 16 },
|
|
1392
1394
|
{ no: 6, name: "supportedEventIds", kind: "scalar", T: 12, default: new Uint8Array([1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]) },
|
|
1393
1395
|
{ no: 7, name: "numberOfBlacklistEntries", kind: "scalar", T: 13, default: 3 },
|
|
1394
|
-
{ no: 8, name: "customerExtensionsSize", kind: "scalar", T: 13, default: 16 }
|
|
1396
|
+
{ no: 8, name: "customerExtensionsSize", kind: "scalar", T: 13, default: 16 },
|
|
1397
|
+
{ no: 9, name: "has_data", kind: "scalar", T: 8, default: true }
|
|
1395
1398
|
]
|
|
1396
1399
|
);
|
|
1397
1400
|
const BlueOssSoMifareDesfireConfiguration = import_protobuf.proto2.makeMessageType(
|
package/cjs/BlueSDK_pb.d.ts
CHANGED
|
@@ -671,6 +671,11 @@ export declare class BlueAccessDevice extends Message<BlueAccessDevice> {
|
|
|
671
671
|
*/
|
|
672
672
|
objectId?: number;
|
|
673
673
|
|
|
674
|
+
/**
|
|
675
|
+
* @generated from field: optional string deviceStatus = 4;
|
|
676
|
+
*/
|
|
677
|
+
deviceStatus?: string;
|
|
678
|
+
|
|
674
679
|
constructor(data?: PartialMessage<BlueAccessDevice>);
|
|
675
680
|
|
|
676
681
|
static readonly runtime: typeof proto2;
|
package/cjs/BlueSDK_pb.js
CHANGED
|
@@ -257,7 +257,8 @@ const BlueAccessDevice = import_protobuf.proto2.makeMessageType(
|
|
|
257
257
|
/* ScalarType.STRING */
|
|
258
258
|
},
|
|
259
259
|
{ no: 2, name: "objectName", kind: "scalar", T: 9, opt: true },
|
|
260
|
-
{ no: 3, name: "objectId", kind: "scalar", T: 5, opt: true }
|
|
260
|
+
{ no: 3, name: "objectId", kind: "scalar", T: 5, opt: true },
|
|
261
|
+
{ no: 4, name: "deviceStatus", kind: "scalar", T: 9, opt: true }
|
|
261
262
|
]
|
|
262
263
|
);
|
|
263
264
|
const BlueAccessDeviceList = import_protobuf.proto2.makeMessageType(
|
package/es/BlueCore_pb.d.ts
CHANGED
|
@@ -3101,6 +3101,13 @@ export declare class BlueOssSoProvisioningConfiguration extends Message<BlueOssS
|
|
|
3101
3101
|
*/
|
|
3102
3102
|
customerExtensionsSize: number;
|
|
3103
3103
|
|
|
3104
|
+
/**
|
|
3105
|
+
* if it is true then create data file according to configuration. This will use to not create data file at all for emergency key
|
|
3106
|
+
*
|
|
3107
|
+
* @generated from field: required bool has_data = 9 [default = true];
|
|
3108
|
+
*/
|
|
3109
|
+
hasData: boolean;
|
|
3110
|
+
|
|
3104
3111
|
constructor(data?: PartialMessage<BlueOssSoProvisioningConfiguration>);
|
|
3105
3112
|
|
|
3106
3113
|
static readonly runtime: typeof proto2;
|
|
@@ -3256,6 +3263,11 @@ export declare class BlueOssSoMobileProvisioningConfiguration extends Message<Bl
|
|
|
3256
3263
|
*/
|
|
3257
3264
|
customerExtensionsSize: number;
|
|
3258
3265
|
|
|
3266
|
+
/**
|
|
3267
|
+
* @generated from field: required bool has_data = 9 [default = true];
|
|
3268
|
+
*/
|
|
3269
|
+
hasData: boolean;
|
|
3270
|
+
|
|
3259
3271
|
constructor(data?: PartialMessage<BlueOssSoMobileProvisioningConfiguration>);
|
|
3260
3272
|
|
|
3261
3273
|
static readonly runtime: typeof proto2;
|
|
@@ -3319,6 +3331,13 @@ export declare class BlueOssSoMifareDesfireProvisioningConfiguration extends Mes
|
|
|
3319
3331
|
*/
|
|
3320
3332
|
customerExtensionsSize: number;
|
|
3321
3333
|
|
|
3334
|
+
/**
|
|
3335
|
+
* if it is true then create data file according to configuration. This will use to not create data file at all for emergency key
|
|
3336
|
+
*
|
|
3337
|
+
* @generated from field: required bool has_data = 9 [default = true];
|
|
3338
|
+
*/
|
|
3339
|
+
hasData: boolean;
|
|
3340
|
+
|
|
3322
3341
|
constructor(data?: PartialMessage<BlueOssSoMifareDesfireProvisioningConfiguration>);
|
|
3323
3342
|
|
|
3324
3343
|
static readonly runtime: typeof proto2;
|
package/es/BlueCore_pb.js
CHANGED
|
@@ -1024,6 +1024,7 @@ export const BlueOssSoProvisioningConfiguration = proto2.makeMessageType(
|
|
|
1024
1024
|
{ no: 6, name: "supportedEventIds", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
|
|
1025
1025
|
{ no: 7, name: "numberOfBlacklistEntries", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1026
1026
|
{ no: 8, name: "customerExtensionsSize", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1027
|
+
{ no: 9, name: "has_data", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: true },
|
|
1027
1028
|
],
|
|
1028
1029
|
);
|
|
1029
1030
|
|
|
@@ -1069,6 +1070,7 @@ export const BlueOssSoMobileProvisioningConfiguration = proto2.makeMessageType(
|
|
|
1069
1070
|
{ no: 6, name: "supportedEventIds", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
|
|
1070
1071
|
{ no: 7, name: "numberOfBlacklistEntries", kind: "scalar", T: 13 /* ScalarType.UINT32 */, default: 16 },
|
|
1071
1072
|
{ no: 8, name: "customerExtensionsSize", kind: "scalar", T: 13 /* ScalarType.UINT32 */, default: 32 },
|
|
1073
|
+
{ no: 9, name: "has_data", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: true },
|
|
1072
1074
|
],
|
|
1073
1075
|
);
|
|
1074
1076
|
|
|
@@ -1088,6 +1090,7 @@ export const BlueOssSoMifareDesfireProvisioningConfiguration = proto2.makeMessag
|
|
|
1088
1090
|
{ no: 6, name: "supportedEventIds", kind: "scalar", T: 12 /* ScalarType.BYTES */, default: new Uint8Array([0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01]) },
|
|
1089
1091
|
{ no: 7, name: "numberOfBlacklistEntries", kind: "scalar", T: 13 /* ScalarType.UINT32 */, default: 3 },
|
|
1090
1092
|
{ no: 8, name: "customerExtensionsSize", kind: "scalar", T: 13 /* ScalarType.UINT32 */, default: 16 },
|
|
1093
|
+
{ no: 9, name: "has_data", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: true },
|
|
1091
1094
|
],
|
|
1092
1095
|
);
|
|
1093
1096
|
|
package/es/BlueSDK_pb.d.ts
CHANGED
|
@@ -671,6 +671,11 @@ export declare class BlueAccessDevice extends Message<BlueAccessDevice> {
|
|
|
671
671
|
*/
|
|
672
672
|
objectId?: number;
|
|
673
673
|
|
|
674
|
+
/**
|
|
675
|
+
* @generated from field: optional string deviceStatus = 4;
|
|
676
|
+
*/
|
|
677
|
+
deviceStatus?: string;
|
|
678
|
+
|
|
674
679
|
constructor(data?: PartialMessage<BlueAccessDevice>);
|
|
675
680
|
|
|
676
681
|
static readonly runtime: typeof proto2;
|
package/es/BlueSDK_pb.js
CHANGED
|
@@ -190,6 +190,7 @@ export const BlueAccessDevice = proto2.makeMessageType(
|
|
|
190
190
|
{ no: 1, name: "deviceId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
191
191
|
{ no: 2, name: "objectName", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
192
192
|
{ no: 3, name: "objectId", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
193
|
+
{ no: 4, name: "deviceStatus", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
193
194
|
],
|
|
194
195
|
);
|
|
195
196
|
|
package/nanopb/BlueCore.pb.h
CHANGED
|
@@ -687,6 +687,8 @@ typedef struct BlueOssSoProvisioningConfiguration {
|
|
|
687
687
|
pb_byte_t supportedEventIds[12];
|
|
688
688
|
uint32_t numberOfBlacklistEntries;
|
|
689
689
|
uint32_t customerExtensionsSize;
|
|
690
|
+
/* if it is true then create data file according to configuration. This will use to not create data file at all for emergency key */
|
|
691
|
+
bool has_data;
|
|
690
692
|
} BlueOssSoProvisioningConfiguration_t;
|
|
691
693
|
|
|
692
694
|
typedef struct BlueOssSoProvisioningData {
|
|
@@ -745,6 +747,7 @@ typedef struct BlueOssSoMobileProvisioningConfiguration {
|
|
|
745
747
|
pb_byte_t supportedEventIds[12];
|
|
746
748
|
uint32_t numberOfBlacklistEntries;
|
|
747
749
|
uint32_t customerExtensionsSize;
|
|
750
|
+
bool has_data;
|
|
748
751
|
} BlueOssSoMobileProvisioningConfiguration_t;
|
|
749
752
|
|
|
750
753
|
/* Default configuration from spec plus customer extensions spacing */
|
|
@@ -758,6 +761,8 @@ typedef struct BlueOssSoMifareDesfireProvisioningConfiguration {
|
|
|
758
761
|
pb_byte_t supportedEventIds[12];
|
|
759
762
|
uint32_t numberOfBlacklistEntries;
|
|
760
763
|
uint32_t customerExtensionsSize;
|
|
764
|
+
/* if it is true then create data file according to configuration. This will use to not create data file at all for emergency key */
|
|
765
|
+
bool has_data;
|
|
761
766
|
} BlueOssSoMifareDesfireProvisioningConfiguration_t;
|
|
762
767
|
|
|
763
768
|
typedef PB_BYTES_ARRAY_T(16) BlueOssSoMifareDesfireConfiguration_piccMasterKey_t;
|
|
@@ -990,11 +995,11 @@ extern "C" {
|
|
|
990
995
|
#define BLUEOSSSOFILECUSTOMEREXTENSIONS_INIT_DEFAULT {0, {BLUEOSSSOEXTFEATURE_INIT_DEFAULT, BLUEOSSSOEXTFEATURE_INIT_DEFAULT, BLUEOSSSOEXTFEATURE_INIT_DEFAULT, BLUEOSSSOEXTFEATURE_INIT_DEFAULT, BLUEOSSSOEXTFEATURE_INIT_DEFAULT, BLUEOSSSOEXTFEATURE_INIT_DEFAULT, BLUEOSSSOEXTFEATURE_INIT_DEFAULT, BLUEOSSSOEXTFEATURE_INIT_DEFAULT}, false, BLUEOSSSOEXTFEATURE_VALIDITYSTART_INIT_DEFAULT}
|
|
991
996
|
#define BLUEOSSSOCONFIGURATION_INIT_DEFAULT {false, BLUEOSSSOFILEINFO_INIT_DEFAULT, false, BLUEOSSSOFILEDATA_INIT_DEFAULT, false, BLUEOSSSOFILEEVENT_INIT_DEFAULT, false, BLUEOSSSOFILEBLACKLIST_INIT_DEFAULT, false, BLUEOSSSOFILECUSTOMEREXTENSIONS_INIT_DEFAULT}
|
|
992
997
|
#define BLUEOSSSOSTORAGEPROFILE_INIT_DEFAULT {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
|
|
993
|
-
#define BLUEOSSSOPROVISIONINGCONFIGURATION_INIT_DEFAULT {0, 0, 0, 0, 0, {0}, 0, 0}
|
|
998
|
+
#define BLUEOSSSOPROVISIONINGCONFIGURATION_INIT_DEFAULT {0, 0, 0, 0, 0, {0}, 0, 0, true}
|
|
994
999
|
#define BLUEOSSSOPROVISIONINGDATA_INIT_DEFAULT {false, BLUEOSSSOPROVISIONINGCONFIGURATION_INIT_DEFAULT, BLUEOSSSOCREDENTIALTYPE_INIT_DEFAULT, BLUECREDENTIALID_INIT_DEFAULT, 0}
|
|
995
1000
|
#define BLUEOSSSOMOBILE_INIT_DEFAULT {{0, {0}}, {0, {0}}, {0, {0}}, {0, {0}}, false, 0u, false, {0}}
|
|
996
|
-
#define BLUEOSSSOMOBILEPROVISIONINGCONFIGURATION_INIT_DEFAULT {1u, 1u, 4u, 4u, 0u, {0}, 16u, 32u}
|
|
997
|
-
#define BLUEOSSSOMIFAREDESFIREPROVISIONINGCONFIGURATION_INIT_DEFAULT {70u, 1u, 4u, 2u, 16u, {0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01}, 3u, 16u}
|
|
1001
|
+
#define BLUEOSSSOMOBILEPROVISIONINGCONFIGURATION_INIT_DEFAULT {1u, 1u, 4u, 4u, 0u, {0}, 16u, 32u, true}
|
|
1002
|
+
#define BLUEOSSSOMIFAREDESFIREPROVISIONINGCONFIGURATION_INIT_DEFAULT {70u, 1u, 4u, 2u, 16u, {0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01}, 3u, 16u, true}
|
|
998
1003
|
#define BLUEOSSSOMIFAREDESFIRECONFIGURATION_INIT_DEFAULT {{16, {0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0xaa}}, {16, {0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f}}, {16, {0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f}}, 16076800u}
|
|
999
1004
|
#define BLUEOSSSOSETTINGS_INIT_DEFAULT {false, BLUEOSSSOMIFAREDESFIRECONFIGURATION_INIT_DEFAULT}
|
|
1000
1005
|
#define _BLUETESTENCODEDECODE_INIT_DEFAULT {"", "", 0, 0}
|
|
@@ -1052,11 +1057,11 @@ extern "C" {
|
|
|
1052
1057
|
#define BLUEOSSSOFILECUSTOMEREXTENSIONS_INIT_ZERO {0, {BLUEOSSSOEXTFEATURE_INIT_ZERO, BLUEOSSSOEXTFEATURE_INIT_ZERO, BLUEOSSSOEXTFEATURE_INIT_ZERO, BLUEOSSSOEXTFEATURE_INIT_ZERO, BLUEOSSSOEXTFEATURE_INIT_ZERO, BLUEOSSSOEXTFEATURE_INIT_ZERO, BLUEOSSSOEXTFEATURE_INIT_ZERO, BLUEOSSSOEXTFEATURE_INIT_ZERO}, false, BLUEOSSSOEXTFEATURE_VALIDITYSTART_INIT_ZERO}
|
|
1053
1058
|
#define BLUEOSSSOCONFIGURATION_INIT_ZERO {false, BLUEOSSSOFILEINFO_INIT_ZERO, false, BLUEOSSSOFILEDATA_INIT_ZERO, false, BLUEOSSSOFILEEVENT_INIT_ZERO, false, BLUEOSSSOFILEBLACKLIST_INIT_ZERO, false, BLUEOSSSOFILECUSTOMEREXTENSIONS_INIT_ZERO}
|
|
1054
1059
|
#define BLUEOSSSOSTORAGEPROFILE_INIT_ZERO {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
|
|
1055
|
-
#define BLUEOSSSOPROVISIONINGCONFIGURATION_INIT_ZERO {0, 0, 0, 0, 0, {0}, 0, 0}
|
|
1060
|
+
#define BLUEOSSSOPROVISIONINGCONFIGURATION_INIT_ZERO {0, 0, 0, 0, 0, {0}, 0, 0, 0}
|
|
1056
1061
|
#define BLUEOSSSOPROVISIONINGDATA_INIT_ZERO {false, BLUEOSSSOPROVISIONINGCONFIGURATION_INIT_ZERO, BLUEOSSSOCREDENTIALTYPE_INIT_ZERO, BLUECREDENTIALID_INIT_ZERO, 0}
|
|
1057
1062
|
#define BLUEOSSSOMOBILE_INIT_ZERO {{0, {0}}, {0, {0}}, {0, {0}}, {0, {0}}, false, 0, false, {0}}
|
|
1058
|
-
#define BLUEOSSSOMOBILEPROVISIONINGCONFIGURATION_INIT_ZERO {0, 0, 0, 0, 0, {0}, 0, 0}
|
|
1059
|
-
#define BLUEOSSSOMIFAREDESFIREPROVISIONINGCONFIGURATION_INIT_ZERO {0, 0, 0, 0, 0, {0}, 0, 0}
|
|
1063
|
+
#define BLUEOSSSOMOBILEPROVISIONINGCONFIGURATION_INIT_ZERO {0, 0, 0, 0, 0, {0}, 0, 0, 0}
|
|
1064
|
+
#define BLUEOSSSOMIFAREDESFIREPROVISIONINGCONFIGURATION_INIT_ZERO {0, 0, 0, 0, 0, {0}, 0, 0, 0}
|
|
1060
1065
|
#define BLUEOSSSOMIFAREDESFIRECONFIGURATION_INIT_ZERO {{0, {0}}, {0, {0}}, {0, {0}}, 0}
|
|
1061
1066
|
#define BLUEOSSSOSETTINGS_INIT_ZERO {false, BLUEOSSSOMIFAREDESFIRECONFIGURATION_INIT_ZERO}
|
|
1062
1067
|
#define _BLUETESTENCODEDECODE_INIT_ZERO {"", "", 0, 0}
|
|
@@ -1219,6 +1224,7 @@ extern "C" {
|
|
|
1219
1224
|
#define BLUEOSSSOPROVISIONINGCONFIGURATION_SUPPORTEDEVENTIDS_TAG 6
|
|
1220
1225
|
#define BLUEOSSSOPROVISIONINGCONFIGURATION_NUMBEROFBLACKLISTENTRIES_TAG 7
|
|
1221
1226
|
#define BLUEOSSSOPROVISIONINGCONFIGURATION_CUSTOMEREXTENSIONSSIZE_TAG 8
|
|
1227
|
+
#define BLUEOSSSOPROVISIONINGCONFIGURATION_HAS_DATA_TAG 9
|
|
1222
1228
|
#define BLUEOSSSOPROVISIONINGDATA_CONFIGURATION_TAG 1
|
|
1223
1229
|
#define BLUEOSSSOPROVISIONINGDATA_CREDENTIALTYPE_TAG 2
|
|
1224
1230
|
#define BLUEOSSSOPROVISIONINGDATA_CREDENTIALID_TAG 3
|
|
@@ -1245,6 +1251,7 @@ extern "C" {
|
|
|
1245
1251
|
#define BLUEOSSSOMOBILEPROVISIONINGCONFIGURATION_SUPPORTEDEVENTIDS_TAG 6
|
|
1246
1252
|
#define BLUEOSSSOMOBILEPROVISIONINGCONFIGURATION_NUMBEROFBLACKLISTENTRIES_TAG 7
|
|
1247
1253
|
#define BLUEOSSSOMOBILEPROVISIONINGCONFIGURATION_CUSTOMEREXTENSIONSSIZE_TAG 8
|
|
1254
|
+
#define BLUEOSSSOMOBILEPROVISIONINGCONFIGURATION_HAS_DATA_TAG 9
|
|
1248
1255
|
#define BLUEOSSSOMIFAREDESFIREPROVISIONINGCONFIGURATION_NUMBEROFDOORS_TAG 1
|
|
1249
1256
|
#define BLUEOSSSOMIFAREDESFIREPROVISIONINGCONFIGURATION_NUMBEROFDTSCHEDULES_TAG 2
|
|
1250
1257
|
#define BLUEOSSSOMIFAREDESFIREPROVISIONINGCONFIGURATION_NUMBEROFDAYIDSPERDTSCHEDULE_TAG 3
|
|
@@ -1253,6 +1260,7 @@ extern "C" {
|
|
|
1253
1260
|
#define BLUEOSSSOMIFAREDESFIREPROVISIONINGCONFIGURATION_SUPPORTEDEVENTIDS_TAG 6
|
|
1254
1261
|
#define BLUEOSSSOMIFAREDESFIREPROVISIONINGCONFIGURATION_NUMBEROFBLACKLISTENTRIES_TAG 7
|
|
1255
1262
|
#define BLUEOSSSOMIFAREDESFIREPROVISIONINGCONFIGURATION_CUSTOMEREXTENSIONSSIZE_TAG 8
|
|
1263
|
+
#define BLUEOSSSOMIFAREDESFIREPROVISIONINGCONFIGURATION_HAS_DATA_TAG 9
|
|
1256
1264
|
#define BLUEOSSSOMIFAREDESFIRECONFIGURATION_PICCMASTERKEY_TAG 1
|
|
1257
1265
|
#define BLUEOSSSOMIFAREDESFIRECONFIGURATION_APPMASTERKEY_TAG 2
|
|
1258
1266
|
#define BLUEOSSSOMIFAREDESFIRECONFIGURATION_PROJECTKEY_TAG 3
|
|
@@ -1695,9 +1703,10 @@ X(a, STATIC, REQUIRED, UINT32, numberOfTimePeriodsPerDayId, 4) \
|
|
|
1695
1703
|
X(a, STATIC, REQUIRED, UINT32, numberOfEvents, 5) \
|
|
1696
1704
|
X(a, STATIC, REQUIRED, FIXED_LENGTH_BYTES, supportedEventIds, 6) \
|
|
1697
1705
|
X(a, STATIC, REQUIRED, UINT32, numberOfBlacklistEntries, 7) \
|
|
1698
|
-
X(a, STATIC, REQUIRED, UINT32, customerExtensionsSize, 8)
|
|
1706
|
+
X(a, STATIC, REQUIRED, UINT32, customerExtensionsSize, 8) \
|
|
1707
|
+
X(a, STATIC, REQUIRED, BOOL, has_data, 9)
|
|
1699
1708
|
#define BLUEOSSSOPROVISIONINGCONFIGURATION_CALLBACK NULL
|
|
1700
|
-
#define BLUEOSSSOPROVISIONINGCONFIGURATION_DEFAULT
|
|
1709
|
+
#define BLUEOSSSOPROVISIONINGCONFIGURATION_DEFAULT (const pb_byte_t*)"\x48\x01\x00"
|
|
1701
1710
|
|
|
1702
1711
|
#define BLUEOSSSOPROVISIONINGDATA_FIELDLIST(X, a) \
|
|
1703
1712
|
X(a, STATIC, OPTIONAL, MESSAGE, configuration, 1) \
|
|
@@ -1728,9 +1737,10 @@ X(a, STATIC, REQUIRED, UINT32, numberOfTimePeriodsPerDayId, 4) \
|
|
|
1728
1737
|
X(a, STATIC, REQUIRED, UINT32, numberOfEvents, 5) \
|
|
1729
1738
|
X(a, STATIC, REQUIRED, FIXED_LENGTH_BYTES, supportedEventIds, 6) \
|
|
1730
1739
|
X(a, STATIC, REQUIRED, UINT32, numberOfBlacklistEntries, 7) \
|
|
1731
|
-
X(a, STATIC, REQUIRED, UINT32, customerExtensionsSize, 8)
|
|
1740
|
+
X(a, STATIC, REQUIRED, UINT32, customerExtensionsSize, 8) \
|
|
1741
|
+
X(a, STATIC, REQUIRED, BOOL, has_data, 9)
|
|
1732
1742
|
#define BLUEOSSSOMOBILEPROVISIONINGCONFIGURATION_CALLBACK NULL
|
|
1733
|
-
#define BLUEOSSSOMOBILEPROVISIONINGCONFIGURATION_DEFAULT (const pb_byte_t*)"\x08\x01\x10\x01\x18\x04\x20\x04\x28\x00\x38\x10\x40\x20\x00"
|
|
1743
|
+
#define BLUEOSSSOMOBILEPROVISIONINGCONFIGURATION_DEFAULT (const pb_byte_t*)"\x08\x01\x10\x01\x18\x04\x20\x04\x28\x00\x38\x10\x40\x20\x48\x01\x00"
|
|
1734
1744
|
|
|
1735
1745
|
#define BLUEOSSSOMIFAREDESFIREPROVISIONINGCONFIGURATION_FIELDLIST(X, a) \
|
|
1736
1746
|
X(a, STATIC, REQUIRED, UINT32, numberOfDoors, 1) \
|
|
@@ -1740,9 +1750,10 @@ X(a, STATIC, REQUIRED, UINT32, numberOfTimePeriodsPerDayId, 4) \
|
|
|
1740
1750
|
X(a, STATIC, REQUIRED, UINT32, numberOfEvents, 5) \
|
|
1741
1751
|
X(a, STATIC, REQUIRED, FIXED_LENGTH_BYTES, supportedEventIds, 6) \
|
|
1742
1752
|
X(a, STATIC, REQUIRED, UINT32, numberOfBlacklistEntries, 7) \
|
|
1743
|
-
X(a, STATIC, REQUIRED, UINT32, customerExtensionsSize, 8)
|
|
1753
|
+
X(a, STATIC, REQUIRED, UINT32, customerExtensionsSize, 8) \
|
|
1754
|
+
X(a, STATIC, REQUIRED, BOOL, has_data, 9)
|
|
1744
1755
|
#define BLUEOSSSOMIFAREDESFIREPROVISIONINGCONFIGURATION_CALLBACK NULL
|
|
1745
|
-
#define BLUEOSSSOMIFAREDESFIREPROVISIONINGCONFIGURATION_DEFAULT (const pb_byte_t*)"\x08\x46\x10\x01\x18\x04\x20\x02\x28\x10\x32\x0c\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x38\x03\x40\x10\x00"
|
|
1756
|
+
#define BLUEOSSSOMIFAREDESFIREPROVISIONINGCONFIGURATION_DEFAULT (const pb_byte_t*)"\x08\x46\x10\x01\x18\x04\x20\x02\x28\x10\x32\x0c\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x38\x03\x40\x10\x48\x01\x00"
|
|
1746
1757
|
|
|
1747
1758
|
#define BLUEOSSSOMIFAREDESFIRECONFIGURATION_FIELDLIST(X, a) \
|
|
1748
1759
|
X(a, STATIC, REQUIRED, BYTES, piccMasterKey, 1) \
|
|
@@ -1934,11 +1945,11 @@ extern const pb_msgdesc_t _BlueTestEncodeDecode_t_msg;
|
|
|
1934
1945
|
#define BLUEOSSSOFILEEVENT_SIZE 8174
|
|
1935
1946
|
#define BLUEOSSSOFILEINFO_SIZE 57
|
|
1936
1947
|
#define BLUEOSSSOMIFAREDESFIRECONFIGURATION_SIZE 60
|
|
1937
|
-
#define BLUEOSSSOMIFAREDESFIREPROVISIONINGCONFIGURATION_SIZE
|
|
1938
|
-
#define BLUEOSSSOMOBILEPROVISIONINGCONFIGURATION_SIZE
|
|
1948
|
+
#define BLUEOSSSOMIFAREDESFIREPROVISIONINGCONFIGURATION_SIZE 58
|
|
1949
|
+
#define BLUEOSSSOMOBILEPROVISIONINGCONFIGURATION_SIZE 58
|
|
1939
1950
|
#define BLUEOSSSOMOBILE_SIZE 642
|
|
1940
|
-
#define BLUEOSSSOPROVISIONINGCONFIGURATION_SIZE
|
|
1941
|
-
#define BLUEOSSSOPROVISIONINGDATA_SIZE
|
|
1951
|
+
#define BLUEOSSSOPROVISIONINGCONFIGURATION_SIZE 58
|
|
1952
|
+
#define BLUEOSSSOPROVISIONINGDATA_SIZE 99
|
|
1942
1953
|
#define BLUEOSSSOSETTINGS_SIZE 62
|
|
1943
1954
|
#define BLUEOSSSOSTORAGEPROFILE_SIZE 72
|
|
1944
1955
|
#define BLUEOSSSOVERSION_SIZE 12
|
package/nanopb/BlueSDK.pb.h
CHANGED
|
@@ -152,6 +152,7 @@ typedef struct BlueAccessDevice {
|
|
|
152
152
|
pb_callback_t objectName;
|
|
153
153
|
bool has_objectId;
|
|
154
154
|
int32_t objectId;
|
|
155
|
+
pb_callback_t deviceStatus;
|
|
155
156
|
} BlueAccessDevice_t;
|
|
156
157
|
|
|
157
158
|
typedef struct BlueAccessDeviceList {
|
|
@@ -342,7 +343,7 @@ extern "C" {
|
|
|
342
343
|
#define BLUEDEVICEINFO_INIT_DEFAULT {_BLUEDEVICETYPE_MIN, {{NULL}, NULL}, 0, false, BLUEBLEMANUFACTURERINFO_INIT_DEFAULT, 0, {BLUEDEVICEDETAILSBLUETOOTH_INIT_DEFAULT}}
|
|
343
344
|
#define BLUEIDENTITY_INIT_DEFAULT {{{NULL}, NULL}, _BLUECREDENTIALTYPE_MIN, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, false, BLUELOCALTIMESTAMP_INIT_DEFAULT, false, BLUELOCALTIMESTAMP_INIT_DEFAULT, {{NULL}, NULL}, {{NULL}, NULL}, 0, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
|
|
344
345
|
#define BLUEIDENTITIESLIST_INIT_DEFAULT {{{NULL}, NULL}}
|
|
345
|
-
#define BLUEACCESSDEVICE_INIT_DEFAULT {{{NULL}, NULL}, {{NULL}, NULL}, false, 0}
|
|
346
|
+
#define BLUEACCESSDEVICE_INIT_DEFAULT {{{NULL}, NULL}, {{NULL}, NULL}, false, 0, {{NULL}, NULL}}
|
|
346
347
|
#define BLUEACCESSDEVICELIST_INIT_DEFAULT {{{NULL}, NULL}}
|
|
347
348
|
#define BLUEACCESSOBJECT_INIT_DEFAULT {{{NULL}, NULL}, 0, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
|
|
348
349
|
#define BLUEACCESSOBJECTLIST_INIT_DEFAULT {{{NULL}, NULL}}
|
|
@@ -368,7 +369,7 @@ extern "C" {
|
|
|
368
369
|
#define BLUEDEVICEINFO_INIT_ZERO {_BLUEDEVICETYPE_MIN, {{NULL}, NULL}, 0, false, BLUEBLEMANUFACTURERINFO_INIT_ZERO, 0, {BLUEDEVICEDETAILSBLUETOOTH_INIT_ZERO}}
|
|
369
370
|
#define BLUEIDENTITY_INIT_ZERO {{{NULL}, NULL}, _BLUECREDENTIALTYPE_MIN, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, false, BLUELOCALTIMESTAMP_INIT_ZERO, false, BLUELOCALTIMESTAMP_INIT_ZERO, {{NULL}, NULL}, {{NULL}, NULL}, 0, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
|
|
370
371
|
#define BLUEIDENTITIESLIST_INIT_ZERO {{{NULL}, NULL}}
|
|
371
|
-
#define BLUEACCESSDEVICE_INIT_ZERO {{{NULL}, NULL}, {{NULL}, NULL}, false, 0}
|
|
372
|
+
#define BLUEACCESSDEVICE_INIT_ZERO {{{NULL}, NULL}, {{NULL}, NULL}, false, 0, {{NULL}, NULL}}
|
|
372
373
|
#define BLUEACCESSDEVICELIST_INIT_ZERO {{{NULL}, NULL}}
|
|
373
374
|
#define BLUEACCESSOBJECT_INIT_ZERO {{{NULL}, NULL}, 0, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
|
|
374
375
|
#define BLUEACCESSOBJECTLIST_INIT_ZERO {{{NULL}, NULL}}
|
|
@@ -489,6 +490,7 @@ extern "C" {
|
|
|
489
490
|
#define BLUEACCESSDEVICE_DEVICEID_TAG 1
|
|
490
491
|
#define BLUEACCESSDEVICE_OBJECTNAME_TAG 2
|
|
491
492
|
#define BLUEACCESSDEVICE_OBJECTID_TAG 3
|
|
493
|
+
#define BLUEACCESSDEVICE_DEVICESTATUS_TAG 4
|
|
492
494
|
#define BLUEACCESSDEVICELIST_DEVICES_TAG 1
|
|
493
495
|
#define BLUEACCESSOBJECT__ID_TAG 1
|
|
494
496
|
#define BLUEACCESSOBJECT_OBJECTID_TAG 2
|
|
@@ -682,7 +684,8 @@ X(a, CALLBACK, REPEATED, MESSAGE, identities, 1)
|
|
|
682
684
|
#define BLUEACCESSDEVICE_FIELDLIST(X, a) \
|
|
683
685
|
X(a, CALLBACK, REQUIRED, STRING, deviceId, 1) \
|
|
684
686
|
X(a, CALLBACK, OPTIONAL, STRING, objectName, 2) \
|
|
685
|
-
X(a, STATIC, OPTIONAL, INT32, objectId, 3)
|
|
687
|
+
X(a, STATIC, OPTIONAL, INT32, objectId, 3) \
|
|
688
|
+
X(a, CALLBACK, OPTIONAL, STRING, deviceStatus, 4)
|
|
686
689
|
#define BLUEACCESSDEVICE_CALLBACK pb_default_field_callback
|
|
687
690
|
#define BLUEACCESSDEVICE_DEFAULT NULL
|
|
688
691
|
|
package/package.json
CHANGED
package/swift/BlueCore.pb.swift
CHANGED
|
@@ -2669,6 +2669,16 @@ public struct BlueOssSoProvisioningConfiguration: Sendable {
|
|
|
2669
2669
|
/// Clears the value of `customerExtensionsSize`. Subsequent reads from it will return its default value.
|
|
2670
2670
|
public mutating func clearCustomerExtensionsSize() {self._customerExtensionsSize = nil}
|
|
2671
2671
|
|
|
2672
|
+
/// if it is true then create data file according to configuration. This will use to not create data file at all for emergency key
|
|
2673
|
+
public var hasData_p: Bool {
|
|
2674
|
+
get {return _hasData_p ?? true}
|
|
2675
|
+
set {_hasData_p = newValue}
|
|
2676
|
+
}
|
|
2677
|
+
/// Returns true if `hasData_p` has been explicitly set.
|
|
2678
|
+
public var hasHasData_p: Bool {return self._hasData_p != nil}
|
|
2679
|
+
/// Clears the value of `hasData_p`. Subsequent reads from it will return its default value.
|
|
2680
|
+
public mutating func clearHasData_p() {self._hasData_p = nil}
|
|
2681
|
+
|
|
2672
2682
|
public var unknownFields = SwiftProtobuf.UnknownStorage()
|
|
2673
2683
|
|
|
2674
2684
|
public init() {}
|
|
@@ -2681,6 +2691,7 @@ public struct BlueOssSoProvisioningConfiguration: Sendable {
|
|
|
2681
2691
|
fileprivate var _supportedEventIds: Data? = nil
|
|
2682
2692
|
fileprivate var _numberOfBlacklistEntries: UInt32? = nil
|
|
2683
2693
|
fileprivate var _customerExtensionsSize: UInt32? = nil
|
|
2694
|
+
fileprivate var _hasData_p: Bool? = nil
|
|
2684
2695
|
}
|
|
2685
2696
|
|
|
2686
2697
|
public struct BlueOssSoProvisioningData: Sendable {
|
|
@@ -2886,6 +2897,15 @@ public struct BlueOssSoMobileProvisioningConfiguration: Sendable {
|
|
|
2886
2897
|
/// Clears the value of `customerExtensionsSize`. Subsequent reads from it will return its default value.
|
|
2887
2898
|
public mutating func clearCustomerExtensionsSize() {self._customerExtensionsSize = nil}
|
|
2888
2899
|
|
|
2900
|
+
public var hasData_p: Bool {
|
|
2901
|
+
get {return _hasData_p ?? true}
|
|
2902
|
+
set {_hasData_p = newValue}
|
|
2903
|
+
}
|
|
2904
|
+
/// Returns true if `hasData_p` has been explicitly set.
|
|
2905
|
+
public var hasHasData_p: Bool {return self._hasData_p != nil}
|
|
2906
|
+
/// Clears the value of `hasData_p`. Subsequent reads from it will return its default value.
|
|
2907
|
+
public mutating func clearHasData_p() {self._hasData_p = nil}
|
|
2908
|
+
|
|
2889
2909
|
public var unknownFields = SwiftProtobuf.UnknownStorage()
|
|
2890
2910
|
|
|
2891
2911
|
public init() {}
|
|
@@ -2898,6 +2918,7 @@ public struct BlueOssSoMobileProvisioningConfiguration: Sendable {
|
|
|
2898
2918
|
fileprivate var _supportedEventIds: Data? = nil
|
|
2899
2919
|
fileprivate var _numberOfBlacklistEntries: UInt32? = nil
|
|
2900
2920
|
fileprivate var _customerExtensionsSize: UInt32? = nil
|
|
2921
|
+
fileprivate var _hasData_p: Bool? = nil
|
|
2901
2922
|
}
|
|
2902
2923
|
|
|
2903
2924
|
/// Default configuration from spec plus customer extensions spacing
|
|
@@ -2979,6 +3000,16 @@ public struct BlueOssSoMifareDesfireProvisioningConfiguration: Sendable {
|
|
|
2979
3000
|
/// Clears the value of `customerExtensionsSize`. Subsequent reads from it will return its default value.
|
|
2980
3001
|
public mutating func clearCustomerExtensionsSize() {self._customerExtensionsSize = nil}
|
|
2981
3002
|
|
|
3003
|
+
/// if it is true then create data file according to configuration. This will use to not create data file at all for emergency key
|
|
3004
|
+
public var hasData_p: Bool {
|
|
3005
|
+
get {return _hasData_p ?? true}
|
|
3006
|
+
set {_hasData_p = newValue}
|
|
3007
|
+
}
|
|
3008
|
+
/// Returns true if `hasData_p` has been explicitly set.
|
|
3009
|
+
public var hasHasData_p: Bool {return self._hasData_p != nil}
|
|
3010
|
+
/// Clears the value of `hasData_p`. Subsequent reads from it will return its default value.
|
|
3011
|
+
public mutating func clearHasData_p() {self._hasData_p = nil}
|
|
3012
|
+
|
|
2982
3013
|
public var unknownFields = SwiftProtobuf.UnknownStorage()
|
|
2983
3014
|
|
|
2984
3015
|
public init() {}
|
|
@@ -2991,6 +3022,7 @@ public struct BlueOssSoMifareDesfireProvisioningConfiguration: Sendable {
|
|
|
2991
3022
|
fileprivate var _supportedEventIds: Data? = nil
|
|
2992
3023
|
fileprivate var _numberOfBlacklistEntries: UInt32? = nil
|
|
2993
3024
|
fileprivate var _customerExtensionsSize: UInt32? = nil
|
|
3025
|
+
fileprivate var _hasData_p: Bool? = nil
|
|
2994
3026
|
}
|
|
2995
3027
|
|
|
2996
3028
|
/// Demo keys from spec
|
|
@@ -6007,7 +6039,7 @@ extension BlueOssSoStorageProfile: SwiftProtobuf.Message, SwiftProtobuf._Message
|
|
|
6007
6039
|
|
|
6008
6040
|
extension BlueOssSoProvisioningConfiguration: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
|
|
6009
6041
|
public static let protoMessageName: String = "BlueOssSoProvisioningConfiguration"
|
|
6010
|
-
public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}numberOfDoors\0\u{1}numberOfDTSchedules\0\u{1}numberOfDayIdsPerDTSchedule\0\u{1}numberOfTimePeriodsPerDayId\0\u{1}numberOfEvents\0\u{1}supportedEventIds\0\u{1}numberOfBlacklistEntries\0\u{1}customerExtensionsSize\0")
|
|
6042
|
+
public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}numberOfDoors\0\u{1}numberOfDTSchedules\0\u{1}numberOfDayIdsPerDTSchedule\0\u{1}numberOfTimePeriodsPerDayId\0\u{1}numberOfEvents\0\u{1}supportedEventIds\0\u{1}numberOfBlacklistEntries\0\u{1}customerExtensionsSize\0\u{3}has_data\0")
|
|
6011
6043
|
|
|
6012
6044
|
public var isInitialized: Bool {
|
|
6013
6045
|
if self._numberOfDoors == nil {return false}
|
|
@@ -6018,6 +6050,7 @@ extension BlueOssSoProvisioningConfiguration: SwiftProtobuf.Message, SwiftProtob
|
|
|
6018
6050
|
if self._supportedEventIds == nil {return false}
|
|
6019
6051
|
if self._numberOfBlacklistEntries == nil {return false}
|
|
6020
6052
|
if self._customerExtensionsSize == nil {return false}
|
|
6053
|
+
if self._hasData_p == nil {return false}
|
|
6021
6054
|
return true
|
|
6022
6055
|
}
|
|
6023
6056
|
|
|
@@ -6035,6 +6068,7 @@ extension BlueOssSoProvisioningConfiguration: SwiftProtobuf.Message, SwiftProtob
|
|
|
6035
6068
|
case 6: try { try decoder.decodeSingularBytesField(value: &self._supportedEventIds) }()
|
|
6036
6069
|
case 7: try { try decoder.decodeSingularUInt32Field(value: &self._numberOfBlacklistEntries) }()
|
|
6037
6070
|
case 8: try { try decoder.decodeSingularUInt32Field(value: &self._customerExtensionsSize) }()
|
|
6071
|
+
case 9: try { try decoder.decodeSingularBoolField(value: &self._hasData_p) }()
|
|
6038
6072
|
default: break
|
|
6039
6073
|
}
|
|
6040
6074
|
}
|
|
@@ -6069,6 +6103,9 @@ extension BlueOssSoProvisioningConfiguration: SwiftProtobuf.Message, SwiftProtob
|
|
|
6069
6103
|
try { if let v = self._customerExtensionsSize {
|
|
6070
6104
|
try visitor.visitSingularUInt32Field(value: v, fieldNumber: 8)
|
|
6071
6105
|
} }()
|
|
6106
|
+
try { if let v = self._hasData_p {
|
|
6107
|
+
try visitor.visitSingularBoolField(value: v, fieldNumber: 9)
|
|
6108
|
+
} }()
|
|
6072
6109
|
try unknownFields.traverse(visitor: &visitor)
|
|
6073
6110
|
}
|
|
6074
6111
|
|
|
@@ -6081,6 +6118,7 @@ extension BlueOssSoProvisioningConfiguration: SwiftProtobuf.Message, SwiftProtob
|
|
|
6081
6118
|
if lhs._supportedEventIds != rhs._supportedEventIds {return false}
|
|
6082
6119
|
if lhs._numberOfBlacklistEntries != rhs._numberOfBlacklistEntries {return false}
|
|
6083
6120
|
if lhs._customerExtensionsSize != rhs._customerExtensionsSize {return false}
|
|
6121
|
+
if lhs._hasData_p != rhs._hasData_p {return false}
|
|
6084
6122
|
if lhs.unknownFields != rhs.unknownFields {return false}
|
|
6085
6123
|
return true
|
|
6086
6124
|
}
|
|
@@ -6214,7 +6252,7 @@ extension BlueOssSoMobile: SwiftProtobuf.Message, SwiftProtobuf._MessageImplemen
|
|
|
6214
6252
|
|
|
6215
6253
|
extension BlueOssSoMobileProvisioningConfiguration: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
|
|
6216
6254
|
public static let protoMessageName: String = "BlueOssSoMobileProvisioningConfiguration"
|
|
6217
|
-
public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}numberOfDoors\0\u{1}numberOfDTSchedules\0\u{1}numberOfDayIdsPerDTSchedule\0\u{1}numberOfTimePeriodsPerDayId\0\u{1}numberOfEvents\0\u{1}supportedEventIds\0\u{1}numberOfBlacklistEntries\0\u{1}customerExtensionsSize\0")
|
|
6255
|
+
public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}numberOfDoors\0\u{1}numberOfDTSchedules\0\u{1}numberOfDayIdsPerDTSchedule\0\u{1}numberOfTimePeriodsPerDayId\0\u{1}numberOfEvents\0\u{1}supportedEventIds\0\u{1}numberOfBlacklistEntries\0\u{1}customerExtensionsSize\0\u{3}has_data\0")
|
|
6218
6256
|
|
|
6219
6257
|
public var isInitialized: Bool {
|
|
6220
6258
|
if self._numberOfDoors == nil {return false}
|
|
@@ -6225,6 +6263,7 @@ extension BlueOssSoMobileProvisioningConfiguration: SwiftProtobuf.Message, Swift
|
|
|
6225
6263
|
if self._supportedEventIds == nil {return false}
|
|
6226
6264
|
if self._numberOfBlacklistEntries == nil {return false}
|
|
6227
6265
|
if self._customerExtensionsSize == nil {return false}
|
|
6266
|
+
if self._hasData_p == nil {return false}
|
|
6228
6267
|
return true
|
|
6229
6268
|
}
|
|
6230
6269
|
|
|
@@ -6242,6 +6281,7 @@ extension BlueOssSoMobileProvisioningConfiguration: SwiftProtobuf.Message, Swift
|
|
|
6242
6281
|
case 6: try { try decoder.decodeSingularBytesField(value: &self._supportedEventIds) }()
|
|
6243
6282
|
case 7: try { try decoder.decodeSingularUInt32Field(value: &self._numberOfBlacklistEntries) }()
|
|
6244
6283
|
case 8: try { try decoder.decodeSingularUInt32Field(value: &self._customerExtensionsSize) }()
|
|
6284
|
+
case 9: try { try decoder.decodeSingularBoolField(value: &self._hasData_p) }()
|
|
6245
6285
|
default: break
|
|
6246
6286
|
}
|
|
6247
6287
|
}
|
|
@@ -6276,6 +6316,9 @@ extension BlueOssSoMobileProvisioningConfiguration: SwiftProtobuf.Message, Swift
|
|
|
6276
6316
|
try { if let v = self._customerExtensionsSize {
|
|
6277
6317
|
try visitor.visitSingularUInt32Field(value: v, fieldNumber: 8)
|
|
6278
6318
|
} }()
|
|
6319
|
+
try { if let v = self._hasData_p {
|
|
6320
|
+
try visitor.visitSingularBoolField(value: v, fieldNumber: 9)
|
|
6321
|
+
} }()
|
|
6279
6322
|
try unknownFields.traverse(visitor: &visitor)
|
|
6280
6323
|
}
|
|
6281
6324
|
|
|
@@ -6288,6 +6331,7 @@ extension BlueOssSoMobileProvisioningConfiguration: SwiftProtobuf.Message, Swift
|
|
|
6288
6331
|
if lhs._supportedEventIds != rhs._supportedEventIds {return false}
|
|
6289
6332
|
if lhs._numberOfBlacklistEntries != rhs._numberOfBlacklistEntries {return false}
|
|
6290
6333
|
if lhs._customerExtensionsSize != rhs._customerExtensionsSize {return false}
|
|
6334
|
+
if lhs._hasData_p != rhs._hasData_p {return false}
|
|
6291
6335
|
if lhs.unknownFields != rhs.unknownFields {return false}
|
|
6292
6336
|
return true
|
|
6293
6337
|
}
|
|
@@ -6295,7 +6339,7 @@ extension BlueOssSoMobileProvisioningConfiguration: SwiftProtobuf.Message, Swift
|
|
|
6295
6339
|
|
|
6296
6340
|
extension BlueOssSoMifareDesfireProvisioningConfiguration: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
|
|
6297
6341
|
public static let protoMessageName: String = "BlueOssSoMifareDesfireProvisioningConfiguration"
|
|
6298
|
-
public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}numberOfDoors\0\u{1}numberOfDTSchedules\0\u{1}numberOfDayIdsPerDTSchedule\0\u{1}numberOfTimePeriodsPerDayId\0\u{1}numberOfEvents\0\u{1}supportedEventIds\0\u{1}numberOfBlacklistEntries\0\u{1}customerExtensionsSize\0")
|
|
6342
|
+
public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}numberOfDoors\0\u{1}numberOfDTSchedules\0\u{1}numberOfDayIdsPerDTSchedule\0\u{1}numberOfTimePeriodsPerDayId\0\u{1}numberOfEvents\0\u{1}supportedEventIds\0\u{1}numberOfBlacklistEntries\0\u{1}customerExtensionsSize\0\u{3}has_data\0")
|
|
6299
6343
|
|
|
6300
6344
|
public var isInitialized: Bool {
|
|
6301
6345
|
if self._numberOfDoors == nil {return false}
|
|
@@ -6306,6 +6350,7 @@ extension BlueOssSoMifareDesfireProvisioningConfiguration: SwiftProtobuf.Message
|
|
|
6306
6350
|
if self._supportedEventIds == nil {return false}
|
|
6307
6351
|
if self._numberOfBlacklistEntries == nil {return false}
|
|
6308
6352
|
if self._customerExtensionsSize == nil {return false}
|
|
6353
|
+
if self._hasData_p == nil {return false}
|
|
6309
6354
|
return true
|
|
6310
6355
|
}
|
|
6311
6356
|
|
|
@@ -6323,6 +6368,7 @@ extension BlueOssSoMifareDesfireProvisioningConfiguration: SwiftProtobuf.Message
|
|
|
6323
6368
|
case 6: try { try decoder.decodeSingularBytesField(value: &self._supportedEventIds) }()
|
|
6324
6369
|
case 7: try { try decoder.decodeSingularUInt32Field(value: &self._numberOfBlacklistEntries) }()
|
|
6325
6370
|
case 8: try { try decoder.decodeSingularUInt32Field(value: &self._customerExtensionsSize) }()
|
|
6371
|
+
case 9: try { try decoder.decodeSingularBoolField(value: &self._hasData_p) }()
|
|
6326
6372
|
default: break
|
|
6327
6373
|
}
|
|
6328
6374
|
}
|
|
@@ -6357,6 +6403,9 @@ extension BlueOssSoMifareDesfireProvisioningConfiguration: SwiftProtobuf.Message
|
|
|
6357
6403
|
try { if let v = self._customerExtensionsSize {
|
|
6358
6404
|
try visitor.visitSingularUInt32Field(value: v, fieldNumber: 8)
|
|
6359
6405
|
} }()
|
|
6406
|
+
try { if let v = self._hasData_p {
|
|
6407
|
+
try visitor.visitSingularBoolField(value: v, fieldNumber: 9)
|
|
6408
|
+
} }()
|
|
6360
6409
|
try unknownFields.traverse(visitor: &visitor)
|
|
6361
6410
|
}
|
|
6362
6411
|
|
|
@@ -6369,6 +6418,7 @@ extension BlueOssSoMifareDesfireProvisioningConfiguration: SwiftProtobuf.Message
|
|
|
6369
6418
|
if lhs._supportedEventIds != rhs._supportedEventIds {return false}
|
|
6370
6419
|
if lhs._numberOfBlacklistEntries != rhs._numberOfBlacklistEntries {return false}
|
|
6371
6420
|
if lhs._customerExtensionsSize != rhs._customerExtensionsSize {return false}
|
|
6421
|
+
if lhs._hasData_p != rhs._hasData_p {return false}
|
|
6372
6422
|
if lhs.unknownFields != rhs.unknownFields {return false}
|
|
6373
6423
|
return true
|
|
6374
6424
|
}
|
package/swift/BlueSDK.pb.swift
CHANGED
|
@@ -1031,6 +1031,15 @@ public struct BlueAccessDevice: Sendable {
|
|
|
1031
1031
|
/// Clears the value of `objectID`. Subsequent reads from it will return its default value.
|
|
1032
1032
|
public mutating func clearObjectID() {self._objectID = nil}
|
|
1033
1033
|
|
|
1034
|
+
public var deviceStatus: String {
|
|
1035
|
+
get {return _deviceStatus ?? String()}
|
|
1036
|
+
set {_deviceStatus = newValue}
|
|
1037
|
+
}
|
|
1038
|
+
/// Returns true if `deviceStatus` has been explicitly set.
|
|
1039
|
+
public var hasDeviceStatus: Bool {return self._deviceStatus != nil}
|
|
1040
|
+
/// Clears the value of `deviceStatus`. Subsequent reads from it will return its default value.
|
|
1041
|
+
public mutating func clearDeviceStatus() {self._deviceStatus = nil}
|
|
1042
|
+
|
|
1034
1043
|
public var unknownFields = SwiftProtobuf.UnknownStorage()
|
|
1035
1044
|
|
|
1036
1045
|
public init() {}
|
|
@@ -1038,6 +1047,7 @@ public struct BlueAccessDevice: Sendable {
|
|
|
1038
1047
|
fileprivate var _deviceID: String? = nil
|
|
1039
1048
|
fileprivate var _objectName: String? = nil
|
|
1040
1049
|
fileprivate var _objectID: Int32? = nil
|
|
1050
|
+
fileprivate var _deviceStatus: String? = nil
|
|
1041
1051
|
}
|
|
1042
1052
|
|
|
1043
1053
|
public struct BlueAccessDeviceList: Sendable {
|
|
@@ -2808,7 +2818,7 @@ extension BlueIdentitiesList: SwiftProtobuf.Message, SwiftProtobuf._MessageImple
|
|
|
2808
2818
|
|
|
2809
2819
|
extension BlueAccessDevice: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
|
|
2810
2820
|
public static let protoMessageName: String = "BlueAccessDevice"
|
|
2811
|
-
public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}deviceId\0\u{1}objectName\0\u{1}objectId\0")
|
|
2821
|
+
public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}deviceId\0\u{1}objectName\0\u{1}objectId\0\u{1}deviceStatus\0")
|
|
2812
2822
|
|
|
2813
2823
|
public var isInitialized: Bool {
|
|
2814
2824
|
if self._deviceID == nil {return false}
|
|
@@ -2824,6 +2834,7 @@ extension BlueAccessDevice: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme
|
|
|
2824
2834
|
case 1: try { try decoder.decodeSingularStringField(value: &self._deviceID) }()
|
|
2825
2835
|
case 2: try { try decoder.decodeSingularStringField(value: &self._objectName) }()
|
|
2826
2836
|
case 3: try { try decoder.decodeSingularInt32Field(value: &self._objectID) }()
|
|
2837
|
+
case 4: try { try decoder.decodeSingularStringField(value: &self._deviceStatus) }()
|
|
2827
2838
|
default: break
|
|
2828
2839
|
}
|
|
2829
2840
|
}
|
|
@@ -2843,6 +2854,9 @@ extension BlueAccessDevice: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme
|
|
|
2843
2854
|
try { if let v = self._objectID {
|
|
2844
2855
|
try visitor.visitSingularInt32Field(value: v, fieldNumber: 3)
|
|
2845
2856
|
} }()
|
|
2857
|
+
try { if let v = self._deviceStatus {
|
|
2858
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 4)
|
|
2859
|
+
} }()
|
|
2846
2860
|
try unknownFields.traverse(visitor: &visitor)
|
|
2847
2861
|
}
|
|
2848
2862
|
|
|
@@ -2850,6 +2864,7 @@ extension BlueAccessDevice: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme
|
|
|
2850
2864
|
if lhs._deviceID != rhs._deviceID {return false}
|
|
2851
2865
|
if lhs._objectName != rhs._objectName {return false}
|
|
2852
2866
|
if lhs._objectID != rhs._objectID {return false}
|
|
2867
|
+
if lhs._deviceStatus != rhs._deviceStatus {return false}
|
|
2853
2868
|
if lhs.unknownFields != rhs.unknownFields {return false}
|
|
2854
2869
|
return true
|
|
2855
2870
|
}
|