@blueid/access-proto 9.20.0 → 9.22.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 +40 -1
- package/BlueSDK.proto +3 -23
- package/cjs/BlueCore_pb.d.ts +182 -0
- package/cjs/BlueCore_pb.js +70 -0
- package/cjs/BlueSDK_pb.d.ts +4 -34
- package/cjs/BlueSDK_pb.js +3 -9
- package/es/BlueCore_pb.d.ts +182 -0
- package/es/BlueCore_pb.js +68 -0
- package/es/BlueSDK_pb.d.ts +4 -34
- package/es/BlueSDK_pb.js +2 -8
- package/nanopb/BlueCore.pb.c +18 -0
- package/nanopb/BlueCore.pb.h +122 -0
- package/nanopb/BlueSDK.pb.c +2 -2
- package/nanopb/BlueSDK.pb.h +8 -26
- package/package.json +1 -1
- package/swift/BlueCore.pb.swift +507 -0
- package/swift/BlueSDK.pb.swift +40 -136
- package/swift/BlueSystem.pb.swift +8 -0
package/es/BlueCore_pb.js
CHANGED
|
@@ -33,6 +33,7 @@ export const BlueReturnCode = proto2.makeEnum(
|
|
|
33
33
|
{no: -20, name: "PointerConversionFailed"},
|
|
34
34
|
{no: -21, name: "Unavailable"},
|
|
35
35
|
{no: -22, name: "Aborted"},
|
|
36
|
+
{no: -23, name: "OutOfMemory"},
|
|
36
37
|
{no: -29, name: "Test"},
|
|
37
38
|
{no: -30, name: "EncodeDataWriteFailed"},
|
|
38
39
|
{no: -31, name: "EncodeDataWriteNothingWritten"},
|
|
@@ -548,6 +549,73 @@ export const BlueSPResult = proto2.makeMessageType(
|
|
|
548
549
|
],
|
|
549
550
|
);
|
|
550
551
|
|
|
552
|
+
/**
|
|
553
|
+
* @generated from message BlueWebSPHandshake
|
|
554
|
+
*/
|
|
555
|
+
export const BlueWebSPHandshake = proto2.makeMessageType(
|
|
556
|
+
"BlueWebSPHandshake",
|
|
557
|
+
() => [
|
|
558
|
+
{ no: 1, name: "salt", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
|
|
559
|
+
],
|
|
560
|
+
);
|
|
561
|
+
|
|
562
|
+
/**
|
|
563
|
+
* @generated from message BlueWebSPHandshakeReply
|
|
564
|
+
*/
|
|
565
|
+
export const BlueWebSPHandshakeReply = proto2.makeMessageType(
|
|
566
|
+
"BlueWebSPHandshakeReply",
|
|
567
|
+
() => [
|
|
568
|
+
{ no: 1, name: "deviceId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
569
|
+
{ no: 2, name: "signature", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
|
|
570
|
+
],
|
|
571
|
+
);
|
|
572
|
+
|
|
573
|
+
/**
|
|
574
|
+
* @generated from message BlueWebSPMessage
|
|
575
|
+
*/
|
|
576
|
+
export const BlueWebSPMessage = proto2.makeMessageType(
|
|
577
|
+
"BlueWebSPMessage",
|
|
578
|
+
() => [
|
|
579
|
+
{ no: 1, name: "transactionId", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
580
|
+
{ no: 2, name: "payload", kind: "message", T: BlueSPResult },
|
|
581
|
+
],
|
|
582
|
+
);
|
|
583
|
+
|
|
584
|
+
/**
|
|
585
|
+
* Message sent by the server to the device
|
|
586
|
+
*
|
|
587
|
+
* @generated from message BlueWebSPServerMessage
|
|
588
|
+
*/
|
|
589
|
+
export const BlueWebSPServerMessage = proto2.makeMessageType(
|
|
590
|
+
"BlueWebSPServerMessage",
|
|
591
|
+
() => [
|
|
592
|
+
{ no: 2, name: "handshake", kind: "message", T: BlueWebSPHandshake, oneof: "payload" },
|
|
593
|
+
{ no: 3, name: "command", kind: "message", T: BlueSPTokenCommand, oneof: "payload" },
|
|
594
|
+
{ no: 4, name: "ossSo", kind: "message", T: BlueOssSoMobile, oneof: "payload" },
|
|
595
|
+
{ no: 5, name: "ossSid", kind: "message", T: BlueOssSidMobile, oneof: "payload" },
|
|
596
|
+
],
|
|
597
|
+
);
|
|
598
|
+
|
|
599
|
+
/**
|
|
600
|
+
* TODO: payload
|
|
601
|
+
*
|
|
602
|
+
* @generated from message BlueWebSPClientMessage
|
|
603
|
+
*/
|
|
604
|
+
export const BlueWebSPClientMessage = proto2.makeMessageType(
|
|
605
|
+
"BlueWebSPClientMessage",
|
|
606
|
+
[],
|
|
607
|
+
);
|
|
608
|
+
|
|
609
|
+
/**
|
|
610
|
+
* @generated from message BlueWebSPStatusMessage
|
|
611
|
+
*/
|
|
612
|
+
export const BlueWebSPStatusMessage = proto2.makeMessageType(
|
|
613
|
+
"BlueWebSPStatusMessage",
|
|
614
|
+
() => [
|
|
615
|
+
{ no: 1, name: "status", kind: "enum", T: proto2.getEnumType(BlueReturnCode) },
|
|
616
|
+
],
|
|
617
|
+
);
|
|
618
|
+
|
|
551
619
|
/**
|
|
552
620
|
* @generated from message BlueOssAccessResult
|
|
553
621
|
*/
|
package/es/BlueSDK_pb.d.ts
CHANGED
|
@@ -303,9 +303,9 @@ export declare class BlueI18n extends Message<BlueI18n> {
|
|
|
303
303
|
dfuCompletedTitle: string;
|
|
304
304
|
|
|
305
305
|
/**
|
|
306
|
-
* @generated from field: required string
|
|
306
|
+
* @generated from field: required string dfuGetAuthenticationTokenTaskLabel = 45 [default = "Issue authentication token"];
|
|
307
307
|
*/
|
|
308
|
-
|
|
308
|
+
dfuGetAuthenticationTokenTaskLabel: string;
|
|
309
309
|
|
|
310
310
|
/**
|
|
311
311
|
* @generated from field: required string dfuCheckLatestFWLabel = 46 [default = "Check latest firmware"];
|
|
@@ -338,9 +338,9 @@ export declare class BlueI18n extends Message<BlueI18n> {
|
|
|
338
338
|
dfuUpdateFWLabel: string;
|
|
339
339
|
|
|
340
340
|
/**
|
|
341
|
-
* @generated from field: required string
|
|
341
|
+
* @generated from field: required string dfuWaitForDeviceToRestartTaskLabel = 52 [default = "Wait for device to restart"];
|
|
342
342
|
*/
|
|
343
|
-
|
|
343
|
+
dfuWaitForDeviceToRestartTaskLabel: string;
|
|
344
344
|
|
|
345
345
|
/**
|
|
346
346
|
* @generated from field: required string accessTypeDefaultTime = 53 [default = "Default"];
|
|
@@ -382,36 +382,6 @@ export declare class BlueI18n extends Message<BlueI18n> {
|
|
|
382
382
|
*/
|
|
383
383
|
provisioningDone: string;
|
|
384
384
|
|
|
385
|
-
/**
|
|
386
|
-
* @generated from field: required string checkCurrentAVR = 62 [default = "Check current AVR"];
|
|
387
|
-
*/
|
|
388
|
-
checkCurrentAVR: string;
|
|
389
|
-
|
|
390
|
-
/**
|
|
391
|
-
* @generated from field: required string checkIfAVRUpdateNedded = 63 [default = "Check If AVR needs to update"];
|
|
392
|
-
*/
|
|
393
|
-
checkIfAVRUpdateNedded: string;
|
|
394
|
-
|
|
395
|
-
/**
|
|
396
|
-
* @generated from field: required string downloadAVR = 64 [default = "Download AVR"];
|
|
397
|
-
*/
|
|
398
|
-
downloadAVR: string;
|
|
399
|
-
|
|
400
|
-
/**
|
|
401
|
-
* @generated from field: required string downloadingAVR = 65 [default = "Downloading AVR %d.%d.%d"];
|
|
402
|
-
*/
|
|
403
|
-
downloadingAVR: string;
|
|
404
|
-
|
|
405
|
-
/**
|
|
406
|
-
* @generated from field: required string updateAVR = 66 [default = "Update AVR"];
|
|
407
|
-
*/
|
|
408
|
-
updateAVR: string;
|
|
409
|
-
|
|
410
|
-
/**
|
|
411
|
-
* @generated from field: required string avrIsAlreadyUpToDate = 67 [default = "AVR is already up to date"];
|
|
412
|
-
*/
|
|
413
|
-
avrIsAlreadyUpToDate: string;
|
|
414
|
-
|
|
415
385
|
constructor(data?: PartialMessage<BlueI18n>);
|
|
416
386
|
|
|
417
387
|
static readonly runtime: typeof proto2;
|
package/es/BlueSDK_pb.js
CHANGED
|
@@ -87,14 +87,14 @@ export const BlueI18n = proto2.makeMessageType(
|
|
|
87
87
|
{ no: 42, name: "dfuFailedTitle", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Update has failed" },
|
|
88
88
|
{ no: 43, name: "dfuCancellingTitle", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Cancelling..." },
|
|
89
89
|
{ no: 44, name: "dfuCompletedTitle", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Update has been completed" },
|
|
90
|
-
{ no: 45, name: "
|
|
90
|
+
{ no: 45, name: "dfuGetAuthenticationTokenTaskLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Issue authentication token" },
|
|
91
91
|
{ no: 46, name: "dfuCheckLatestFWLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Check latest firmware" },
|
|
92
92
|
{ no: 47, name: "dfuDownloadLatestFWLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Download latest firmware" },
|
|
93
93
|
{ no: 48, name: "dfuPrepareUpdateLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Prepare Update" },
|
|
94
94
|
{ no: 49, name: "dfuStartBootloaderLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Start Bootloader" },
|
|
95
95
|
{ no: 50, name: "dfuInitializationLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "DFU initialization" },
|
|
96
96
|
{ no: 51, name: "dfuUpdateFWLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Update firmware" },
|
|
97
|
-
{ no: 52, name: "
|
|
97
|
+
{ no: 52, name: "dfuWaitForDeviceToRestartTaskLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Wait for device to restart" },
|
|
98
98
|
{ no: 53, name: "accessTypeDefaultTime", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Default" },
|
|
99
99
|
{ no: 54, name: "accessTypeExtendedTime", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Extended" },
|
|
100
100
|
{ no: 55, name: "accessTypeToggle", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Toggle" },
|
|
@@ -103,12 +103,6 @@ export const BlueI18n = proto2.makeMessageType(
|
|
|
103
103
|
{ no: 58, name: "openViaOssSoSelectAccessTypeTitle", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Select an access type" },
|
|
104
104
|
{ no: 59, name: "openViaOssSoSelectAccessTypeMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "You have multiple access types available." },
|
|
105
105
|
{ no: 60, name: "provisioningDone", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Device %s has been provisioned. Please wait a few seconds for it to be ready for setup. If it doesn’t discover, try removing the batteries and restarting the lock." },
|
|
106
|
-
{ no: 62, name: "checkCurrentAVR", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Check current AVR" },
|
|
107
|
-
{ no: 63, name: "checkIfAVRUpdateNedded", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Check If AVR needs to update" },
|
|
108
|
-
{ no: 64, name: "downloadAVR", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Download AVR" },
|
|
109
|
-
{ no: 65, name: "downloadingAVR", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Downloading AVR %d.%d.%d" },
|
|
110
|
-
{ no: 66, name: "updateAVR", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Update AVR" },
|
|
111
|
-
{ no: 67, name: "avrIsAlreadyUpToDate", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "AVR is already up to date" },
|
|
112
106
|
],
|
|
113
107
|
);
|
|
114
108
|
|
package/nanopb/BlueCore.pb.c
CHANGED
|
@@ -51,6 +51,24 @@ PB_BIND(BLUESPTOKEN, BlueSPToken_t, 2)
|
|
|
51
51
|
PB_BIND(BLUESPRESULT, BlueSPResult_t, 2)
|
|
52
52
|
|
|
53
53
|
|
|
54
|
+
PB_BIND(BLUEWEBSPHANDSHAKE, BlueWebSPHandshake_t, AUTO)
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
PB_BIND(BLUEWEBSPHANDSHAKEREPLY, BlueWebSPHandshakeReply_t, AUTO)
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
PB_BIND(BLUEWEBSPMESSAGE, BlueWebSPMessage_t, 2)
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
PB_BIND(BLUEWEBSPSERVERMESSAGE, BlueWebSPServerMessage_t, 2)
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
PB_BIND(BLUEWEBSPCLIENTMESSAGE, BlueWebSPClientMessage_t, AUTO)
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
PB_BIND(BLUEWEBSPSTATUSMESSAGE, BlueWebSPStatusMessage_t, AUTO)
|
|
70
|
+
|
|
71
|
+
|
|
54
72
|
PB_BIND(BLUEOSSACCESSRESULT, BlueOssAccessResult_t, AUTO)
|
|
55
73
|
|
|
56
74
|
|
package/nanopb/BlueCore.pb.h
CHANGED
|
@@ -35,6 +35,7 @@ typedef enum BlueReturnCode {
|
|
|
35
35
|
BlueReturnCode_PointerConversionFailed = -20,
|
|
36
36
|
BlueReturnCode_Unavailable = -21,
|
|
37
37
|
BlueReturnCode_Aborted = -22,
|
|
38
|
+
BlueReturnCode_OutOfMemory = -23,
|
|
38
39
|
BlueReturnCode_Test = -29,
|
|
39
40
|
BlueReturnCode_EncodeDataWriteFailed = -30,
|
|
40
41
|
BlueReturnCode_EncodeDataWriteNothingWritten = -31,
|
|
@@ -406,6 +407,29 @@ typedef struct BlueSPResult {
|
|
|
406
407
|
BlueSPResult_data_t data; /* we'll add 256b for add. data */
|
|
407
408
|
} BlueSPResult_t;
|
|
408
409
|
|
|
410
|
+
typedef struct BlueWebSPHandshake {
|
|
411
|
+
pb_byte_t salt[16];
|
|
412
|
+
} BlueWebSPHandshake_t;
|
|
413
|
+
|
|
414
|
+
typedef PB_BYTES_ARRAY_T(74) BlueWebSPHandshakeReply_signature_t;
|
|
415
|
+
typedef struct BlueWebSPHandshakeReply {
|
|
416
|
+
char deviceId[9];
|
|
417
|
+
BlueWebSPHandshakeReply_signature_t signature;
|
|
418
|
+
} BlueWebSPHandshakeReply_t;
|
|
419
|
+
|
|
420
|
+
typedef struct BlueWebSPMessage {
|
|
421
|
+
uint8_t transactionId;
|
|
422
|
+
BlueSPResult_t payload;
|
|
423
|
+
} BlueWebSPMessage_t;
|
|
424
|
+
|
|
425
|
+
typedef struct BlueWebSPClientMessage { /* TODO: payload */
|
|
426
|
+
char dummy_field;
|
|
427
|
+
} BlueWebSPClientMessage_t;
|
|
428
|
+
|
|
429
|
+
typedef struct BlueWebSPStatusMessage {
|
|
430
|
+
BlueReturnCode_t status;
|
|
431
|
+
} BlueWebSPStatusMessage_t;
|
|
432
|
+
|
|
409
433
|
typedef struct BlueOssAccessResult {
|
|
410
434
|
/* If access is granted or not */
|
|
411
435
|
bool accessGranted;
|
|
@@ -700,6 +724,17 @@ typedef struct BlueSPToken {
|
|
|
700
724
|
} payload;
|
|
701
725
|
} BlueSPToken_t;
|
|
702
726
|
|
|
727
|
+
/* Message sent by the server to the device */
|
|
728
|
+
typedef struct BlueWebSPServerMessage {
|
|
729
|
+
pb_size_t which_payload;
|
|
730
|
+
union {
|
|
731
|
+
BlueWebSPHandshake_t handshake;
|
|
732
|
+
BlueSPTokenCommand_t command;
|
|
733
|
+
BlueOssSoMobile_t ossSo;
|
|
734
|
+
BlueOssSidMobile_t ossSid;
|
|
735
|
+
} payload;
|
|
736
|
+
} BlueWebSPServerMessage_t;
|
|
737
|
+
|
|
703
738
|
typedef struct BlueOssSoMobileProvisioningConfiguration {
|
|
704
739
|
uint32_t numberOfDoors;
|
|
705
740
|
uint32_t numberOfDTSchedules;
|
|
@@ -844,6 +879,13 @@ extern "C" {
|
|
|
844
879
|
|
|
845
880
|
|
|
846
881
|
|
|
882
|
+
|
|
883
|
+
|
|
884
|
+
|
|
885
|
+
|
|
886
|
+
|
|
887
|
+
#define BlueWebSPStatusMessage_t_status_ENUMTYPE BlueReturnCode_t
|
|
888
|
+
|
|
847
889
|
#define BlueOssAccessResult_t_accessType_ENUMTYPE BlueAccessType_t
|
|
848
890
|
|
|
849
891
|
|
|
@@ -909,6 +951,12 @@ extern "C" {
|
|
|
909
951
|
#define BLUESPTOKENCOMMAND_INIT_DEFAULT {BLUECREDENTIALID_INIT_DEFAULT, BLUELOCALTIMESTAMP_INIT_DEFAULT, BLUELOCALTIMESTAMP_INIT_DEFAULT, "", {0, {0}}}
|
|
910
952
|
#define BLUESPTOKEN_INIT_DEFAULT {{0, {0}}, 0, {BLUESPTOKENCOMMAND_INIT_DEFAULT}}
|
|
911
953
|
#define BLUESPRESULT_INIT_DEFAULT {{0, {0}}}
|
|
954
|
+
#define BLUEWEBSPHANDSHAKE_INIT_DEFAULT {{0}}
|
|
955
|
+
#define BLUEWEBSPHANDSHAKEREPLY_INIT_DEFAULT {"", {0, {0}}}
|
|
956
|
+
#define BLUEWEBSPMESSAGE_INIT_DEFAULT {0, BLUESPRESULT_INIT_DEFAULT}
|
|
957
|
+
#define BLUEWEBSPSERVERMESSAGE_INIT_DEFAULT {0, {BLUEWEBSPHANDSHAKE_INIT_DEFAULT}}
|
|
958
|
+
#define BLUEWEBSPCLIENTMESSAGE_INIT_DEFAULT {0}
|
|
959
|
+
#define BLUEWEBSPSTATUSMESSAGE_INIT_DEFAULT {_BLUERETURNCODE_MIN}
|
|
912
960
|
#define BLUEOSSACCESSRESULT_INIT_DEFAULT {0, _BLUEACCESSTYPE_MIN, 0, BLUELOCALTIMESTAMP_INIT_DEFAULT, 0, false, 0u}
|
|
913
961
|
#define BLUEOSSACCESSEVENTSRESULT_INIT_DEFAULT {BLUEOSSACCESSRESULT_INIT_DEFAULT, 0, {BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT, BLUEEVENT_INIT_DEFAULT}}
|
|
914
962
|
#define BLUEOSSSIDVERSION_INIT_DEFAULT {false, 1u, false, 0u}
|
|
@@ -965,6 +1013,12 @@ extern "C" {
|
|
|
965
1013
|
#define BLUESPTOKENCOMMAND_INIT_ZERO {BLUECREDENTIALID_INIT_ZERO, BLUELOCALTIMESTAMP_INIT_ZERO, BLUELOCALTIMESTAMP_INIT_ZERO, "", {0, {0}}}
|
|
966
1014
|
#define BLUESPTOKEN_INIT_ZERO {{0, {0}}, 0, {BLUESPTOKENCOMMAND_INIT_ZERO}}
|
|
967
1015
|
#define BLUESPRESULT_INIT_ZERO {{0, {0}}}
|
|
1016
|
+
#define BLUEWEBSPHANDSHAKE_INIT_ZERO {{0}}
|
|
1017
|
+
#define BLUEWEBSPHANDSHAKEREPLY_INIT_ZERO {"", {0, {0}}}
|
|
1018
|
+
#define BLUEWEBSPMESSAGE_INIT_ZERO {0, BLUESPRESULT_INIT_ZERO}
|
|
1019
|
+
#define BLUEWEBSPSERVERMESSAGE_INIT_ZERO {0, {BLUEWEBSPHANDSHAKE_INIT_ZERO}}
|
|
1020
|
+
#define BLUEWEBSPCLIENTMESSAGE_INIT_ZERO {0}
|
|
1021
|
+
#define BLUEWEBSPSTATUSMESSAGE_INIT_ZERO {_BLUERETURNCODE_MIN}
|
|
968
1022
|
#define BLUEOSSACCESSRESULT_INIT_ZERO {0, _BLUEACCESSTYPE_MIN, 0, BLUELOCALTIMESTAMP_INIT_ZERO, 0, false, 0}
|
|
969
1023
|
#define BLUEOSSACCESSEVENTSRESULT_INIT_ZERO {BLUEOSSACCESSRESULT_INIT_ZERO, 0, {BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO, BLUEEVENT_INIT_ZERO}}
|
|
970
1024
|
#define BLUEOSSSIDVERSION_INIT_ZERO {false, 0, false, 0}
|
|
@@ -1058,6 +1112,12 @@ extern "C" {
|
|
|
1058
1112
|
#define BLUESPTOKENCOMMAND_COMMAND_TAG 4
|
|
1059
1113
|
#define BLUESPTOKENCOMMAND_DATA_TAG 5
|
|
1060
1114
|
#define BLUESPRESULT_DATA_TAG 1
|
|
1115
|
+
#define BLUEWEBSPHANDSHAKE_SALT_TAG 1
|
|
1116
|
+
#define BLUEWEBSPHANDSHAKEREPLY_DEVICEID_TAG 1
|
|
1117
|
+
#define BLUEWEBSPHANDSHAKEREPLY_SIGNATURE_TAG 2
|
|
1118
|
+
#define BLUEWEBSPMESSAGE_TRANSACTIONID_TAG 1
|
|
1119
|
+
#define BLUEWEBSPMESSAGE_PAYLOAD_TAG 2
|
|
1120
|
+
#define BLUEWEBSPSTATUSMESSAGE_STATUS_TAG 1
|
|
1061
1121
|
#define BLUEOSSACCESSRESULT_ACCESSGRANTED_TAG 1
|
|
1062
1122
|
#define BLUEOSSACCESSRESULT_ACCESSTYPE_TAG 2
|
|
1063
1123
|
#define BLUEOSSACCESSRESULT_ACCESSINFO_TAG 3
|
|
@@ -1173,6 +1233,10 @@ extern "C" {
|
|
|
1173
1233
|
#define BLUESPTOKEN_COMMAND_TAG 2
|
|
1174
1234
|
#define BLUESPTOKEN_OSSSO_TAG 3
|
|
1175
1235
|
#define BLUESPTOKEN_OSSSID_TAG 4
|
|
1236
|
+
#define BLUEWEBSPSERVERMESSAGE_HANDSHAKE_TAG 2
|
|
1237
|
+
#define BLUEWEBSPSERVERMESSAGE_COMMAND_TAG 3
|
|
1238
|
+
#define BLUEWEBSPSERVERMESSAGE_OSSSO_TAG 4
|
|
1239
|
+
#define BLUEWEBSPSERVERMESSAGE_OSSSID_TAG 5
|
|
1176
1240
|
#define BLUEOSSSOMOBILEPROVISIONINGCONFIGURATION_NUMBEROFDOORS_TAG 1
|
|
1177
1241
|
#define BLUEOSSSOMOBILEPROVISIONINGCONFIGURATION_NUMBEROFDTSCHEDULES_TAG 2
|
|
1178
1242
|
#define BLUEOSSSOMOBILEPROVISIONINGCONFIGURATION_NUMBEROFDAYIDSPERDTSCHEDULE_TAG 3
|
|
@@ -1326,6 +1390,46 @@ X(a, STATIC, REQUIRED, BYTES, data, 1)
|
|
|
1326
1390
|
#define BLUESPRESULT_CALLBACK NULL
|
|
1327
1391
|
#define BLUESPRESULT_DEFAULT NULL
|
|
1328
1392
|
|
|
1393
|
+
#define BLUEWEBSPHANDSHAKE_FIELDLIST(X, a) \
|
|
1394
|
+
X(a, STATIC, REQUIRED, FIXED_LENGTH_BYTES, salt, 1)
|
|
1395
|
+
#define BLUEWEBSPHANDSHAKE_CALLBACK NULL
|
|
1396
|
+
#define BLUEWEBSPHANDSHAKE_DEFAULT NULL
|
|
1397
|
+
|
|
1398
|
+
#define BLUEWEBSPHANDSHAKEREPLY_FIELDLIST(X, a) \
|
|
1399
|
+
X(a, STATIC, REQUIRED, STRING, deviceId, 1) \
|
|
1400
|
+
X(a, STATIC, REQUIRED, BYTES, signature, 2)
|
|
1401
|
+
#define BLUEWEBSPHANDSHAKEREPLY_CALLBACK NULL
|
|
1402
|
+
#define BLUEWEBSPHANDSHAKEREPLY_DEFAULT NULL
|
|
1403
|
+
|
|
1404
|
+
#define BLUEWEBSPMESSAGE_FIELDLIST(X, a) \
|
|
1405
|
+
X(a, STATIC, REQUIRED, UINT32, transactionId, 1) \
|
|
1406
|
+
X(a, STATIC, REQUIRED, MESSAGE, payload, 2)
|
|
1407
|
+
#define BLUEWEBSPMESSAGE_CALLBACK NULL
|
|
1408
|
+
#define BLUEWEBSPMESSAGE_DEFAULT NULL
|
|
1409
|
+
#define BlueWebSPMessage_t_payload_MSGTYPE BlueSPResult_t
|
|
1410
|
+
|
|
1411
|
+
#define BLUEWEBSPSERVERMESSAGE_FIELDLIST(X, a) \
|
|
1412
|
+
X(a, STATIC, ONEOF, MESSAGE, (payload,handshake,payload.handshake), 2) \
|
|
1413
|
+
X(a, STATIC, ONEOF, MESSAGE, (payload,command,payload.command), 3) \
|
|
1414
|
+
X(a, STATIC, ONEOF, MESSAGE, (payload,ossSo,payload.ossSo), 4) \
|
|
1415
|
+
X(a, STATIC, ONEOF, MESSAGE, (payload,ossSid,payload.ossSid), 5)
|
|
1416
|
+
#define BLUEWEBSPSERVERMESSAGE_CALLBACK NULL
|
|
1417
|
+
#define BLUEWEBSPSERVERMESSAGE_DEFAULT NULL
|
|
1418
|
+
#define BlueWebSPServerMessage_t_payload_handshake_MSGTYPE BlueWebSPHandshake_t
|
|
1419
|
+
#define BlueWebSPServerMessage_t_payload_command_MSGTYPE BlueSPTokenCommand_t
|
|
1420
|
+
#define BlueWebSPServerMessage_t_payload_ossSo_MSGTYPE BlueOssSoMobile_t
|
|
1421
|
+
#define BlueWebSPServerMessage_t_payload_ossSid_MSGTYPE BlueOssSidMobile_t
|
|
1422
|
+
|
|
1423
|
+
#define BLUEWEBSPCLIENTMESSAGE_FIELDLIST(X, a) \
|
|
1424
|
+
|
|
1425
|
+
#define BLUEWEBSPCLIENTMESSAGE_CALLBACK NULL
|
|
1426
|
+
#define BLUEWEBSPCLIENTMESSAGE_DEFAULT NULL
|
|
1427
|
+
|
|
1428
|
+
#define BLUEWEBSPSTATUSMESSAGE_FIELDLIST(X, a) \
|
|
1429
|
+
X(a, STATIC, REQUIRED, ENUM, status, 1)
|
|
1430
|
+
#define BLUEWEBSPSTATUSMESSAGE_CALLBACK NULL
|
|
1431
|
+
#define BLUEWEBSPSTATUSMESSAGE_DEFAULT NULL
|
|
1432
|
+
|
|
1329
1433
|
#define BLUEOSSACCESSRESULT_FIELDLIST(X, a) \
|
|
1330
1434
|
X(a, STATIC, REQUIRED, BOOL, accessGranted, 1) \
|
|
1331
1435
|
X(a, STATIC, REQUIRED, UENUM, accessType, 2) \
|
|
@@ -1677,6 +1781,12 @@ extern const pb_msgdesc_t BlueSPHandshakeReply_t_msg;
|
|
|
1677
1781
|
extern const pb_msgdesc_t BlueSPTokenCommand_t_msg;
|
|
1678
1782
|
extern const pb_msgdesc_t BlueSPToken_t_msg;
|
|
1679
1783
|
extern const pb_msgdesc_t BlueSPResult_t_msg;
|
|
1784
|
+
extern const pb_msgdesc_t BlueWebSPHandshake_t_msg;
|
|
1785
|
+
extern const pb_msgdesc_t BlueWebSPHandshakeReply_t_msg;
|
|
1786
|
+
extern const pb_msgdesc_t BlueWebSPMessage_t_msg;
|
|
1787
|
+
extern const pb_msgdesc_t BlueWebSPServerMessage_t_msg;
|
|
1788
|
+
extern const pb_msgdesc_t BlueWebSPClientMessage_t_msg;
|
|
1789
|
+
extern const pb_msgdesc_t BlueWebSPStatusMessage_t_msg;
|
|
1680
1790
|
extern const pb_msgdesc_t BlueOssAccessResult_t_msg;
|
|
1681
1791
|
extern const pb_msgdesc_t BlueOssAccessEventsResult_t_msg;
|
|
1682
1792
|
extern const pb_msgdesc_t BlueOssSidVersion_t_msg;
|
|
@@ -1735,6 +1845,12 @@ extern const pb_msgdesc_t _BlueTestEncodeDecode_t_msg;
|
|
|
1735
1845
|
#define BLUESPTOKENCOMMAND_FIELDS &BlueSPTokenCommand_t_msg
|
|
1736
1846
|
#define BLUESPTOKEN_FIELDS &BlueSPToken_t_msg
|
|
1737
1847
|
#define BLUESPRESULT_FIELDS &BlueSPResult_t_msg
|
|
1848
|
+
#define BLUEWEBSPHANDSHAKE_FIELDS &BlueWebSPHandshake_t_msg
|
|
1849
|
+
#define BLUEWEBSPHANDSHAKEREPLY_FIELDS &BlueWebSPHandshakeReply_t_msg
|
|
1850
|
+
#define BLUEWEBSPMESSAGE_FIELDS &BlueWebSPMessage_t_msg
|
|
1851
|
+
#define BLUEWEBSPSERVERMESSAGE_FIELDS &BlueWebSPServerMessage_t_msg
|
|
1852
|
+
#define BLUEWEBSPCLIENTMESSAGE_FIELDS &BlueWebSPClientMessage_t_msg
|
|
1853
|
+
#define BLUEWEBSPSTATUSMESSAGE_FIELDS &BlueWebSPStatusMessage_t_msg
|
|
1738
1854
|
#define BLUEOSSACCESSRESULT_FIELDS &BlueOssAccessResult_t_msg
|
|
1739
1855
|
#define BLUEOSSACCESSEVENTSRESULT_FIELDS &BlueOssAccessEventsResult_t_msg
|
|
1740
1856
|
#define BLUEOSSSIDVERSION_FIELDS &BlueOssSidVersion_t_msg
|
|
@@ -1833,6 +1949,12 @@ extern const pb_msgdesc_t _BlueTestEncodeDecode_t_msg;
|
|
|
1833
1949
|
#define BLUESPTOKENCOMMAND_SIZE 1861
|
|
1834
1950
|
#define BLUESPTOKEN_SIZE 1940
|
|
1835
1951
|
#define BLUEVERSIONINFO_SIZE 14
|
|
1952
|
+
#define BLUEWEBSPCLIENTMESSAGE_SIZE 0
|
|
1953
|
+
#define BLUEWEBSPHANDSHAKEREPLY_SIZE 86
|
|
1954
|
+
#define BLUEWEBSPHANDSHAKE_SIZE 18
|
|
1955
|
+
#define BLUEWEBSPMESSAGE_SIZE 1801
|
|
1956
|
+
#define BLUEWEBSPSERVERMESSAGE_SIZE 1864
|
|
1957
|
+
#define BLUEWEBSPSTATUSMESSAGE_SIZE 11
|
|
1836
1958
|
#define _BLUETESTENCODEDECODE_SIZE 90
|
|
1837
1959
|
|
|
1838
1960
|
#ifdef __cplusplus
|
package/nanopb/BlueSDK.pb.c
CHANGED
|
@@ -88,8 +88,8 @@ PB_BIND(BLUESYNCHRONIZEACCESSCREDENTIALS, BlueSynchronizeAccessCredentials_t, AU
|
|
|
88
88
|
|
|
89
89
|
|
|
90
90
|
/* Check that missing required fields will be properly detected */
|
|
91
|
-
#if PB_MAX_REQUIRED_FIELDS <
|
|
91
|
+
#if PB_MAX_REQUIRED_FIELDS < 66
|
|
92
92
|
#error Properly detecting missing required fields in BlueI18n requires \
|
|
93
|
-
setting PB_MAX_REQUIRED_FIELDS to
|
|
93
|
+
setting PB_MAX_REQUIRED_FIELDS to 66 or more.
|
|
94
94
|
#endif
|
|
95
95
|
|
package/nanopb/BlueSDK.pb.h
CHANGED
|
@@ -70,14 +70,14 @@ typedef struct BlueI18n {
|
|
|
70
70
|
pb_callback_t dfuFailedTitle;
|
|
71
71
|
pb_callback_t dfuCancellingTitle;
|
|
72
72
|
pb_callback_t dfuCompletedTitle;
|
|
73
|
-
pb_callback_t
|
|
73
|
+
pb_callback_t dfuGetAuthenticationTokenTaskLabel;
|
|
74
74
|
pb_callback_t dfuCheckLatestFWLabel;
|
|
75
75
|
pb_callback_t dfuDownloadLatestFWLabel;
|
|
76
76
|
pb_callback_t dfuPrepareUpdateLabel;
|
|
77
77
|
pb_callback_t dfuStartBootloaderLabel;
|
|
78
78
|
pb_callback_t dfuInitializationLabel;
|
|
79
79
|
pb_callback_t dfuUpdateFWLabel;
|
|
80
|
-
pb_callback_t
|
|
80
|
+
pb_callback_t dfuWaitForDeviceToRestartTaskLabel;
|
|
81
81
|
pb_callback_t accessTypeDefaultTime;
|
|
82
82
|
pb_callback_t accessTypeExtendedTime;
|
|
83
83
|
pb_callback_t accessTypeToggle;
|
|
@@ -86,12 +86,6 @@ typedef struct BlueI18n {
|
|
|
86
86
|
pb_callback_t openViaOssSoSelectAccessTypeTitle;
|
|
87
87
|
pb_callback_t openViaOssSoSelectAccessTypeMessage;
|
|
88
88
|
pb_callback_t provisioningDone;
|
|
89
|
-
pb_callback_t checkCurrentAVR;
|
|
90
|
-
pb_callback_t checkIfAVRUpdateNedded;
|
|
91
|
-
pb_callback_t downloadAVR;
|
|
92
|
-
pb_callback_t downloadingAVR;
|
|
93
|
-
pb_callback_t updateAVR;
|
|
94
|
-
pb_callback_t avrIsAlreadyUpToDate;
|
|
95
89
|
pb_callback_t nfcTransponderConnected;
|
|
96
90
|
pb_callback_t nfcTransponderDisconnected;
|
|
97
91
|
pb_callback_t nfcTransponderSuccessReadMessage;
|
|
@@ -336,7 +330,7 @@ extern "C" {
|
|
|
336
330
|
|
|
337
331
|
|
|
338
332
|
/* Initializer values for message structs */
|
|
339
|
-
#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}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}
|
|
333
|
+
#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}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
|
|
340
334
|
#define BLUEDEVICEDETAILSBLUETOOTH_INIT_DEFAULT {0, 0, 0}
|
|
341
335
|
#define BLUEDEVICEDETAILSUWB_INIT_DEFAULT {0}
|
|
342
336
|
#define BLUEDEVICEINFO_INIT_DEFAULT {_BLUEDEVICETYPE_MIN, {{NULL}, NULL}, 0, false, BLUEBLEMANUFACTURERINFO_INIT_DEFAULT, 0, {BLUEDEVICEDETAILSBLUETOOTH_INIT_DEFAULT}}
|
|
@@ -362,7 +356,7 @@ extern "C" {
|
|
|
362
356
|
#define BLUEREFRESHOSSSOCREDENTIALS_INIT_DEFAULT {{{NULL}, NULL}}
|
|
363
357
|
#define BLUESYNCHRONIZEACCESSCREDENTIAL_INIT_DEFAULT {BLUECREDENTIALID_INIT_DEFAULT, _BLUERETURNCODE_MIN, {{NULL}, NULL}}
|
|
364
358
|
#define BLUESYNCHRONIZEACCESSCREDENTIALS_INIT_DEFAULT {{{NULL}, NULL}}
|
|
365
|
-
#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}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}
|
|
359
|
+
#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}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
|
|
366
360
|
#define BLUEDEVICEDETAILSBLUETOOTH_INIT_ZERO {0, 0, 0}
|
|
367
361
|
#define BLUEDEVICEDETAILSUWB_INIT_ZERO {0}
|
|
368
362
|
#define BLUEDEVICEINFO_INIT_ZERO {_BLUEDEVICETYPE_MIN, {{NULL}, NULL}, 0, false, BLUEBLEMANUFACTURERINFO_INIT_ZERO, 0, {BLUEDEVICEDETAILSBLUETOOTH_INIT_ZERO}}
|
|
@@ -434,14 +428,14 @@ extern "C" {
|
|
|
434
428
|
#define BLUEI18N_DFUFAILEDTITLE_TAG 42
|
|
435
429
|
#define BLUEI18N_DFUCANCELLINGTITLE_TAG 43
|
|
436
430
|
#define BLUEI18N_DFUCOMPLETEDTITLE_TAG 44
|
|
437
|
-
#define
|
|
431
|
+
#define BLUEI18N_DFUGETAUTHENTICATIONTOKENTASKLABEL_TAG 45
|
|
438
432
|
#define BLUEI18N_DFUCHECKLATESTFWLABEL_TAG 46
|
|
439
433
|
#define BLUEI18N_DFUDOWNLOADLATESTFWLABEL_TAG 47
|
|
440
434
|
#define BLUEI18N_DFUPREPAREUPDATELABEL_TAG 48
|
|
441
435
|
#define BLUEI18N_DFUSTARTBOOTLOADERLABEL_TAG 49
|
|
442
436
|
#define BLUEI18N_DFUINITIALIZATIONLABEL_TAG 50
|
|
443
437
|
#define BLUEI18N_DFUUPDATEFWLABEL_TAG 51
|
|
444
|
-
#define
|
|
438
|
+
#define BLUEI18N_DFUWAITFORDEVICETORESTARTTASKLABEL_TAG 52
|
|
445
439
|
#define BLUEI18N_ACCESSTYPEDEFAULTTIME_TAG 53
|
|
446
440
|
#define BLUEI18N_ACCESSTYPEEXTENDEDTIME_TAG 54
|
|
447
441
|
#define BLUEI18N_ACCESSTYPETOGGLE_TAG 55
|
|
@@ -450,12 +444,6 @@ extern "C" {
|
|
|
450
444
|
#define BLUEI18N_OPENVIAOSSSOSELECTACCESSTYPETITLE_TAG 58
|
|
451
445
|
#define BLUEI18N_OPENVIAOSSSOSELECTACCESSTYPEMESSAGE_TAG 59
|
|
452
446
|
#define BLUEI18N_PROVISIONINGDONE_TAG 60
|
|
453
|
-
#define BLUEI18N_CHECKCURRENTAVR_TAG 62
|
|
454
|
-
#define BLUEI18N_CHECKIFAVRUPDATENEDDED_TAG 63
|
|
455
|
-
#define BLUEI18N_DOWNLOADAVR_TAG 64
|
|
456
|
-
#define BLUEI18N_DOWNLOADINGAVR_TAG 65
|
|
457
|
-
#define BLUEI18N_UPDATEAVR_TAG 66
|
|
458
|
-
#define BLUEI18N_AVRISALREADYUPTODATE_TAG 67
|
|
459
447
|
#define BLUEI18N_NFCTRANSPONDERCONNECTED_TAG 100
|
|
460
448
|
#define BLUEI18N_NFCTRANSPONDERDISCONNECTED_TAG 101
|
|
461
449
|
#define BLUEI18N_NFCTRANSPONDERSUCCESSREADMESSAGE_TAG 102
|
|
@@ -598,14 +586,14 @@ X(a, CALLBACK, REQUIRED, STRING, dfuInProgressTitle, 41) \
|
|
|
598
586
|
X(a, CALLBACK, REQUIRED, STRING, dfuFailedTitle, 42) \
|
|
599
587
|
X(a, CALLBACK, REQUIRED, STRING, dfuCancellingTitle, 43) \
|
|
600
588
|
X(a, CALLBACK, REQUIRED, STRING, dfuCompletedTitle, 44) \
|
|
601
|
-
X(a, CALLBACK, REQUIRED, STRING,
|
|
589
|
+
X(a, CALLBACK, REQUIRED, STRING, dfuGetAuthenticationTokenTaskLabel, 45) \
|
|
602
590
|
X(a, CALLBACK, REQUIRED, STRING, dfuCheckLatestFWLabel, 46) \
|
|
603
591
|
X(a, CALLBACK, REQUIRED, STRING, dfuDownloadLatestFWLabel, 47) \
|
|
604
592
|
X(a, CALLBACK, REQUIRED, STRING, dfuPrepareUpdateLabel, 48) \
|
|
605
593
|
X(a, CALLBACK, REQUIRED, STRING, dfuStartBootloaderLabel, 49) \
|
|
606
594
|
X(a, CALLBACK, REQUIRED, STRING, dfuInitializationLabel, 50) \
|
|
607
595
|
X(a, CALLBACK, REQUIRED, STRING, dfuUpdateFWLabel, 51) \
|
|
608
|
-
X(a, CALLBACK, REQUIRED, STRING,
|
|
596
|
+
X(a, CALLBACK, REQUIRED, STRING, dfuWaitForDeviceToRestartTaskLabel, 52) \
|
|
609
597
|
X(a, CALLBACK, REQUIRED, STRING, accessTypeDefaultTime, 53) \
|
|
610
598
|
X(a, CALLBACK, REQUIRED, STRING, accessTypeExtendedTime, 54) \
|
|
611
599
|
X(a, CALLBACK, REQUIRED, STRING, accessTypeToggle, 55) \
|
|
@@ -614,12 +602,6 @@ X(a, CALLBACK, REQUIRED, STRING, accessTypeCustomTime, 57) \
|
|
|
614
602
|
X(a, CALLBACK, REQUIRED, STRING, openViaOssSoSelectAccessTypeTitle, 58) \
|
|
615
603
|
X(a, CALLBACK, REQUIRED, STRING, openViaOssSoSelectAccessTypeMessage, 59) \
|
|
616
604
|
X(a, CALLBACK, REQUIRED, STRING, provisioningDone, 60) \
|
|
617
|
-
X(a, CALLBACK, REQUIRED, STRING, checkCurrentAVR, 62) \
|
|
618
|
-
X(a, CALLBACK, REQUIRED, STRING, checkIfAVRUpdateNedded, 63) \
|
|
619
|
-
X(a, CALLBACK, REQUIRED, STRING, downloadAVR, 64) \
|
|
620
|
-
X(a, CALLBACK, REQUIRED, STRING, downloadingAVR, 65) \
|
|
621
|
-
X(a, CALLBACK, REQUIRED, STRING, updateAVR, 66) \
|
|
622
|
-
X(a, CALLBACK, REQUIRED, STRING, avrIsAlreadyUpToDate, 67) \
|
|
623
605
|
X(a, CALLBACK, REQUIRED, STRING, nfcTransponderConnected, 100) \
|
|
624
606
|
X(a, CALLBACK, REQUIRED, STRING, nfcTransponderDisconnected, 101) \
|
|
625
607
|
X(a, CALLBACK, REQUIRED, STRING, nfcTransponderSuccessReadMessage, 102) \
|