@blueid/access-proto 2.12.0 → 2.18.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 +9 -0
- package/BlueSDK.proto +6 -4
- package/BlueSystem.proto +10 -0
- package/cjs/BlueCore_pb.d.ts +31 -0
- package/cjs/BlueCore_pb.js +11 -1
- package/cjs/BlueSDK_pb.d.ts +5 -0
- package/cjs/BlueSDK_pb.js +1 -0
- package/cjs/BlueSystem_pb.d.ts +58 -0
- package/cjs/BlueSystem_pb.js +40 -0
- package/es/BlueCore_pb.d.ts +31 -0
- package/es/BlueCore_pb.js +13 -0
- package/es/BlueSDK_pb.d.ts +5 -0
- package/es/BlueSDK_pb.js +1 -0
- package/es/BlueSystem_pb.d.ts +58 -0
- package/es/BlueSystem_pb.js +22 -0
- package/nanopb/BlueCore.pb.c +1 -0
- package/nanopb/BlueCore.pb.h +14 -3
- package/nanopb/BlueSDK.pb.h +6 -3
- package/nanopb/BlueSystem.pb.c +6 -0
- package/nanopb/BlueSystem.pb.h +37 -0
- package/package.json +1 -1
- package/swift/BlueCore.pb.swift +47 -0
- package/swift/BlueSDK.pb.swift +18 -0
- package/swift/BlueSystem.pb.swift +158 -0
package/BlueCore.proto
CHANGED
|
@@ -325,6 +325,7 @@ enum BlueHardwareType {
|
|
|
325
325
|
DoorHandleLock = 4;
|
|
326
326
|
WallReader = 5;
|
|
327
327
|
Kiosk = 6;
|
|
328
|
+
CylinderLockCompact = 7;
|
|
328
329
|
}
|
|
329
330
|
|
|
330
331
|
enum BlueBatteryLevel {
|
|
@@ -878,6 +879,14 @@ message BlueOssSoMobileProvisioningConfiguration {
|
|
|
878
879
|
required uint32 customerExtensionsSize = 8 [ default = 32 ];
|
|
879
880
|
}
|
|
880
881
|
|
|
882
|
+
enum BlueOssSoWriteStatus {
|
|
883
|
+
option (nanopb_enumopt).packed_enum = true;
|
|
884
|
+
|
|
885
|
+
WritableByAnyOrg = 0; // transponder is writable with the default DES master key.
|
|
886
|
+
WritableBySpecificOrg = 1; // transponder is writable with the organization's specific master key.
|
|
887
|
+
NotWritable = 2; // transponder cannot be written.
|
|
888
|
+
}
|
|
889
|
+
|
|
881
890
|
//
|
|
882
891
|
// Oss So Mifare
|
|
883
892
|
//
|
package/BlueSDK.proto
CHANGED
|
@@ -27,10 +27,12 @@ message BlueI18n {
|
|
|
27
27
|
[ default = "Transponder was successfully formatted" ];
|
|
28
28
|
required string nfcInitializingWritingProcess = 9
|
|
29
29
|
[ default = "Initializing writing process" ];
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
30
|
+
required string nfcTransponderConnected = 100
|
|
31
|
+
[ default = "Transponder Connected" ];
|
|
32
|
+
required string nfcTransponderDisconnected = 101
|
|
33
|
+
[ default = "Transponder was disconnected" ];
|
|
34
|
+
required string nfcTransponderSuccessReadMessage = 102
|
|
35
|
+
[ default = "Transponder was successfully read" ];
|
|
34
36
|
|
|
35
37
|
|
|
36
38
|
required string openViaOssTitle = 10
|
package/BlueSystem.proto
CHANGED
|
@@ -139,6 +139,16 @@ message BlueOssConfig {
|
|
|
139
139
|
required uint32 soMifareAid = 8 [ default = 16076800 ];
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
+
message BlueSystemAVRUpdate {
|
|
143
|
+
required bytes data = 1 [ (nanopb).max_size = 800 ];
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
message BlueSystemAVRInfo {
|
|
147
|
+
required uint32 vermaj = 1 [ (nanopb).int_size = IS_8 ];
|
|
148
|
+
required uint32 vermin = 2 [ (nanopb).int_size = IS_8 ];
|
|
149
|
+
required uint32 buildnr = 3 [ (nanopb).int_size = IS_8 ];
|
|
150
|
+
}
|
|
151
|
+
|
|
142
152
|
message BlueSystemConfig {
|
|
143
153
|
required string configId = 1 [ (nanopb).max_length = 8 ];
|
|
144
154
|
// -- Base
|
package/cjs/BlueCore_pb.d.ts
CHANGED
|
@@ -771,6 +771,11 @@ export declare enum BlueHardwareType {
|
|
|
771
771
|
* @generated from enum value: Kiosk = 6;
|
|
772
772
|
*/
|
|
773
773
|
Kiosk = 6,
|
|
774
|
+
|
|
775
|
+
/**
|
|
776
|
+
* @generated from enum value: CylinderLockCompact = 7;
|
|
777
|
+
*/
|
|
778
|
+
CylinderLockCompact = 7,
|
|
774
779
|
}
|
|
775
780
|
|
|
776
781
|
/**
|
|
@@ -1078,6 +1083,32 @@ export declare enum BlueOssSoFileId {
|
|
|
1078
1083
|
CustomerExtensions = 4,
|
|
1079
1084
|
}
|
|
1080
1085
|
|
|
1086
|
+
/**
|
|
1087
|
+
* @generated from enum BlueOssSoWriteStatus
|
|
1088
|
+
*/
|
|
1089
|
+
export declare enum BlueOssSoWriteStatus {
|
|
1090
|
+
/**
|
|
1091
|
+
* transponder is writable with the default DES master key.
|
|
1092
|
+
*
|
|
1093
|
+
* @generated from enum value: WritableByAnyOrg = 0;
|
|
1094
|
+
*/
|
|
1095
|
+
WritableByAnyOrg = 0,
|
|
1096
|
+
|
|
1097
|
+
/**
|
|
1098
|
+
* transponder is writable with the organization's specific master key.
|
|
1099
|
+
*
|
|
1100
|
+
* @generated from enum value: WritableBySpecificOrg = 1;
|
|
1101
|
+
*/
|
|
1102
|
+
WritableBySpecificOrg = 1,
|
|
1103
|
+
|
|
1104
|
+
/**
|
|
1105
|
+
* transponder cannot be written.
|
|
1106
|
+
*
|
|
1107
|
+
* @generated from enum value: NotWritable = 2;
|
|
1108
|
+
*/
|
|
1109
|
+
NotWritable = 2,
|
|
1110
|
+
}
|
|
1111
|
+
|
|
1081
1112
|
/**
|
|
1082
1113
|
* @generated from message BlueSharedDemoData
|
|
1083
1114
|
*/
|
package/cjs/BlueCore_pb.js
CHANGED
|
@@ -77,6 +77,7 @@ __export(BlueCore_pb_exports, {
|
|
|
77
77
|
BlueOssSoSettings: () => BlueOssSoSettings,
|
|
78
78
|
BlueOssSoStorageProfile: () => BlueOssSoStorageProfile,
|
|
79
79
|
BlueOssSoVersion: () => BlueOssSoVersion,
|
|
80
|
+
BlueOssSoWriteStatus: () => BlueOssSoWriteStatus,
|
|
80
81
|
BlueReturnCode: () => BlueReturnCode,
|
|
81
82
|
BlueSPHandshake: () => BlueSPHandshake,
|
|
82
83
|
BlueSPHandshakeReply: () => BlueSPHandshakeReply,
|
|
@@ -261,7 +262,8 @@ const BlueHardwareType = import_protobuf.proto2.makeEnum(
|
|
|
261
262
|
{ no: 3, name: "CylinderLock" },
|
|
262
263
|
{ no: 4, name: "DoorHandleLock" },
|
|
263
264
|
{ no: 5, name: "WallReader" },
|
|
264
|
-
{ no: 6, name: "Kiosk" }
|
|
265
|
+
{ no: 6, name: "Kiosk" },
|
|
266
|
+
{ no: 7, name: "CylinderLockCompact" }
|
|
265
267
|
]
|
|
266
268
|
);
|
|
267
269
|
const BlueBatteryLevel = import_protobuf.proto2.makeEnum(
|
|
@@ -355,6 +357,14 @@ const BlueOssSoFileId = import_protobuf.proto2.makeEnum(
|
|
|
355
357
|
{ no: 4, name: "CustomerExtensions" }
|
|
356
358
|
]
|
|
357
359
|
);
|
|
360
|
+
const BlueOssSoWriteStatus = import_protobuf.proto2.makeEnum(
|
|
361
|
+
"BlueOssSoWriteStatus",
|
|
362
|
+
[
|
|
363
|
+
{ no: 0, name: "WritableByAnyOrg" },
|
|
364
|
+
{ no: 1, name: "WritableBySpecificOrg" },
|
|
365
|
+
{ no: 2, name: "NotWritable" }
|
|
366
|
+
]
|
|
367
|
+
);
|
|
358
368
|
const BlueSharedDemoData = import_protobuf.proto2.makeMessageType(
|
|
359
369
|
"BlueSharedDemoData",
|
|
360
370
|
() => [
|
package/cjs/BlueSDK_pb.d.ts
CHANGED
|
@@ -107,6 +107,11 @@ export declare class BlueI18n extends Message<BlueI18n> {
|
|
|
107
107
|
*/
|
|
108
108
|
nfcTransponderDisconnected: string;
|
|
109
109
|
|
|
110
|
+
/**
|
|
111
|
+
* @generated from field: required string nfcTransponderSuccessReadMessage = 102 [default = "Transponder was successfully read"];
|
|
112
|
+
*/
|
|
113
|
+
nfcTransponderSuccessReadMessage: string;
|
|
114
|
+
|
|
110
115
|
/**
|
|
111
116
|
* @generated from field: required string openViaOssTitle = 10 [default = "Unlocking in Progress"];
|
|
112
117
|
*/
|
package/cjs/BlueSDK_pb.js
CHANGED
|
@@ -78,6 +78,7 @@ const BlueI18n = import_protobuf.proto2.makeMessageType(
|
|
|
78
78
|
{ no: 9, name: "nfcInitializingWritingProcess", kind: "scalar", T: 9, default: "Initializing writing process" },
|
|
79
79
|
{ no: 100, name: "nfcTransponderConnected", kind: "scalar", T: 9, default: "Transponder Connected" },
|
|
80
80
|
{ no: 101, name: "nfcTransponderDisconnected", kind: "scalar", T: 9, default: "Transponder was disconnected" },
|
|
81
|
+
{ no: 102, name: "nfcTransponderSuccessReadMessage", kind: "scalar", T: 9, default: "Transponder was successfully read" },
|
|
81
82
|
{ no: 10, name: "openViaOssTitle", kind: "scalar", T: 9, default: "Unlocking in Progress" },
|
|
82
83
|
{ no: 11, name: "openViaOssWaitMessage", kind: "scalar", T: 9, default: "Establishing secure connection..." },
|
|
83
84
|
{ no: 12, name: "openViaOssAccessGrantedTitle", kind: "scalar", T: 9, default: "Access Granted" },
|
package/cjs/BlueSystem_pb.d.ts
CHANGED
|
@@ -333,6 +333,64 @@ export declare class BlueOssConfig extends Message<BlueOssConfig> {
|
|
|
333
333
|
static equals(a: BlueOssConfig | PlainMessage<BlueOssConfig> | undefined, b: BlueOssConfig | PlainMessage<BlueOssConfig> | undefined): boolean;
|
|
334
334
|
}
|
|
335
335
|
|
|
336
|
+
/**
|
|
337
|
+
* @generated from message BlueSystemAVRUpdate
|
|
338
|
+
*/
|
|
339
|
+
export declare class BlueSystemAVRUpdate extends Message<BlueSystemAVRUpdate> {
|
|
340
|
+
/**
|
|
341
|
+
* @generated from field: required bytes data = 1;
|
|
342
|
+
*/
|
|
343
|
+
data: Uint8Array;
|
|
344
|
+
|
|
345
|
+
constructor(data?: PartialMessage<BlueSystemAVRUpdate>);
|
|
346
|
+
|
|
347
|
+
static readonly runtime: typeof proto2;
|
|
348
|
+
static readonly typeName = "BlueSystemAVRUpdate";
|
|
349
|
+
static readonly fields: FieldList;
|
|
350
|
+
|
|
351
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueSystemAVRUpdate;
|
|
352
|
+
|
|
353
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueSystemAVRUpdate;
|
|
354
|
+
|
|
355
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueSystemAVRUpdate;
|
|
356
|
+
|
|
357
|
+
static equals(a: BlueSystemAVRUpdate | PlainMessage<BlueSystemAVRUpdate> | undefined, b: BlueSystemAVRUpdate | PlainMessage<BlueSystemAVRUpdate> | undefined): boolean;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
/**
|
|
361
|
+
* @generated from message BlueSystemAVRInfo
|
|
362
|
+
*/
|
|
363
|
+
export declare class BlueSystemAVRInfo extends Message<BlueSystemAVRInfo> {
|
|
364
|
+
/**
|
|
365
|
+
* @generated from field: required uint32 vermaj = 1;
|
|
366
|
+
*/
|
|
367
|
+
vermaj: number;
|
|
368
|
+
|
|
369
|
+
/**
|
|
370
|
+
* @generated from field: required uint32 vermin = 2;
|
|
371
|
+
*/
|
|
372
|
+
vermin: number;
|
|
373
|
+
|
|
374
|
+
/**
|
|
375
|
+
* @generated from field: required uint32 buildnr = 3;
|
|
376
|
+
*/
|
|
377
|
+
buildnr: number;
|
|
378
|
+
|
|
379
|
+
constructor(data?: PartialMessage<BlueSystemAVRInfo>);
|
|
380
|
+
|
|
381
|
+
static readonly runtime: typeof proto2;
|
|
382
|
+
static readonly typeName = "BlueSystemAVRInfo";
|
|
383
|
+
static readonly fields: FieldList;
|
|
384
|
+
|
|
385
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueSystemAVRInfo;
|
|
386
|
+
|
|
387
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueSystemAVRInfo;
|
|
388
|
+
|
|
389
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueSystemAVRInfo;
|
|
390
|
+
|
|
391
|
+
static equals(a: BlueSystemAVRInfo | PlainMessage<BlueSystemAVRInfo> | undefined, b: BlueSystemAVRInfo | PlainMessage<BlueSystemAVRInfo> | undefined): boolean;
|
|
392
|
+
}
|
|
393
|
+
|
|
336
394
|
/**
|
|
337
395
|
* @generated from message BlueSystemConfig
|
|
338
396
|
*/
|
package/cjs/BlueSystem_pb.js
CHANGED
|
@@ -26,6 +26,8 @@ __export(BlueSystem_pb_exports, {
|
|
|
26
26
|
BlueEventLogResult: () => BlueEventLogResult,
|
|
27
27
|
BlueOnlineConfig: () => BlueOnlineConfig,
|
|
28
28
|
BlueOssConfig: () => BlueOssConfig,
|
|
29
|
+
BlueSystemAVRInfo: () => BlueSystemAVRInfo,
|
|
30
|
+
BlueSystemAVRUpdate: () => BlueSystemAVRUpdate,
|
|
29
31
|
BlueSystemConfig: () => BlueSystemConfig,
|
|
30
32
|
BlueSystemLogEntry: () => BlueSystemLogEntry,
|
|
31
33
|
BlueSystemLogQuery: () => BlueSystemLogQuery,
|
|
@@ -135,6 +137,44 @@ const BlueOssConfig = import_protobuf.proto2.makeMessageType(
|
|
|
135
137
|
{ no: 8, name: "soMifareAid", kind: "scalar", T: 13, default: 16076800 }
|
|
136
138
|
]
|
|
137
139
|
);
|
|
140
|
+
const BlueSystemAVRUpdate = import_protobuf.proto2.makeMessageType(
|
|
141
|
+
"BlueSystemAVRUpdate",
|
|
142
|
+
() => [
|
|
143
|
+
{
|
|
144
|
+
no: 1,
|
|
145
|
+
name: "data",
|
|
146
|
+
kind: "scalar",
|
|
147
|
+
T: 12
|
|
148
|
+
/* ScalarType.BYTES */
|
|
149
|
+
}
|
|
150
|
+
]
|
|
151
|
+
);
|
|
152
|
+
const BlueSystemAVRInfo = import_protobuf.proto2.makeMessageType(
|
|
153
|
+
"BlueSystemAVRInfo",
|
|
154
|
+
() => [
|
|
155
|
+
{
|
|
156
|
+
no: 1,
|
|
157
|
+
name: "vermaj",
|
|
158
|
+
kind: "scalar",
|
|
159
|
+
T: 13
|
|
160
|
+
/* ScalarType.UINT32 */
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
no: 2,
|
|
164
|
+
name: "vermin",
|
|
165
|
+
kind: "scalar",
|
|
166
|
+
T: 13
|
|
167
|
+
/* ScalarType.UINT32 */
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
no: 3,
|
|
171
|
+
name: "buildnr",
|
|
172
|
+
kind: "scalar",
|
|
173
|
+
T: 13
|
|
174
|
+
/* ScalarType.UINT32 */
|
|
175
|
+
}
|
|
176
|
+
]
|
|
177
|
+
);
|
|
138
178
|
const BlueSystemConfig = import_protobuf.proto2.makeMessageType(
|
|
139
179
|
"BlueSystemConfig",
|
|
140
180
|
() => [
|
package/es/BlueCore_pb.d.ts
CHANGED
|
@@ -771,6 +771,11 @@ export declare enum BlueHardwareType {
|
|
|
771
771
|
* @generated from enum value: Kiosk = 6;
|
|
772
772
|
*/
|
|
773
773
|
Kiosk = 6,
|
|
774
|
+
|
|
775
|
+
/**
|
|
776
|
+
* @generated from enum value: CylinderLockCompact = 7;
|
|
777
|
+
*/
|
|
778
|
+
CylinderLockCompact = 7,
|
|
774
779
|
}
|
|
775
780
|
|
|
776
781
|
/**
|
|
@@ -1078,6 +1083,32 @@ export declare enum BlueOssSoFileId {
|
|
|
1078
1083
|
CustomerExtensions = 4,
|
|
1079
1084
|
}
|
|
1080
1085
|
|
|
1086
|
+
/**
|
|
1087
|
+
* @generated from enum BlueOssSoWriteStatus
|
|
1088
|
+
*/
|
|
1089
|
+
export declare enum BlueOssSoWriteStatus {
|
|
1090
|
+
/**
|
|
1091
|
+
* transponder is writable with the default DES master key.
|
|
1092
|
+
*
|
|
1093
|
+
* @generated from enum value: WritableByAnyOrg = 0;
|
|
1094
|
+
*/
|
|
1095
|
+
WritableByAnyOrg = 0,
|
|
1096
|
+
|
|
1097
|
+
/**
|
|
1098
|
+
* transponder is writable with the organization's specific master key.
|
|
1099
|
+
*
|
|
1100
|
+
* @generated from enum value: WritableBySpecificOrg = 1;
|
|
1101
|
+
*/
|
|
1102
|
+
WritableBySpecificOrg = 1,
|
|
1103
|
+
|
|
1104
|
+
/**
|
|
1105
|
+
* transponder cannot be written.
|
|
1106
|
+
*
|
|
1107
|
+
* @generated from enum value: NotWritable = 2;
|
|
1108
|
+
*/
|
|
1109
|
+
NotWritable = 2,
|
|
1110
|
+
}
|
|
1111
|
+
|
|
1081
1112
|
/**
|
|
1082
1113
|
* @generated from message BlueSharedDemoData
|
|
1083
1114
|
*/
|
package/es/BlueCore_pb.js
CHANGED
|
@@ -207,6 +207,7 @@ export const BlueHardwareType = proto2.makeEnum(
|
|
|
207
207
|
{no: 4, name: "DoorHandleLock"},
|
|
208
208
|
{no: 5, name: "WallReader"},
|
|
209
209
|
{no: 6, name: "Kiosk"},
|
|
210
|
+
{no: 7, name: "CylinderLockCompact"},
|
|
210
211
|
],
|
|
211
212
|
);
|
|
212
213
|
|
|
@@ -337,6 +338,18 @@ export const BlueOssSoFileId = proto2.makeEnum(
|
|
|
337
338
|
],
|
|
338
339
|
);
|
|
339
340
|
|
|
341
|
+
/**
|
|
342
|
+
* @generated from enum BlueOssSoWriteStatus
|
|
343
|
+
*/
|
|
344
|
+
export const BlueOssSoWriteStatus = proto2.makeEnum(
|
|
345
|
+
"BlueOssSoWriteStatus",
|
|
346
|
+
[
|
|
347
|
+
{no: 0, name: "WritableByAnyOrg"},
|
|
348
|
+
{no: 1, name: "WritableBySpecificOrg"},
|
|
349
|
+
{no: 2, name: "NotWritable"},
|
|
350
|
+
],
|
|
351
|
+
);
|
|
352
|
+
|
|
340
353
|
/**
|
|
341
354
|
* @generated from message BlueSharedDemoData
|
|
342
355
|
*/
|
package/es/BlueSDK_pb.d.ts
CHANGED
|
@@ -107,6 +107,11 @@ export declare class BlueI18n extends Message<BlueI18n> {
|
|
|
107
107
|
*/
|
|
108
108
|
nfcTransponderDisconnected: string;
|
|
109
109
|
|
|
110
|
+
/**
|
|
111
|
+
* @generated from field: required string nfcTransponderSuccessReadMessage = 102 [default = "Transponder was successfully read"];
|
|
112
|
+
*/
|
|
113
|
+
nfcTransponderSuccessReadMessage: string;
|
|
114
|
+
|
|
110
115
|
/**
|
|
111
116
|
* @generated from field: required string openViaOssTitle = 10 [default = "Unlocking in Progress"];
|
|
112
117
|
*/
|
package/es/BlueSDK_pb.js
CHANGED
|
@@ -48,6 +48,7 @@ export const BlueI18n = proto2.makeMessageType(
|
|
|
48
48
|
{ no: 9, name: "nfcInitializingWritingProcess", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Initializing writing process" },
|
|
49
49
|
{ no: 100, name: "nfcTransponderConnected", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Transponder Connected" },
|
|
50
50
|
{ no: 101, name: "nfcTransponderDisconnected", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Transponder was disconnected" },
|
|
51
|
+
{ no: 102, name: "nfcTransponderSuccessReadMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Transponder was successfully read" },
|
|
51
52
|
{ no: 10, name: "openViaOssTitle", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Unlocking in Progress" },
|
|
52
53
|
{ no: 11, name: "openViaOssWaitMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Establishing secure connection..." },
|
|
53
54
|
{ no: 12, name: "openViaOssAccessGrantedTitle", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Access Granted" },
|
package/es/BlueSystem_pb.d.ts
CHANGED
|
@@ -333,6 +333,64 @@ export declare class BlueOssConfig extends Message<BlueOssConfig> {
|
|
|
333
333
|
static equals(a: BlueOssConfig | PlainMessage<BlueOssConfig> | undefined, b: BlueOssConfig | PlainMessage<BlueOssConfig> | undefined): boolean;
|
|
334
334
|
}
|
|
335
335
|
|
|
336
|
+
/**
|
|
337
|
+
* @generated from message BlueSystemAVRUpdate
|
|
338
|
+
*/
|
|
339
|
+
export declare class BlueSystemAVRUpdate extends Message<BlueSystemAVRUpdate> {
|
|
340
|
+
/**
|
|
341
|
+
* @generated from field: required bytes data = 1;
|
|
342
|
+
*/
|
|
343
|
+
data: Uint8Array;
|
|
344
|
+
|
|
345
|
+
constructor(data?: PartialMessage<BlueSystemAVRUpdate>);
|
|
346
|
+
|
|
347
|
+
static readonly runtime: typeof proto2;
|
|
348
|
+
static readonly typeName = "BlueSystemAVRUpdate";
|
|
349
|
+
static readonly fields: FieldList;
|
|
350
|
+
|
|
351
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueSystemAVRUpdate;
|
|
352
|
+
|
|
353
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueSystemAVRUpdate;
|
|
354
|
+
|
|
355
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueSystemAVRUpdate;
|
|
356
|
+
|
|
357
|
+
static equals(a: BlueSystemAVRUpdate | PlainMessage<BlueSystemAVRUpdate> | undefined, b: BlueSystemAVRUpdate | PlainMessage<BlueSystemAVRUpdate> | undefined): boolean;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
/**
|
|
361
|
+
* @generated from message BlueSystemAVRInfo
|
|
362
|
+
*/
|
|
363
|
+
export declare class BlueSystemAVRInfo extends Message<BlueSystemAVRInfo> {
|
|
364
|
+
/**
|
|
365
|
+
* @generated from field: required uint32 vermaj = 1;
|
|
366
|
+
*/
|
|
367
|
+
vermaj: number;
|
|
368
|
+
|
|
369
|
+
/**
|
|
370
|
+
* @generated from field: required uint32 vermin = 2;
|
|
371
|
+
*/
|
|
372
|
+
vermin: number;
|
|
373
|
+
|
|
374
|
+
/**
|
|
375
|
+
* @generated from field: required uint32 buildnr = 3;
|
|
376
|
+
*/
|
|
377
|
+
buildnr: number;
|
|
378
|
+
|
|
379
|
+
constructor(data?: PartialMessage<BlueSystemAVRInfo>);
|
|
380
|
+
|
|
381
|
+
static readonly runtime: typeof proto2;
|
|
382
|
+
static readonly typeName = "BlueSystemAVRInfo";
|
|
383
|
+
static readonly fields: FieldList;
|
|
384
|
+
|
|
385
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueSystemAVRInfo;
|
|
386
|
+
|
|
387
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueSystemAVRInfo;
|
|
388
|
+
|
|
389
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueSystemAVRInfo;
|
|
390
|
+
|
|
391
|
+
static equals(a: BlueSystemAVRInfo | PlainMessage<BlueSystemAVRInfo> | undefined, b: BlueSystemAVRInfo | PlainMessage<BlueSystemAVRInfo> | undefined): boolean;
|
|
392
|
+
}
|
|
393
|
+
|
|
336
394
|
/**
|
|
337
395
|
* @generated from message BlueSystemConfig
|
|
338
396
|
*/
|
package/es/BlueSystem_pb.js
CHANGED
|
@@ -94,6 +94,28 @@ export const BlueOssConfig = proto2.makeMessageType(
|
|
|
94
94
|
],
|
|
95
95
|
);
|
|
96
96
|
|
|
97
|
+
/**
|
|
98
|
+
* @generated from message BlueSystemAVRUpdate
|
|
99
|
+
*/
|
|
100
|
+
export const BlueSystemAVRUpdate = proto2.makeMessageType(
|
|
101
|
+
"BlueSystemAVRUpdate",
|
|
102
|
+
() => [
|
|
103
|
+
{ no: 1, name: "data", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
|
|
104
|
+
],
|
|
105
|
+
);
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* @generated from message BlueSystemAVRInfo
|
|
109
|
+
*/
|
|
110
|
+
export const BlueSystemAVRInfo = proto2.makeMessageType(
|
|
111
|
+
"BlueSystemAVRInfo",
|
|
112
|
+
() => [
|
|
113
|
+
{ no: 1, name: "vermaj", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
114
|
+
{ no: 2, name: "vermin", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
115
|
+
{ no: 3, name: "buildnr", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
116
|
+
],
|
|
117
|
+
);
|
|
118
|
+
|
|
97
119
|
/**
|
|
98
120
|
* @generated from message BlueSystemConfig
|
|
99
121
|
*/
|
package/nanopb/BlueCore.pb.c
CHANGED
package/nanopb/BlueCore.pb.h
CHANGED
|
@@ -185,7 +185,8 @@ typedef enum BlueHardwareType {
|
|
|
185
185
|
BlueHardwareType_CylinderLock = 3,
|
|
186
186
|
BlueHardwareType_DoorHandleLock = 4,
|
|
187
187
|
BlueHardwareType_WallReader = 5,
|
|
188
|
-
BlueHardwareType_Kiosk = 6
|
|
188
|
+
BlueHardwareType_Kiosk = 6,
|
|
189
|
+
BlueHardwareType_CylinderLockCompact = 7
|
|
189
190
|
} pb_packed BlueHardwareType_t;
|
|
190
191
|
|
|
191
192
|
typedef enum BlueBatteryLevel {
|
|
@@ -276,6 +277,12 @@ typedef enum BlueOssSoFileId {
|
|
|
276
277
|
BlueOssSoFileId_CustomerExtensions = 4
|
|
277
278
|
} pb_packed BlueOssSoFileId_t;
|
|
278
279
|
|
|
280
|
+
typedef enum BlueOssSoWriteStatus {
|
|
281
|
+
BlueOssSoWriteStatus_WritableByAnyOrg = 0, /* transponder is writable with the default DES master key. */
|
|
282
|
+
BlueOssSoWriteStatus_WritableBySpecificOrg = 1, /* transponder is writable with the organization's specific master key. */
|
|
283
|
+
BlueOssSoWriteStatus_NotWritable = 2 /* transponder cannot be written. */
|
|
284
|
+
} pb_packed BlueOssSoWriteStatus_t;
|
|
285
|
+
|
|
279
286
|
/* Struct definitions */
|
|
280
287
|
typedef PB_BYTES_ARRAY_T(160) BlueSharedDemoData_terminalPrivateKey_t;
|
|
281
288
|
typedef PB_BYTES_ARRAY_T(100) BlueSharedDemoData_terminalPublicKey_t;
|
|
@@ -767,8 +774,8 @@ extern "C" {
|
|
|
767
774
|
#define _BLUETRANSPONDERTYPE_ARRAYSIZE ((BlueTransponderType_t)(BlueTransponderType_MifareDesfire+1))
|
|
768
775
|
|
|
769
776
|
#define _BLUEHARDWARETYPE_MIN BlueHardwareType_UnknownHardware
|
|
770
|
-
#define _BLUEHARDWARETYPE_MAX
|
|
771
|
-
#define _BLUEHARDWARETYPE_ARRAYSIZE ((BlueHardwareType_t)(
|
|
777
|
+
#define _BLUEHARDWARETYPE_MAX BlueHardwareType_CylinderLockCompact
|
|
778
|
+
#define _BLUEHARDWARETYPE_ARRAYSIZE ((BlueHardwareType_t)(BlueHardwareType_CylinderLockCompact+1))
|
|
772
779
|
|
|
773
780
|
#define _BLUEBATTERYLEVEL_MIN BlueBatteryLevel_UnknownBattery
|
|
774
781
|
#define _BLUEBATTERYLEVEL_MAX BlueBatteryLevel_FullyCharged
|
|
@@ -806,6 +813,10 @@ extern "C" {
|
|
|
806
813
|
#define _BLUEOSSSOFILEID_MAX BlueOssSoFileId_CustomerExtensions
|
|
807
814
|
#define _BLUEOSSSOFILEID_ARRAYSIZE ((BlueOssSoFileId_t)(BlueOssSoFileId_CustomerExtensions+1))
|
|
808
815
|
|
|
816
|
+
#define _BLUEOSSSOWRITESTATUS_MIN BlueOssSoWriteStatus_WritableByAnyOrg
|
|
817
|
+
#define _BLUEOSSSOWRITESTATUS_MAX BlueOssSoWriteStatus_NotWritable
|
|
818
|
+
#define _BLUEOSSSOWRITESTATUS_ARRAYSIZE ((BlueOssSoWriteStatus_t)(BlueOssSoWriteStatus_NotWritable+1))
|
|
819
|
+
|
|
809
820
|
|
|
810
821
|
|
|
811
822
|
|
package/nanopb/BlueSDK.pb.h
CHANGED
|
@@ -87,6 +87,7 @@ typedef struct BlueI18n {
|
|
|
87
87
|
pb_callback_t openViaOssSoSelectAccessTypeMessage;
|
|
88
88
|
pb_callback_t nfcTransponderConnected;
|
|
89
89
|
pb_callback_t nfcTransponderDisconnected;
|
|
90
|
+
pb_callback_t nfcTransponderSuccessReadMessage;
|
|
90
91
|
} BlueI18n_t;
|
|
91
92
|
|
|
92
93
|
typedef struct BlueDeviceDetailsBluetooth {
|
|
@@ -311,7 +312,7 @@ extern "C" {
|
|
|
311
312
|
|
|
312
313
|
|
|
313
314
|
/* Initializer values for message structs */
|
|
314
|
-
#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}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
|
|
315
|
+
#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}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
|
|
315
316
|
#define BLUEDEVICEDETAILSBLUETOOTH_INIT_DEFAULT {0, 0, 0}
|
|
316
317
|
#define BLUEDEVICEDETAILSUWB_INIT_DEFAULT {0}
|
|
317
318
|
#define BLUEDEVICEINFO_INIT_DEFAULT {_BLUEDEVICETYPE_MIN, {{NULL}, NULL}, 0, false, BLUEBLEMANUFACTURERINFO_INIT_DEFAULT, 0, {BLUEDEVICEDETAILSBLUETOOTH_INIT_DEFAULT}}
|
|
@@ -335,7 +336,7 @@ extern "C" {
|
|
|
335
336
|
#define BLUEREFRESHOSSSOCREDENTIALS_INIT_DEFAULT {{{NULL}, NULL}}
|
|
336
337
|
#define BLUESYNCHRONIZEACCESSCREDENTIAL_INIT_DEFAULT {BLUECREDENTIALID_INIT_DEFAULT, _BLUERETURNCODE_MIN, {{NULL}, NULL}}
|
|
337
338
|
#define BLUESYNCHRONIZEACCESSCREDENTIALS_INIT_DEFAULT {{{NULL}, NULL}}
|
|
338
|
-
#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}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
|
|
339
|
+
#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}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
|
|
339
340
|
#define BLUEDEVICEDETAILSBLUETOOTH_INIT_ZERO {0, 0, 0}
|
|
340
341
|
#define BLUEDEVICEDETAILSUWB_INIT_ZERO {0}
|
|
341
342
|
#define BLUEDEVICEINFO_INIT_ZERO {_BLUEDEVICETYPE_MIN, {{NULL}, NULL}, 0, false, BLUEBLEMANUFACTURERINFO_INIT_ZERO, 0, {BLUEDEVICEDETAILSBLUETOOTH_INIT_ZERO}}
|
|
@@ -422,6 +423,7 @@ extern "C" {
|
|
|
422
423
|
#define BLUEI18N_OPENVIAOSSSOSELECTACCESSTYPEMESSAGE_TAG 59
|
|
423
424
|
#define BLUEI18N_NFCTRANSPONDERCONNECTED_TAG 100
|
|
424
425
|
#define BLUEI18N_NFCTRANSPONDERDISCONNECTED_TAG 101
|
|
426
|
+
#define BLUEI18N_NFCTRANSPONDERSUCCESSREADMESSAGE_TAG 102
|
|
425
427
|
#define BLUEDEVICEDETAILSBLUETOOTH_RSSI_TAG 1
|
|
426
428
|
#define BLUEDEVICEDETAILSBLUETOOTH_TXPOWER_TAG 2
|
|
427
429
|
#define BLUEDEVICEDETAILSBLUETOOTH_ISIBEACON_TAG 3
|
|
@@ -568,7 +570,8 @@ X(a, CALLBACK, REQUIRED, STRING, accessTypeCustomTime, 57) \
|
|
|
568
570
|
X(a, CALLBACK, REQUIRED, STRING, openViaOssSoSelectAccessTypeTitle, 58) \
|
|
569
571
|
X(a, CALLBACK, REQUIRED, STRING, openViaOssSoSelectAccessTypeMessage, 59) \
|
|
570
572
|
X(a, CALLBACK, REQUIRED, STRING, nfcTransponderConnected, 100) \
|
|
571
|
-
X(a, CALLBACK, REQUIRED, STRING, nfcTransponderDisconnected, 101)
|
|
573
|
+
X(a, CALLBACK, REQUIRED, STRING, nfcTransponderDisconnected, 101) \
|
|
574
|
+
X(a, CALLBACK, REQUIRED, STRING, nfcTransponderSuccessReadMessage, 102)
|
|
572
575
|
#define BLUEI18N_CALLBACK pb_default_field_callback
|
|
573
576
|
#define BLUEI18N_DEFAULT NULL
|
|
574
577
|
|
package/nanopb/BlueSystem.pb.c
CHANGED
|
@@ -24,6 +24,12 @@ PB_BIND(BLUEACCESSCONFIG, BlueAccessConfig_t, 2)
|
|
|
24
24
|
PB_BIND(BLUEOSSCONFIG, BlueOssConfig_t, AUTO)
|
|
25
25
|
|
|
26
26
|
|
|
27
|
+
PB_BIND(BLUESYSTEMAVRUPDATE, BlueSystemAVRUpdate_t, 2)
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
PB_BIND(BLUESYSTEMAVRINFO, BlueSystemAVRInfo_t, AUTO)
|
|
31
|
+
|
|
32
|
+
|
|
27
33
|
PB_BIND(BLUESYSTEMCONFIG, BlueSystemConfig_t, 2)
|
|
28
34
|
|
|
29
35
|
|
package/nanopb/BlueSystem.pb.h
CHANGED
|
@@ -102,6 +102,17 @@ typedef struct BlueOssConfig { /* -- Oss SecureId -- */
|
|
|
102
102
|
uint32_t soMifareAid;
|
|
103
103
|
} BlueOssConfig_t;
|
|
104
104
|
|
|
105
|
+
typedef PB_BYTES_ARRAY_T(800) BlueSystemAVRUpdate_data_t;
|
|
106
|
+
typedef struct BlueSystemAVRUpdate {
|
|
107
|
+
BlueSystemAVRUpdate_data_t data;
|
|
108
|
+
} BlueSystemAVRUpdate_t;
|
|
109
|
+
|
|
110
|
+
typedef struct BlueSystemAVRInfo {
|
|
111
|
+
uint8_t vermaj;
|
|
112
|
+
uint8_t vermin;
|
|
113
|
+
uint8_t buildnr;
|
|
114
|
+
} BlueSystemAVRInfo_t;
|
|
115
|
+
|
|
105
116
|
typedef struct BlueSystemConfig {
|
|
106
117
|
char configId[9];
|
|
107
118
|
/* -- Base */
|
|
@@ -228,6 +239,8 @@ extern "C" {
|
|
|
228
239
|
#define BLUEACCESSCONFIGGROUP_INIT_DEFAULT {0, 0, {BLUELOCALTIMESCHEDULE_INIT_DEFAULT, BLUELOCALTIMESCHEDULE_INIT_DEFAULT}}
|
|
229
240
|
#define BLUEACCESSCONFIG_INIT_DEFAULT {1u, 1u, 0, {BLUEACCESSCONFIGGROUP_INIT_DEFAULT, BLUEACCESSCONFIGGROUP_INIT_DEFAULT, BLUEACCESSCONFIGGROUP_INIT_DEFAULT, BLUEACCESSCONFIGGROUP_INIT_DEFAULT, BLUEACCESSCONFIGGROUP_INIT_DEFAULT, BLUEACCESSCONFIGGROUP_INIT_DEFAULT, BLUEACCESSCONFIGGROUP_INIT_DEFAULT, BLUEACCESSCONFIGGROUP_INIT_DEFAULT, BLUEACCESSCONFIGGROUP_INIT_DEFAULT, BLUEACCESSCONFIGGROUP_INIT_DEFAULT}}
|
|
230
241
|
#define BLUEOSSCONFIG_INIT_DEFAULT {{0xff,0xee,0xdd,0xcc,0xbb,0xaa,0x99,0x88,0x77,0x66,0x55,0x44,0x33,0x22,0x11,0x00}, 16076801u, false, false, true, true, {0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f}, 16076800u}
|
|
242
|
+
#define BLUESYSTEMAVRUPDATE_INIT_DEFAULT {{0, {0}}}
|
|
243
|
+
#define BLUESYSTEMAVRINFO_INIT_DEFAULT {0, 0, 0}
|
|
231
244
|
#define BLUESYSTEMCONFIG_INIT_DEFAULT {"", BLUEBASECONFIG_INIT_DEFAULT, BLUEBLECONFIG_INIT_DEFAULT, BLUEONLINECONFIG_INIT_DEFAULT, BLUEACCESSCONFIG_INIT_DEFAULT, BLUEOSSCONFIG_INIT_DEFAULT, false, BLUELOCKCONFIG_INIT_DEFAULT}
|
|
232
245
|
#define BLUESYSTEMTIMEUNIX_INIT_DEFAULT {0}
|
|
233
246
|
#define BLUESYSTEMUPDATE_INIT_DEFAULT {false, BLUESYSTEMCONFIG_INIT_DEFAULT, false, BLUESYSTEMTIMEUNIX_INIT_DEFAULT}
|
|
@@ -246,6 +259,8 @@ extern "C" {
|
|
|
246
259
|
#define BLUEACCESSCONFIGGROUP_INIT_ZERO {0, 0, {BLUELOCALTIMESCHEDULE_INIT_ZERO, BLUELOCALTIMESCHEDULE_INIT_ZERO}}
|
|
247
260
|
#define BLUEACCESSCONFIG_INIT_ZERO {0, 0, 0, {BLUEACCESSCONFIGGROUP_INIT_ZERO, BLUEACCESSCONFIGGROUP_INIT_ZERO, BLUEACCESSCONFIGGROUP_INIT_ZERO, BLUEACCESSCONFIGGROUP_INIT_ZERO, BLUEACCESSCONFIGGROUP_INIT_ZERO, BLUEACCESSCONFIGGROUP_INIT_ZERO, BLUEACCESSCONFIGGROUP_INIT_ZERO, BLUEACCESSCONFIGGROUP_INIT_ZERO, BLUEACCESSCONFIGGROUP_INIT_ZERO, BLUEACCESSCONFIGGROUP_INIT_ZERO}}
|
|
248
261
|
#define BLUEOSSCONFIG_INIT_ZERO {{0}, 0, 0, 0, 0, 0, {0}, 0}
|
|
262
|
+
#define BLUESYSTEMAVRUPDATE_INIT_ZERO {{0, {0}}}
|
|
263
|
+
#define BLUESYSTEMAVRINFO_INIT_ZERO {0, 0, 0}
|
|
249
264
|
#define BLUESYSTEMCONFIG_INIT_ZERO {"", BLUEBASECONFIG_INIT_ZERO, BLUEBLECONFIG_INIT_ZERO, BLUEONLINECONFIG_INIT_ZERO, BLUEACCESSCONFIG_INIT_ZERO, BLUEOSSCONFIG_INIT_ZERO, false, BLUELOCKCONFIG_INIT_ZERO}
|
|
250
265
|
#define BLUESYSTEMTIMEUNIX_INIT_ZERO {0}
|
|
251
266
|
#define BLUESYSTEMUPDATE_INIT_ZERO {false, BLUESYSTEMCONFIG_INIT_ZERO, false, BLUESYSTEMTIMEUNIX_INIT_ZERO}
|
|
@@ -289,6 +304,10 @@ extern "C" {
|
|
|
289
304
|
#define BLUEOSSCONFIG_SOUPDATEFROMBLACKLIST_TAG 6
|
|
290
305
|
#define BLUEOSSCONFIG_SOMIFAREAESKEY_TAG 7
|
|
291
306
|
#define BLUEOSSCONFIG_SOMIFAREAID_TAG 8
|
|
307
|
+
#define BLUESYSTEMAVRUPDATE_DATA_TAG 1
|
|
308
|
+
#define BLUESYSTEMAVRINFO_VERMAJ_TAG 1
|
|
309
|
+
#define BLUESYSTEMAVRINFO_VERMIN_TAG 2
|
|
310
|
+
#define BLUESYSTEMAVRINFO_BUILDNR_TAG 3
|
|
292
311
|
#define BLUESYSTEMCONFIG_CONFIGID_TAG 1
|
|
293
312
|
#define BLUESYSTEMCONFIG_BASE_TAG 2
|
|
294
313
|
#define BLUESYSTEMCONFIG_BLE_TAG 3
|
|
@@ -400,6 +419,18 @@ X(a, STATIC, REQUIRED, UINT32, soMifareAid, 8)
|
|
|
400
419
|
#define BLUEOSSCONFIG_CALLBACK NULL
|
|
401
420
|
#define BLUEOSSCONFIG_DEFAULT (const pb_byte_t*)"\x0a\x10\xff\xee\xdd\xcc\xbb\xaa\x99\x88\x77\x66\x55\x44\x33\x22\x11\x00\x10\x81\xa0\xd5\x07\x18\x00\x20\x00\x28\x01\x30\x01\x3a\x10\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f\x40\x80\xa0\xd5\x07\x00"
|
|
402
421
|
|
|
422
|
+
#define BLUESYSTEMAVRUPDATE_FIELDLIST(X, a) \
|
|
423
|
+
X(a, STATIC, REQUIRED, BYTES, data, 1)
|
|
424
|
+
#define BLUESYSTEMAVRUPDATE_CALLBACK NULL
|
|
425
|
+
#define BLUESYSTEMAVRUPDATE_DEFAULT NULL
|
|
426
|
+
|
|
427
|
+
#define BLUESYSTEMAVRINFO_FIELDLIST(X, a) \
|
|
428
|
+
X(a, STATIC, REQUIRED, UINT32, vermaj, 1) \
|
|
429
|
+
X(a, STATIC, REQUIRED, UINT32, vermin, 2) \
|
|
430
|
+
X(a, STATIC, REQUIRED, UINT32, buildnr, 3)
|
|
431
|
+
#define BLUESYSTEMAVRINFO_CALLBACK NULL
|
|
432
|
+
#define BLUESYSTEMAVRINFO_DEFAULT NULL
|
|
433
|
+
|
|
403
434
|
#define BLUESYSTEMCONFIG_FIELDLIST(X, a) \
|
|
404
435
|
X(a, STATIC, REQUIRED, STRING, configId, 1) \
|
|
405
436
|
X(a, STATIC, REQUIRED, MESSAGE, base, 2) \
|
|
@@ -521,6 +552,8 @@ extern const pb_msgdesc_t BlueOnlineConfig_t_msg;
|
|
|
521
552
|
extern const pb_msgdesc_t BlueAccessConfigGroup_t_msg;
|
|
522
553
|
extern const pb_msgdesc_t BlueAccessConfig_t_msg;
|
|
523
554
|
extern const pb_msgdesc_t BlueOssConfig_t_msg;
|
|
555
|
+
extern const pb_msgdesc_t BlueSystemAVRUpdate_t_msg;
|
|
556
|
+
extern const pb_msgdesc_t BlueSystemAVRInfo_t_msg;
|
|
524
557
|
extern const pb_msgdesc_t BlueSystemConfig_t_msg;
|
|
525
558
|
extern const pb_msgdesc_t BlueSystemTimeUnix_t_msg;
|
|
526
559
|
extern const pb_msgdesc_t BlueSystemUpdate_t_msg;
|
|
@@ -541,6 +574,8 @@ extern const pb_msgdesc_t BlueBlacklistEntries_t_msg;
|
|
|
541
574
|
#define BLUEACCESSCONFIGGROUP_FIELDS &BlueAccessConfigGroup_t_msg
|
|
542
575
|
#define BLUEACCESSCONFIG_FIELDS &BlueAccessConfig_t_msg
|
|
543
576
|
#define BLUEOSSCONFIG_FIELDS &BlueOssConfig_t_msg
|
|
577
|
+
#define BLUESYSTEMAVRUPDATE_FIELDS &BlueSystemAVRUpdate_t_msg
|
|
578
|
+
#define BLUESYSTEMAVRINFO_FIELDS &BlueSystemAVRInfo_t_msg
|
|
544
579
|
#define BLUESYSTEMCONFIG_FIELDS &BlueSystemConfig_t_msg
|
|
545
580
|
#define BLUESYSTEMTIMEUNIX_FIELDS &BlueSystemTimeUnix_t_msg
|
|
546
581
|
#define BLUESYSTEMUPDATE_FIELDS &BlueSystemUpdate_t_msg
|
|
@@ -564,6 +599,8 @@ extern const pb_msgdesc_t BlueBlacklistEntries_t_msg;
|
|
|
564
599
|
#define BLUEEVENTLOGRESULT_SIZE 1650
|
|
565
600
|
#define BLUEONLINECONFIG_SIZE 224
|
|
566
601
|
#define BLUEOSSCONFIG_SIZE 56
|
|
602
|
+
#define BLUESYSTEMAVRINFO_SIZE 9
|
|
603
|
+
#define BLUESYSTEMAVRUPDATE_SIZE 803
|
|
567
604
|
#define BLUESYSTEMCONFIG_SIZE 1657
|
|
568
605
|
#define BLUESYSTEMLOGENTRY_SIZE 152
|
|
569
606
|
#define BLUESYSTEMLOGQUERY_SIZE 9
|
package/package.json
CHANGED
package/swift/BlueCore.pb.swift
CHANGED
|
@@ -581,6 +581,7 @@ public enum BlueHardwareType: SwiftProtobuf.Enum, Swift.CaseIterable {
|
|
|
581
581
|
case doorHandleLock // = 4
|
|
582
582
|
case wallReader // = 5
|
|
583
583
|
case kiosk // = 6
|
|
584
|
+
case cylinderLockCompact // = 7
|
|
584
585
|
|
|
585
586
|
public init() {
|
|
586
587
|
self = .unknownHardware
|
|
@@ -595,6 +596,7 @@ public enum BlueHardwareType: SwiftProtobuf.Enum, Swift.CaseIterable {
|
|
|
595
596
|
case 4: self = .doorHandleLock
|
|
596
597
|
case 5: self = .wallReader
|
|
597
598
|
case 6: self = .kiosk
|
|
599
|
+
case 7: self = .cylinderLockCompact
|
|
598
600
|
default: return nil
|
|
599
601
|
}
|
|
600
602
|
}
|
|
@@ -608,6 +610,7 @@ public enum BlueHardwareType: SwiftProtobuf.Enum, Swift.CaseIterable {
|
|
|
608
610
|
case .doorHandleLock: return 4
|
|
609
611
|
case .wallReader: return 5
|
|
610
612
|
case .kiosk: return 6
|
|
613
|
+
case .cylinderLockCompact: return 7
|
|
611
614
|
}
|
|
612
615
|
}
|
|
613
616
|
|
|
@@ -961,6 +964,41 @@ public enum BlueOssSoFileId: SwiftProtobuf.Enum, Swift.CaseIterable {
|
|
|
961
964
|
|
|
962
965
|
}
|
|
963
966
|
|
|
967
|
+
public enum BlueOssSoWriteStatus: SwiftProtobuf.Enum, Swift.CaseIterable {
|
|
968
|
+
public typealias RawValue = Int
|
|
969
|
+
|
|
970
|
+
/// transponder is writable with the default DES master key.
|
|
971
|
+
case writableByAnyOrg // = 0
|
|
972
|
+
|
|
973
|
+
/// transponder is writable with the organization's specific master key.
|
|
974
|
+
case writableBySpecificOrg // = 1
|
|
975
|
+
|
|
976
|
+
/// transponder cannot be written.
|
|
977
|
+
case notWritable // = 2
|
|
978
|
+
|
|
979
|
+
public init() {
|
|
980
|
+
self = .writableByAnyOrg
|
|
981
|
+
}
|
|
982
|
+
|
|
983
|
+
public init?(rawValue: Int) {
|
|
984
|
+
switch rawValue {
|
|
985
|
+
case 0: self = .writableByAnyOrg
|
|
986
|
+
case 1: self = .writableBySpecificOrg
|
|
987
|
+
case 2: self = .notWritable
|
|
988
|
+
default: return nil
|
|
989
|
+
}
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
public var rawValue: Int {
|
|
993
|
+
switch self {
|
|
994
|
+
case .writableByAnyOrg: return 0
|
|
995
|
+
case .writableBySpecificOrg: return 1
|
|
996
|
+
case .notWritable: return 2
|
|
997
|
+
}
|
|
998
|
+
}
|
|
999
|
+
|
|
1000
|
+
}
|
|
1001
|
+
|
|
964
1002
|
public struct BlueSharedDemoData: @unchecked Sendable {
|
|
965
1003
|
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
966
1004
|
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
@@ -3630,6 +3668,7 @@ extension BlueHardwareType: SwiftProtobuf._ProtoNameProviding {
|
|
|
3630
3668
|
4: .same(proto: "DoorHandleLock"),
|
|
3631
3669
|
5: .same(proto: "WallReader"),
|
|
3632
3670
|
6: .same(proto: "Kiosk"),
|
|
3671
|
+
7: .same(proto: "CylinderLockCompact"),
|
|
3633
3672
|
]
|
|
3634
3673
|
}
|
|
3635
3674
|
|
|
@@ -3724,6 +3763,14 @@ extension BlueOssSoFileId: SwiftProtobuf._ProtoNameProviding {
|
|
|
3724
3763
|
]
|
|
3725
3764
|
}
|
|
3726
3765
|
|
|
3766
|
+
extension BlueOssSoWriteStatus: SwiftProtobuf._ProtoNameProviding {
|
|
3767
|
+
public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
|
|
3768
|
+
0: .same(proto: "WritableByAnyOrg"),
|
|
3769
|
+
1: .same(proto: "WritableBySpecificOrg"),
|
|
3770
|
+
2: .same(proto: "NotWritable"),
|
|
3771
|
+
]
|
|
3772
|
+
}
|
|
3773
|
+
|
|
3727
3774
|
extension BlueSharedDemoData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
|
|
3728
3775
|
public static let protoMessageName: String = "BlueSharedDemoData"
|
|
3729
3776
|
public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
|
package/swift/BlueSDK.pb.swift
CHANGED
|
@@ -183,6 +183,15 @@ public struct BlueI18n: @unchecked Sendable {
|
|
|
183
183
|
/// Clears the value of `nfcTransponderDisconnected`. Subsequent reads from it will return its default value.
|
|
184
184
|
public mutating func clearNfcTransponderDisconnected() {_uniqueStorage()._nfcTransponderDisconnected = nil}
|
|
185
185
|
|
|
186
|
+
public var nfcTransponderSuccessReadMessage: String {
|
|
187
|
+
get {return _storage._nfcTransponderSuccessReadMessage ?? "Transponder was successfully read"}
|
|
188
|
+
set {_uniqueStorage()._nfcTransponderSuccessReadMessage = newValue}
|
|
189
|
+
}
|
|
190
|
+
/// Returns true if `nfcTransponderSuccessReadMessage` has been explicitly set.
|
|
191
|
+
public var hasNfcTransponderSuccessReadMessage: Bool {return _storage._nfcTransponderSuccessReadMessage != nil}
|
|
192
|
+
/// Clears the value of `nfcTransponderSuccessReadMessage`. Subsequent reads from it will return its default value.
|
|
193
|
+
public mutating func clearNfcTransponderSuccessReadMessage() {_uniqueStorage()._nfcTransponderSuccessReadMessage = nil}
|
|
194
|
+
|
|
186
195
|
public var openViaOssTitle: String {
|
|
187
196
|
get {return _storage._openViaOssTitle ?? "Unlocking in Progress"}
|
|
188
197
|
set {_uniqueStorage()._openViaOssTitle = newValue}
|
|
@@ -1677,6 +1686,7 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
1677
1686
|
9: .same(proto: "nfcInitializingWritingProcess"),
|
|
1678
1687
|
100: .same(proto: "nfcTransponderConnected"),
|
|
1679
1688
|
101: .same(proto: "nfcTransponderDisconnected"),
|
|
1689
|
+
102: .same(proto: "nfcTransponderSuccessReadMessage"),
|
|
1680
1690
|
10: .same(proto: "openViaOssTitle"),
|
|
1681
1691
|
11: .same(proto: "openViaOssWaitMessage"),
|
|
1682
1692
|
12: .same(proto: "openViaOssAccessGrantedTitle"),
|
|
@@ -1741,6 +1751,7 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
1741
1751
|
var _nfcInitializingWritingProcess: String? = nil
|
|
1742
1752
|
var _nfcTransponderConnected: String? = nil
|
|
1743
1753
|
var _nfcTransponderDisconnected: String? = nil
|
|
1754
|
+
var _nfcTransponderSuccessReadMessage: String? = nil
|
|
1744
1755
|
var _openViaOssTitle: String? = nil
|
|
1745
1756
|
var _openViaOssWaitMessage: String? = nil
|
|
1746
1757
|
var _openViaOssAccessGrantedTitle: String? = nil
|
|
@@ -1816,6 +1827,7 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
1816
1827
|
_nfcInitializingWritingProcess = source._nfcInitializingWritingProcess
|
|
1817
1828
|
_nfcTransponderConnected = source._nfcTransponderConnected
|
|
1818
1829
|
_nfcTransponderDisconnected = source._nfcTransponderDisconnected
|
|
1830
|
+
_nfcTransponderSuccessReadMessage = source._nfcTransponderSuccessReadMessage
|
|
1819
1831
|
_openViaOssTitle = source._openViaOssTitle
|
|
1820
1832
|
_openViaOssWaitMessage = source._openViaOssWaitMessage
|
|
1821
1833
|
_openViaOssAccessGrantedTitle = source._openViaOssAccessGrantedTitle
|
|
@@ -1889,6 +1901,7 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
1889
1901
|
if _storage._nfcInitializingWritingProcess == nil {return false}
|
|
1890
1902
|
if _storage._nfcTransponderConnected == nil {return false}
|
|
1891
1903
|
if _storage._nfcTransponderDisconnected == nil {return false}
|
|
1904
|
+
if _storage._nfcTransponderSuccessReadMessage == nil {return false}
|
|
1892
1905
|
if _storage._openViaOssTitle == nil {return false}
|
|
1893
1906
|
if _storage._openViaOssWaitMessage == nil {return false}
|
|
1894
1907
|
if _storage._openViaOssAccessGrantedTitle == nil {return false}
|
|
@@ -2012,6 +2025,7 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
2012
2025
|
case 59: try { try decoder.decodeSingularStringField(value: &_storage._openViaOssSoSelectAccessTypeMessage) }()
|
|
2013
2026
|
case 100: try { try decoder.decodeSingularStringField(value: &_storage._nfcTransponderConnected) }()
|
|
2014
2027
|
case 101: try { try decoder.decodeSingularStringField(value: &_storage._nfcTransponderDisconnected) }()
|
|
2028
|
+
case 102: try { try decoder.decodeSingularStringField(value: &_storage._nfcTransponderSuccessReadMessage) }()
|
|
2015
2029
|
default: break
|
|
2016
2030
|
}
|
|
2017
2031
|
}
|
|
@@ -2207,6 +2221,9 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
2207
2221
|
try { if let v = _storage._nfcTransponderDisconnected {
|
|
2208
2222
|
try visitor.visitSingularStringField(value: v, fieldNumber: 101)
|
|
2209
2223
|
} }()
|
|
2224
|
+
try { if let v = _storage._nfcTransponderSuccessReadMessage {
|
|
2225
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 102)
|
|
2226
|
+
} }()
|
|
2210
2227
|
}
|
|
2211
2228
|
try unknownFields.traverse(visitor: &visitor)
|
|
2212
2229
|
}
|
|
@@ -2227,6 +2244,7 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
|
|
|
2227
2244
|
if _storage._nfcInitializingWritingProcess != rhs_storage._nfcInitializingWritingProcess {return false}
|
|
2228
2245
|
if _storage._nfcTransponderConnected != rhs_storage._nfcTransponderConnected {return false}
|
|
2229
2246
|
if _storage._nfcTransponderDisconnected != rhs_storage._nfcTransponderDisconnected {return false}
|
|
2247
|
+
if _storage._nfcTransponderSuccessReadMessage != rhs_storage._nfcTransponderSuccessReadMessage {return false}
|
|
2230
2248
|
if _storage._openViaOssTitle != rhs_storage._openViaOssTitle {return false}
|
|
2231
2249
|
if _storage._openViaOssWaitMessage != rhs_storage._openViaOssWaitMessage {return false}
|
|
2232
2250
|
if _storage._openViaOssAccessGrantedTitle != rhs_storage._openViaOssAccessGrantedTitle {return false}
|
|
@@ -377,6 +377,68 @@ public struct BlueOssConfig: @unchecked Sendable {
|
|
|
377
377
|
fileprivate var _soMifareAid: UInt32? = nil
|
|
378
378
|
}
|
|
379
379
|
|
|
380
|
+
public struct BlueSystemAVRUpdate: @unchecked Sendable {
|
|
381
|
+
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
382
|
+
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
383
|
+
// methods supported on all messages.
|
|
384
|
+
|
|
385
|
+
public var data: Data {
|
|
386
|
+
get {return _data ?? Data()}
|
|
387
|
+
set {_data = newValue}
|
|
388
|
+
}
|
|
389
|
+
/// Returns true if `data` has been explicitly set.
|
|
390
|
+
public var hasData: Bool {return self._data != nil}
|
|
391
|
+
/// Clears the value of `data`. Subsequent reads from it will return its default value.
|
|
392
|
+
public mutating func clearData() {self._data = nil}
|
|
393
|
+
|
|
394
|
+
public var unknownFields = SwiftProtobuf.UnknownStorage()
|
|
395
|
+
|
|
396
|
+
public init() {}
|
|
397
|
+
|
|
398
|
+
fileprivate var _data: Data? = nil
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
public struct BlueSystemAVRInfo: Sendable {
|
|
402
|
+
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
403
|
+
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
404
|
+
// methods supported on all messages.
|
|
405
|
+
|
|
406
|
+
public var vermaj: UInt32 {
|
|
407
|
+
get {return _vermaj ?? 0}
|
|
408
|
+
set {_vermaj = newValue}
|
|
409
|
+
}
|
|
410
|
+
/// Returns true if `vermaj` has been explicitly set.
|
|
411
|
+
public var hasVermaj: Bool {return self._vermaj != nil}
|
|
412
|
+
/// Clears the value of `vermaj`. Subsequent reads from it will return its default value.
|
|
413
|
+
public mutating func clearVermaj() {self._vermaj = nil}
|
|
414
|
+
|
|
415
|
+
public var vermin: UInt32 {
|
|
416
|
+
get {return _vermin ?? 0}
|
|
417
|
+
set {_vermin = newValue}
|
|
418
|
+
}
|
|
419
|
+
/// Returns true if `vermin` has been explicitly set.
|
|
420
|
+
public var hasVermin: Bool {return self._vermin != nil}
|
|
421
|
+
/// Clears the value of `vermin`. Subsequent reads from it will return its default value.
|
|
422
|
+
public mutating func clearVermin() {self._vermin = nil}
|
|
423
|
+
|
|
424
|
+
public var buildnr: UInt32 {
|
|
425
|
+
get {return _buildnr ?? 0}
|
|
426
|
+
set {_buildnr = newValue}
|
|
427
|
+
}
|
|
428
|
+
/// Returns true if `buildnr` has been explicitly set.
|
|
429
|
+
public var hasBuildnr: Bool {return self._buildnr != nil}
|
|
430
|
+
/// Clears the value of `buildnr`. Subsequent reads from it will return its default value.
|
|
431
|
+
public mutating func clearBuildnr() {self._buildnr = nil}
|
|
432
|
+
|
|
433
|
+
public var unknownFields = SwiftProtobuf.UnknownStorage()
|
|
434
|
+
|
|
435
|
+
public init() {}
|
|
436
|
+
|
|
437
|
+
fileprivate var _vermaj: UInt32? = nil
|
|
438
|
+
fileprivate var _vermin: UInt32? = nil
|
|
439
|
+
fileprivate var _buildnr: UInt32? = nil
|
|
440
|
+
}
|
|
441
|
+
|
|
380
442
|
public struct BlueSystemConfig: @unchecked Sendable {
|
|
381
443
|
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
382
444
|
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
@@ -1417,6 +1479,102 @@ extension BlueOssConfig: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementa
|
|
|
1417
1479
|
}
|
|
1418
1480
|
}
|
|
1419
1481
|
|
|
1482
|
+
extension BlueSystemAVRUpdate: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
|
|
1483
|
+
public static let protoMessageName: String = "BlueSystemAVRUpdate"
|
|
1484
|
+
public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
|
|
1485
|
+
1: .same(proto: "data"),
|
|
1486
|
+
]
|
|
1487
|
+
|
|
1488
|
+
public var isInitialized: Bool {
|
|
1489
|
+
if self._data == nil {return false}
|
|
1490
|
+
return true
|
|
1491
|
+
}
|
|
1492
|
+
|
|
1493
|
+
public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
|
|
1494
|
+
while let fieldNumber = try decoder.nextFieldNumber() {
|
|
1495
|
+
// The use of inline closures is to circumvent an issue where the compiler
|
|
1496
|
+
// allocates stack space for every case branch when no optimizations are
|
|
1497
|
+
// enabled. https://github.com/apple/swift-protobuf/issues/1034
|
|
1498
|
+
switch fieldNumber {
|
|
1499
|
+
case 1: try { try decoder.decodeSingularBytesField(value: &self._data) }()
|
|
1500
|
+
default: break
|
|
1501
|
+
}
|
|
1502
|
+
}
|
|
1503
|
+
}
|
|
1504
|
+
|
|
1505
|
+
public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
|
|
1506
|
+
// The use of inline closures is to circumvent an issue where the compiler
|
|
1507
|
+
// allocates stack space for every if/case branch local when no optimizations
|
|
1508
|
+
// are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
|
|
1509
|
+
// https://github.com/apple/swift-protobuf/issues/1182
|
|
1510
|
+
try { if let v = self._data {
|
|
1511
|
+
try visitor.visitSingularBytesField(value: v, fieldNumber: 1)
|
|
1512
|
+
} }()
|
|
1513
|
+
try unknownFields.traverse(visitor: &visitor)
|
|
1514
|
+
}
|
|
1515
|
+
|
|
1516
|
+
public static func ==(lhs: BlueSystemAVRUpdate, rhs: BlueSystemAVRUpdate) -> Bool {
|
|
1517
|
+
if lhs._data != rhs._data {return false}
|
|
1518
|
+
if lhs.unknownFields != rhs.unknownFields {return false}
|
|
1519
|
+
return true
|
|
1520
|
+
}
|
|
1521
|
+
}
|
|
1522
|
+
|
|
1523
|
+
extension BlueSystemAVRInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
|
|
1524
|
+
public static let protoMessageName: String = "BlueSystemAVRInfo"
|
|
1525
|
+
public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
|
|
1526
|
+
1: .same(proto: "vermaj"),
|
|
1527
|
+
2: .same(proto: "vermin"),
|
|
1528
|
+
3: .same(proto: "buildnr"),
|
|
1529
|
+
]
|
|
1530
|
+
|
|
1531
|
+
public var isInitialized: Bool {
|
|
1532
|
+
if self._vermaj == nil {return false}
|
|
1533
|
+
if self._vermin == nil {return false}
|
|
1534
|
+
if self._buildnr == nil {return false}
|
|
1535
|
+
return true
|
|
1536
|
+
}
|
|
1537
|
+
|
|
1538
|
+
public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
|
|
1539
|
+
while let fieldNumber = try decoder.nextFieldNumber() {
|
|
1540
|
+
// The use of inline closures is to circumvent an issue where the compiler
|
|
1541
|
+
// allocates stack space for every case branch when no optimizations are
|
|
1542
|
+
// enabled. https://github.com/apple/swift-protobuf/issues/1034
|
|
1543
|
+
switch fieldNumber {
|
|
1544
|
+
case 1: try { try decoder.decodeSingularUInt32Field(value: &self._vermaj) }()
|
|
1545
|
+
case 2: try { try decoder.decodeSingularUInt32Field(value: &self._vermin) }()
|
|
1546
|
+
case 3: try { try decoder.decodeSingularUInt32Field(value: &self._buildnr) }()
|
|
1547
|
+
default: break
|
|
1548
|
+
}
|
|
1549
|
+
}
|
|
1550
|
+
}
|
|
1551
|
+
|
|
1552
|
+
public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
|
|
1553
|
+
// The use of inline closures is to circumvent an issue where the compiler
|
|
1554
|
+
// allocates stack space for every if/case branch local when no optimizations
|
|
1555
|
+
// are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
|
|
1556
|
+
// https://github.com/apple/swift-protobuf/issues/1182
|
|
1557
|
+
try { if let v = self._vermaj {
|
|
1558
|
+
try visitor.visitSingularUInt32Field(value: v, fieldNumber: 1)
|
|
1559
|
+
} }()
|
|
1560
|
+
try { if let v = self._vermin {
|
|
1561
|
+
try visitor.visitSingularUInt32Field(value: v, fieldNumber: 2)
|
|
1562
|
+
} }()
|
|
1563
|
+
try { if let v = self._buildnr {
|
|
1564
|
+
try visitor.visitSingularUInt32Field(value: v, fieldNumber: 3)
|
|
1565
|
+
} }()
|
|
1566
|
+
try unknownFields.traverse(visitor: &visitor)
|
|
1567
|
+
}
|
|
1568
|
+
|
|
1569
|
+
public static func ==(lhs: BlueSystemAVRInfo, rhs: BlueSystemAVRInfo) -> Bool {
|
|
1570
|
+
if lhs._vermaj != rhs._vermaj {return false}
|
|
1571
|
+
if lhs._vermin != rhs._vermin {return false}
|
|
1572
|
+
if lhs._buildnr != rhs._buildnr {return false}
|
|
1573
|
+
if lhs.unknownFields != rhs.unknownFields {return false}
|
|
1574
|
+
return true
|
|
1575
|
+
}
|
|
1576
|
+
}
|
|
1577
|
+
|
|
1420
1578
|
extension BlueSystemConfig: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
|
|
1421
1579
|
public static let protoMessageName: String = "BlueSystemConfig"
|
|
1422
1580
|
public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
|