@blueid/access-proto 2.12.0 → 2.15.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 +4 -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 +24 -0
- package/cjs/BlueSystem_pb.js +13 -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 +24 -0
- package/es/BlueSystem_pb.js +10 -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 +3 -0
- package/nanopb/BlueSystem.pb.h +16 -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 +62 -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,10 @@ 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 = 1024 ];
|
|
144
|
+
}
|
|
145
|
+
|
|
142
146
|
message BlueSystemConfig {
|
|
143
147
|
required string configId = 1 [ (nanopb).max_length = 8 ];
|
|
144
148
|
// -- 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,30 @@ 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
|
+
|
|
336
360
|
/**
|
|
337
361
|
* @generated from message BlueSystemConfig
|
|
338
362
|
*/
|
package/cjs/BlueSystem_pb.js
CHANGED
|
@@ -26,6 +26,7 @@ __export(BlueSystem_pb_exports, {
|
|
|
26
26
|
BlueEventLogResult: () => BlueEventLogResult,
|
|
27
27
|
BlueOnlineConfig: () => BlueOnlineConfig,
|
|
28
28
|
BlueOssConfig: () => BlueOssConfig,
|
|
29
|
+
BlueSystemAVRUpdate: () => BlueSystemAVRUpdate,
|
|
29
30
|
BlueSystemConfig: () => BlueSystemConfig,
|
|
30
31
|
BlueSystemLogEntry: () => BlueSystemLogEntry,
|
|
31
32
|
BlueSystemLogQuery: () => BlueSystemLogQuery,
|
|
@@ -135,6 +136,18 @@ const BlueOssConfig = import_protobuf.proto2.makeMessageType(
|
|
|
135
136
|
{ no: 8, name: "soMifareAid", kind: "scalar", T: 13, default: 16076800 }
|
|
136
137
|
]
|
|
137
138
|
);
|
|
139
|
+
const BlueSystemAVRUpdate = import_protobuf.proto2.makeMessageType(
|
|
140
|
+
"BlueSystemAVRUpdate",
|
|
141
|
+
() => [
|
|
142
|
+
{
|
|
143
|
+
no: 1,
|
|
144
|
+
name: "data",
|
|
145
|
+
kind: "scalar",
|
|
146
|
+
T: 12
|
|
147
|
+
/* ScalarType.BYTES */
|
|
148
|
+
}
|
|
149
|
+
]
|
|
150
|
+
);
|
|
138
151
|
const BlueSystemConfig = import_protobuf.proto2.makeMessageType(
|
|
139
152
|
"BlueSystemConfig",
|
|
140
153
|
() => [
|
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,30 @@ 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
|
+
|
|
336
360
|
/**
|
|
337
361
|
* @generated from message BlueSystemConfig
|
|
338
362
|
*/
|
package/es/BlueSystem_pb.js
CHANGED
|
@@ -94,6 +94,16 @@ 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
|
+
|
|
97
107
|
/**
|
|
98
108
|
* @generated from message BlueSystemConfig
|
|
99
109
|
*/
|
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
package/nanopb/BlueSystem.pb.h
CHANGED
|
@@ -102,6 +102,11 @@ typedef struct BlueOssConfig { /* -- Oss SecureId -- */
|
|
|
102
102
|
uint32_t soMifareAid;
|
|
103
103
|
} BlueOssConfig_t;
|
|
104
104
|
|
|
105
|
+
typedef PB_BYTES_ARRAY_T(1024) BlueSystemAVRUpdate_data_t;
|
|
106
|
+
typedef struct BlueSystemAVRUpdate {
|
|
107
|
+
BlueSystemAVRUpdate_data_t data;
|
|
108
|
+
} BlueSystemAVRUpdate_t;
|
|
109
|
+
|
|
105
110
|
typedef struct BlueSystemConfig {
|
|
106
111
|
char configId[9];
|
|
107
112
|
/* -- Base */
|
|
@@ -228,6 +233,7 @@ extern "C" {
|
|
|
228
233
|
#define BLUEACCESSCONFIGGROUP_INIT_DEFAULT {0, 0, {BLUELOCALTIMESCHEDULE_INIT_DEFAULT, BLUELOCALTIMESCHEDULE_INIT_DEFAULT}}
|
|
229
234
|
#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
235
|
#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}
|
|
236
|
+
#define BLUESYSTEMAVRUPDATE_INIT_DEFAULT {{0, {0}}}
|
|
231
237
|
#define BLUESYSTEMCONFIG_INIT_DEFAULT {"", BLUEBASECONFIG_INIT_DEFAULT, BLUEBLECONFIG_INIT_DEFAULT, BLUEONLINECONFIG_INIT_DEFAULT, BLUEACCESSCONFIG_INIT_DEFAULT, BLUEOSSCONFIG_INIT_DEFAULT, false, BLUELOCKCONFIG_INIT_DEFAULT}
|
|
232
238
|
#define BLUESYSTEMTIMEUNIX_INIT_DEFAULT {0}
|
|
233
239
|
#define BLUESYSTEMUPDATE_INIT_DEFAULT {false, BLUESYSTEMCONFIG_INIT_DEFAULT, false, BLUESYSTEMTIMEUNIX_INIT_DEFAULT}
|
|
@@ -246,6 +252,7 @@ extern "C" {
|
|
|
246
252
|
#define BLUEACCESSCONFIGGROUP_INIT_ZERO {0, 0, {BLUELOCALTIMESCHEDULE_INIT_ZERO, BLUELOCALTIMESCHEDULE_INIT_ZERO}}
|
|
247
253
|
#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
254
|
#define BLUEOSSCONFIG_INIT_ZERO {{0}, 0, 0, 0, 0, 0, {0}, 0}
|
|
255
|
+
#define BLUESYSTEMAVRUPDATE_INIT_ZERO {{0, {0}}}
|
|
249
256
|
#define BLUESYSTEMCONFIG_INIT_ZERO {"", BLUEBASECONFIG_INIT_ZERO, BLUEBLECONFIG_INIT_ZERO, BLUEONLINECONFIG_INIT_ZERO, BLUEACCESSCONFIG_INIT_ZERO, BLUEOSSCONFIG_INIT_ZERO, false, BLUELOCKCONFIG_INIT_ZERO}
|
|
250
257
|
#define BLUESYSTEMTIMEUNIX_INIT_ZERO {0}
|
|
251
258
|
#define BLUESYSTEMUPDATE_INIT_ZERO {false, BLUESYSTEMCONFIG_INIT_ZERO, false, BLUESYSTEMTIMEUNIX_INIT_ZERO}
|
|
@@ -289,6 +296,7 @@ extern "C" {
|
|
|
289
296
|
#define BLUEOSSCONFIG_SOUPDATEFROMBLACKLIST_TAG 6
|
|
290
297
|
#define BLUEOSSCONFIG_SOMIFAREAESKEY_TAG 7
|
|
291
298
|
#define BLUEOSSCONFIG_SOMIFAREAID_TAG 8
|
|
299
|
+
#define BLUESYSTEMAVRUPDATE_DATA_TAG 1
|
|
292
300
|
#define BLUESYSTEMCONFIG_CONFIGID_TAG 1
|
|
293
301
|
#define BLUESYSTEMCONFIG_BASE_TAG 2
|
|
294
302
|
#define BLUESYSTEMCONFIG_BLE_TAG 3
|
|
@@ -400,6 +408,11 @@ X(a, STATIC, REQUIRED, UINT32, soMifareAid, 8)
|
|
|
400
408
|
#define BLUEOSSCONFIG_CALLBACK NULL
|
|
401
409
|
#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
410
|
|
|
411
|
+
#define BLUESYSTEMAVRUPDATE_FIELDLIST(X, a) \
|
|
412
|
+
X(a, STATIC, REQUIRED, BYTES, data, 1)
|
|
413
|
+
#define BLUESYSTEMAVRUPDATE_CALLBACK NULL
|
|
414
|
+
#define BLUESYSTEMAVRUPDATE_DEFAULT NULL
|
|
415
|
+
|
|
403
416
|
#define BLUESYSTEMCONFIG_FIELDLIST(X, a) \
|
|
404
417
|
X(a, STATIC, REQUIRED, STRING, configId, 1) \
|
|
405
418
|
X(a, STATIC, REQUIRED, MESSAGE, base, 2) \
|
|
@@ -521,6 +534,7 @@ extern const pb_msgdesc_t BlueOnlineConfig_t_msg;
|
|
|
521
534
|
extern const pb_msgdesc_t BlueAccessConfigGroup_t_msg;
|
|
522
535
|
extern const pb_msgdesc_t BlueAccessConfig_t_msg;
|
|
523
536
|
extern const pb_msgdesc_t BlueOssConfig_t_msg;
|
|
537
|
+
extern const pb_msgdesc_t BlueSystemAVRUpdate_t_msg;
|
|
524
538
|
extern const pb_msgdesc_t BlueSystemConfig_t_msg;
|
|
525
539
|
extern const pb_msgdesc_t BlueSystemTimeUnix_t_msg;
|
|
526
540
|
extern const pb_msgdesc_t BlueSystemUpdate_t_msg;
|
|
@@ -541,6 +555,7 @@ extern const pb_msgdesc_t BlueBlacklistEntries_t_msg;
|
|
|
541
555
|
#define BLUEACCESSCONFIGGROUP_FIELDS &BlueAccessConfigGroup_t_msg
|
|
542
556
|
#define BLUEACCESSCONFIG_FIELDS &BlueAccessConfig_t_msg
|
|
543
557
|
#define BLUEOSSCONFIG_FIELDS &BlueOssConfig_t_msg
|
|
558
|
+
#define BLUESYSTEMAVRUPDATE_FIELDS &BlueSystemAVRUpdate_t_msg
|
|
544
559
|
#define BLUESYSTEMCONFIG_FIELDS &BlueSystemConfig_t_msg
|
|
545
560
|
#define BLUESYSTEMTIMEUNIX_FIELDS &BlueSystemTimeUnix_t_msg
|
|
546
561
|
#define BLUESYSTEMUPDATE_FIELDS &BlueSystemUpdate_t_msg
|
|
@@ -564,6 +579,7 @@ extern const pb_msgdesc_t BlueBlacklistEntries_t_msg;
|
|
|
564
579
|
#define BLUEEVENTLOGRESULT_SIZE 1650
|
|
565
580
|
#define BLUEONLINECONFIG_SIZE 224
|
|
566
581
|
#define BLUEOSSCONFIG_SIZE 56
|
|
582
|
+
#define BLUESYSTEMAVRUPDATE_SIZE 1027
|
|
567
583
|
#define BLUESYSTEMCONFIG_SIZE 1657
|
|
568
584
|
#define BLUESYSTEMLOGENTRY_SIZE 152
|
|
569
585
|
#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,27 @@ 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
|
+
|
|
380
401
|
public struct BlueSystemConfig: @unchecked Sendable {
|
|
381
402
|
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
382
403
|
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
@@ -1417,6 +1438,47 @@ extension BlueOssConfig: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementa
|
|
|
1417
1438
|
}
|
|
1418
1439
|
}
|
|
1419
1440
|
|
|
1441
|
+
extension BlueSystemAVRUpdate: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
|
|
1442
|
+
public static let protoMessageName: String = "BlueSystemAVRUpdate"
|
|
1443
|
+
public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
|
|
1444
|
+
1: .same(proto: "data"),
|
|
1445
|
+
]
|
|
1446
|
+
|
|
1447
|
+
public var isInitialized: Bool {
|
|
1448
|
+
if self._data == nil {return false}
|
|
1449
|
+
return true
|
|
1450
|
+
}
|
|
1451
|
+
|
|
1452
|
+
public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
|
|
1453
|
+
while let fieldNumber = try decoder.nextFieldNumber() {
|
|
1454
|
+
// The use of inline closures is to circumvent an issue where the compiler
|
|
1455
|
+
// allocates stack space for every case branch when no optimizations are
|
|
1456
|
+
// enabled. https://github.com/apple/swift-protobuf/issues/1034
|
|
1457
|
+
switch fieldNumber {
|
|
1458
|
+
case 1: try { try decoder.decodeSingularBytesField(value: &self._data) }()
|
|
1459
|
+
default: break
|
|
1460
|
+
}
|
|
1461
|
+
}
|
|
1462
|
+
}
|
|
1463
|
+
|
|
1464
|
+
public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
|
|
1465
|
+
// The use of inline closures is to circumvent an issue where the compiler
|
|
1466
|
+
// allocates stack space for every if/case branch local when no optimizations
|
|
1467
|
+
// are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
|
|
1468
|
+
// https://github.com/apple/swift-protobuf/issues/1182
|
|
1469
|
+
try { if let v = self._data {
|
|
1470
|
+
try visitor.visitSingularBytesField(value: v, fieldNumber: 1)
|
|
1471
|
+
} }()
|
|
1472
|
+
try unknownFields.traverse(visitor: &visitor)
|
|
1473
|
+
}
|
|
1474
|
+
|
|
1475
|
+
public static func ==(lhs: BlueSystemAVRUpdate, rhs: BlueSystemAVRUpdate) -> Bool {
|
|
1476
|
+
if lhs._data != rhs._data {return false}
|
|
1477
|
+
if lhs.unknownFields != rhs.unknownFields {return false}
|
|
1478
|
+
return true
|
|
1479
|
+
}
|
|
1480
|
+
}
|
|
1481
|
+
|
|
1420
1482
|
extension BlueSystemConfig: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
|
|
1421
1483
|
public static let protoMessageName: String = "BlueSystemConfig"
|
|
1422
1484
|
public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
|