Hi Marc,
After long time without trying again now I can not even pairi to NUKI SL without making any changes to my code. I do not understand anything.
The firmware version is: 2.4.5
[1/2]
[D][nuki.cpp:10] pairing(): Start Pairing: CL sends 6 bytes.
01 00 03 00 27 A7
[D][BLERemoteCharacteristic.cpp:554] writeValue(): >> writeValue(), length: 6
[D][FreeRTOS.cpp:164] take(): Semaphore taking: name: WriteCharEvt (0x3fff8374), owner: <N/A> for writeValue
[D][FreeRTOS.cpp:173] take(): Semaphore taken: name: WriteCharEvt (0x3fff8374), owner: writeValue
[D][BLEDevice.cpp:152] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_WRITE_CHAR_EVT
[D][BLEClient.cpp:170] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_WRITE_CHAR_EVT
[D][BLERemoteCharacteristic.cpp:581] writeValue(): << writeValue
[D][BLEDevice.cpp:152] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_NOTIFY_EVT
[D][BLEClient.cpp:170] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_NOTIFY_EVT
[D][BLERemoteCharacteristic.cpp:170] gattClientEventHandler(): Invoking callback for notification on characteristic Characteristic: uuid: a92ee101-5501-11e4-916c-0800200c9a66, handle: 139 0x8b, props: broadcast: 0, read: 1, write_nr: 0, write: 1, notify: 0, indicate: 1, auth: 0
[D][myBLE.cpp:157] myBLE_notifyCallback(): ******************** Notify callback for characteristic
[D][myBLE.cpp:158] myBLE_notifyCallback(): a92ee101-5501-11e4-916c-0800200c9a66
[D][myBLE.cpp:159] myBLE_notifyCallback(): of data length 20
[D][nuki.cpp:303] processMessage(): client receives 20 bytes from uuid a92ee101-5501-11e4-916c-0800200c9a66
[D][nuki.cpp:304] processMessage(): expected indication message PUBLIC_KEY_IND
03 00 76 1C C8 9F F8 A8
EA 96 63 A6 41 3E 81 D3
41 D4 EB 39
[D][nuki.cpp:413] get_commandId(): Command Id: PUBLIC_KEY.
[D][nuki.cpp:310] processMessage(): size of response buffer 20
[D][BLEDevice.cpp:152] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_NOTIFY_EVT
[D][BLEClient.cpp:170] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_NOTIFY_EVT
[D][BLERemoteCharacteristic.cpp:170] gattClientEventHandler(): Invoking callback for notification on characteristic Characteristic: uuid: a92ee101-5501-11e4-916c-0800200c9a66, handle: 139 0x8b, props: broadcast: 0, read: 1, write_nr: 0, write: 1, notify: 0, indicate: 1, auth: 0
[D][myBLE.cpp:157] myBLE_notifyCallback(): ******************** Notify callback for characteristic
[D][myBLE.cpp:158] myBLE_notifyCallback(): a92ee101-5501-11e4-916c-0800200c9a66
[D][myBLE.cpp:159] myBLE_notifyCallback(): of data length 16
[D][nuki.cpp:303] processMessage(): client receives 16 bytes from uuid a92ee101-5501-11e4-916c-0800200c9a66
[D][nuki.cpp:304] processMessage(): expected indication message PUBLIC_KEY_IND
27 8E 01 BF FC DD DC 8A
40 E6 2F FB D8 58 16 9F
[D][nuki.cpp:416] get_commandId(): multiple indication
[D][nuki.cpp:310] processMessage(): size of response buffer 36
[D][nuki.cpp:314] processMessage(): Received Public Key
[D][nuki.cpp:216] create_write_public_key_payload(): client is sending client public key...
[D][nuki.cpp:316] processMessage(): client sends 36 bytes:
03 00 1E 95 FF CB 5F 71
41 B9 35 D6 D3 62 E7 D2
D7 37 26 35 CC 09 63 2C
F0 42 22 D1 AA 2E 8A D7
4D 68 E4 1E
[D][BLERemoteCharacteristic.cpp:554] writeValue(): >> writeValue(), length: 36
[D][FreeRTOS.cpp:164] take(): Semaphore taking: name: WriteCharEvt (0x3fff8374), owner: <N/A> for writeValue
[D][FreeRTOS.cpp:173] take(): Semaphore taken: name: WriteCharEvt (0x3fff8374), owner: writeValue
[D][BLEDevice.cpp:152] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_NOTIFY_EVT
[D][BLEClient.cpp:170] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_NOTIFY_EVT
[D][BLERemoteCharacteristic.cpp:170] gattClientEventHandler(): Invoking callback for notification on characteristic Characteristic: uuid: a92ee101-5501-11e4-916c-0800200c9a66, handle: 139 0x8b, props: broadcast: 0, read: 1, write_nr: 0, write: 1, notify: 0, indicate: 1, auth: 0
[D][myBLE.cpp:157] myBLE_notifyCallback(): ******************** Notify callback for characteristic
[D][myBLE.cpp:158] myBLE_notifyCallback(): a92ee101-5501-11e4-916c-0800200c9a66
[D][myBLE.cpp:159] myBLE_notifyCallback(): of data length 20
[D][nuki.cpp:303] processMessage(): client receives 20 bytes from uuid a92ee101-5501-11e4-916c-0800200c9a66
[D][nuki.cpp:304] processMessage(): expected indication message CHALLENGE_AUTHENTICATION_IND
04 00 FE 97 EE 5E 1A 33
C4 53 E4 53 BA 69 8D BA
70 6E 1A 12
[D][nuki.cpp:413] get_commandId(): Command Id: CHALLENGE.
[D][nuki.cpp:310] processMessage(): size of response buffer 20
[D][BLEDevice.cpp:152] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_WRITE_CHAR_EVT
[D][BLEClient.cpp:170] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_WRITE_CHAR_EVT
[D][BLERemoteCharacteristic.cpp:581] writeValue(): << writeValue
[D][BLEDevice.cpp:152] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_NOTIFY_EVT
[D][BLEClient.cpp:170] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_NOTIFY_EVT
[D][BLERemoteCharacteristic.cpp:170] gattClientEventHandler(): Invoking callback for notification on characteristic Characteristic: uuid: a92ee101-5501-11e4-916c-0800200c9a66, handle: 139 0x8b, props: broadcast: 0, read: 1, write_nr: 0, write: 1, notify: 0, indicate: 1, auth: 0
[D][myBLE.cpp:157] myBLE_notifyCallback(): ******************** Notify callback for characteristic
[D][myBLE.cpp:158] myBLE_notifyCallback(): a92ee101-5501-11e4-916c-0800200c9a66
[D][myBLE.cpp:159] myBLE_notifyCallback(): of data length 16
[D][nuki.cpp:303] processMessage(): client receives 16 bytes from uuid a92ee101-5501-11e4-916c-0800200c9a66
[D][nuki.cpp:304] processMessage(): expected indication message CHALLENGE_AUTHENTICATION_IND
53 7F B7 2D 7F F3 73 B1
0B 6A F8 7B 7E 45 9B C3
[D][nuki.cpp:416] get_commandId(): multiple indication
[D][nuki.cpp:310] processMessage(): size of response buffer 36
[D][nuki.cpp:325] processMessage(): Received challenge for authenticator
[D][nuki.cpp:228] create_authorization_authenticator_payload(): client is sending authorization authenticator...
[D][nuki.cpp:240] create_authorization_authenticator_payload(): The key derivation function kdf1 - crypto_core_hsalsa20(k,_0,s,sigma): shared secret calculated
0D FC BF 36 20 20 27 9B
F0 EE 3A 75 31 E2 3C 5C
B2 55 81 C3 89 79 B6 C6
20 7C BC B1 C5 3E 43 E2
[D][nuki.cpp:250] create_authorization_authenticator_payload(): The The authentication function h1 HMAC-SHA256: authentication calculated
EA 06 5D 9A 24 A3 3E FB
6D 61 C6 CA 64 7A FD 2D
38 7F AF D6 8C 62 20 D3
5F 96 9A EF C9 08 05 B3
[D][nuki.cpp:327] processMessage(): client sends 36 bytes:
05 00 EA 06 5D 9A 24 A3
3E FB 6D 61 C6 CA 64 7A
FD 2D 38 7F AF D6 8C 62
20 D3 5F 96 9A EF C9 08
05 B3 57 99
[D][BLERemoteCharacteristic.cpp:554] writeValue(): >> writeValue(), length: 36
[D][FreeRTOS.cpp:164] take(): Semaphore taking: name: WriteCharEvt (0x3fff8374), owner: <N/A> for writeValue
[D][FreeRTOS.cpp:173] take(): Semaphore taken: name: WriteCharEvt (0x3fff8374), owner: writeValue
[D][BLEDevice.cpp:152] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_WRITE_CHAR_EVT
[D][BLEClient.cpp:170] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_WRITE_CHAR_EVT
[D][BLERemoteCharacteristic.cpp:581] writeValue(): << writeValue
[D][BLEDevice.cpp:152] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_NOTIFY_EVT
[D][BLEClient.cpp:170] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_NOTIFY_EVT
[D][BLERemoteCharacteristic.cpp:170] gattClientEventHandler(): Invoking callback for notification on characteristic Characteristic: uuid: a92ee101-5501-11e4-916c-0800200c9a66, handle: 139 0x8b, props: broadcast: 0, read: 1, write_nr: 0, write: 1, notify: 0, indicate: 1, auth: 0
[D][myBLE.cpp:157] myBLE_notifyCallback(): ******************** Notify callback for characteristic
[D][myBLE.cpp:158] myBLE_notifyCallback(): a92ee101-5501-11e4-916c-0800200c9a66
[D][myBLE.cpp:159] myBLE_notifyCallback(): of data length 20
[D][nuki.cpp:303] processMessage(): client receives 20 bytes from uuid a92ee101-5501-11e4-916c-0800200c9a66
[D][nuki.cpp:304] processMessage(): expected indication message CHALLENGE_AUTHORIZATION_IND
04 00 52 DD E5 CE F3 53
BB BA 85 FA 36 FC 22 F1
28 F0 6F F1
[D][nuki.cpp:413] get_commandId(): Command Id: CHALLENGE.
[D][nuki.cpp:310] processMessage(): size of response buffer 20
[D][BLEDevice.cpp:152] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_NOTIFY_EVT
[D][BLEClient.cpp:170] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_NOTIFY_EVT
[D][BLERemoteCharacteristic.cpp:170] gattClientEventHandler(): Invoking callback for notification on characteristic Characteristic: uuid: a92ee101-5501-11e4-916c-0800200c9a66, handle: 139 0x8b, props: broadcast: 0, read: 1, write_nr: 0, write: 1, notify: 0, indicate: 1, auth: 0
[D][myBLE.cpp:157] myBLE_notifyCallback(): ******************** Notify callback for characteristic
[D][myBLE.cpp:158] myBLE_notifyCallback(): a92ee101-5501-11e4-916c-0800200c9a66
[D][myBLE.cpp:159] myBLE_notifyCallback(): of data length 16
[D][nuki.cpp:303] processMessage(): client receives 16 bytes from uuid a92ee101-5501-11e4-916c-0800200c9a66
[D][nuki.cpp:304] processMessage(): expected indication message CHALLENGE_AUTHORIZATION_IND
EF 8A D7 7B 0E 80 74 DE
69 C4 07 15 39 68 18 50
[D][nuki.cpp:416] get_commandId(): multiple indication
[D][nuki.cpp:310] processMessage(): size of response buffer 36
[D][nuki.cpp:336] processMessage(): Received challenge for authorization data
[D][nuki.cpp:258] create_authorization_data_payload(): cliente is sending authorization data...
[D][nuki.cpp:338] processMessage(): client sends 105 bytes:
06 00 46 58 71 AC 58 5E
0E 32 03 1A C9 CC 34 CD
3B BF E2 06 B0 C2 02 AE
FB 48 9E C0 96 4F 81 1C
4E 76 02 2C 68 FB 13 4F
70 65 6E 20 4E 75 6B 69
20 46 6F 62 20 31 33 46
42 36 38 32 43 20 20 20
20 20 20 20 20 20 00 7E
C1 43 88 17 2A 65 2C 7E
4C 9E 7F B5 4C 28 E8 6A
10 D9 F8 9B 0E 58 C7 75
7D C1 81 68 51 4C D3 6A
37
[D][BLERemoteCharacteristic.cpp:554] writeValue(): >> writeValue(), length: 105
[D][FreeRTOS.cpp:164] take(): Semaphore taking: name: WriteCharEvt (0x3fff8374), owner: <N/A> for writeValue
[D][FreeRTOS.cpp:173] take(): Semaphore taken: name: WriteCharEvt (0x3fff8374), owner: writeValue
[D][BLEDevice.cpp:152] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_WRITE_CHAR_EVT
[D][BLEClient.cpp:170] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_WRITE_CHAR_EVT
[D][BLERemoteCharacteristic.cpp:581] writeValue(): << writeValue
[D][BLEDevice.cpp:152] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_NOTIFY_EVT
[D][BLEClient.cpp:170] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_NOTIFY_EVT
[D][BLERemoteCharacteristic.cpp:170] gattClientEventHandler(): Invoking callback for notification on characteristic Characteristic: uuid: a92ee101-5501-11e4-916c-0800200c9a66, handle: 139 0x8b, props: broadcast: 0, read: 1, write_nr: 0, write: 1, notify: 0, indicate: 1, auth: 0
[D][myBLE.cpp:157] myBLE_notifyCallback(): ******************** Notify callback for characteristic
[D][myBLE.cpp:158] myBLE_notifyCallback(): a92ee101-5501-11e4-916c-0800200c9a66
[D][myBLE.cpp:159] myBLE_notifyCallback(): of data length 20
[D][nuki.cpp:303] processMessage(): client receives 20 bytes from uuid a92ee101-5501-11e4-916c-0800200c9a66
[D][nuki.cpp:304] processMessage(): expected indication message AUTHORIZATION_ID_IND
07 00 A5 FA E5 A3 A9 EF
EE 3A 93 79 2C B3 A3 BC
F1 44 A4 23
[D][nuki.cpp:413] get_commandId(): Command Id: AUTHORIZATION_ID.
[D][nuki.cpp:310] processMessage(): size of response buffer 20
[D][BLEDevice.cpp:152] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_NOTIFY_EVT
[D][BLEClient.cpp:170] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_NOTIFY_EVT
[D][BLERemoteCharacteristic.cpp:170] gattClientEventHandler(): Invoking callback for notification on characteristic Characteristic: uuid: a92ee101-5501-11e4-916c-0800200c9a66, handle: 139 0x8b, props: broadcast: 0, read: 1, write_nr: 0, write: 1, notify: 0, indicate: 1, auth: 0
[D][myBLE.cpp:157] myBLE_notifyCallback(): ******************** Notify callback for characteristic
[D][myBLE.cpp:158] myBLE_notifyCallback(): a92ee101-5501-11e4-916c-0800200c9a66
[D][myBLE.cpp:159] myBLE_notifyCallback(): of data length 20
[D][nuki.cpp:303] processMessage(): client receives 20 bytes from uuid a92ee101-5501-11e4-916c-0800200c9a66
[D][nuki.cpp:304] processMessage(): expected indication message AUTHORIZATION_ID_IND
1B 05 A8 DB 3F B9 07 E7
2D 04 EB 5A AD 4B B8 5D
34 00 10 74
[D][nuki.cpp:416] get_commandId(): multiple indication
[D][nuki.cpp:310] processMessage(): size of response buffer 40
[D][BLEDevice.cpp:152] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_NOTIFY_EVT
[D][BLEClient.cpp:170] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_NOTIFY_EVT
[D][BLERemoteCharacteristic.cpp:170] gattClientEventHandler(): Invoking callback for notification on characteristic Characteristic: uuid: a92ee101-5501-11e4-916c-0800200c9a66, handle: 139 0x8b, props: broadcast: 0, read: 1, write_nr: 0, write: 1, notify: 0, indicate: 1, auth: 0
[D][myBLE.cpp:157] myBLE_notifyCallback(): ******************** Notify callback for characteristic
[D][myBLE.cpp:158] myBLE_notifyCallback(): a92ee101-5501-11e4-916c-0800200c9a66
[D][myBLE.cpp:159] myBLE_notifyCallback(): of data length 20
[D][nuki.cpp:303] processMessage(): client receives 20 bytes from uuid a92ee101-5501-11e4-916c-0800200c9a66
[D][nuki.cpp:304] processMessage(): expected indication message AUTHORIZATION_ID_IND
A2 3B 7E 60 0F 58 8D 96
E3 94 BD 62 E2 BF 19 B0
60 33 FA 3B
[D][nuki.cpp:416] get_commandId(): multiple indication
[D][nuki.cpp:310] processMessage(): size of response buffer 60
[D][BLEDevice.cpp:152] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_NOTIFY_EVT
[D][BLEClient.cpp:170] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_NOTIFY_EVT
[D][BLERemoteCharacteristic.cpp:170] gattClientEventHandler(): Invoking callback for notification on characteristic Characteristic: uuid: a92ee101-5501-11e4-916c-0800200c9a66, handle: 139 0x8b, props: broadcast: 0, read: 1, write_nr: 0, write: 1, notify: 0, indicate: 1, auth: 0
[D][myBLE.cpp:157] myBLE_notifyCallback(): ******************** Notify callback for characteristic
[D][myBLE.cpp:158] myBLE_notifyCallback(): a92ee101-5501-11e4-916c-0800200c9a66
[D][myBLE.cpp:159] myBLE_notifyCallback(): of data length 20
[D][nuki.cpp:303] processMessage(): client receives 20 bytes from uuid a92ee101-5501-11e4-916c-0800200c9a66
[D][nuki.cpp:304] processMessage(): expected indication message AUTHORIZATION_ID_IND
A7 D5 FD 67 26 70 3A 81
5A D7 E0 57 DE E2 BF 94
4D 30 A7 36
[D][nuki.cpp:416] get_commandId(): multiple indication
[D][nuki.cpp:310] processMessage(): size of response buffer 80
[D][BLEDevice.cpp:152] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_NOTIFY_EVT
[D][BLEClient.cpp:170] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_NOTIFY_EVT
[D][BLERemoteCharacteristic.cpp:170] gattClientEventHandler(): Invoking callback for notification on characteristic Characteristic: uuid: a92ee101-5501-11e4-916c-0800200c9a66, handle: 139 0x8b, props: broadcast: 0, read: 1, write_nr: 0, write: 1, notify: 0, indicate: 1, auth: 0
[D][myBLE.cpp:157] myBLE_notifyCallback(): ******************** Notify callback for characteristic
[D][myBLE.cpp:158] myBLE_notifyCallback(): a92ee101-5501-11e4-916c-0800200c9a66
[D][myBLE.cpp:159] myBLE_notifyCallback(): of data length 8
[D][nuki.cpp:303] processMessage(): client receives 8 bytes from uuid a92ee101-5501-11e4-916c-0800200c9a66
[D][nuki.cpp:304] processMessage(): expected indication message AUTHORIZATION_ID_IND
4C B5 99 91 92 8D 16 4B
[D][nuki.cpp:416] get_commandId(): multiple indication
[D][nuki.cpp:310] processMessage(): size of response buffer 88
[D][nuki.cpp:347] processMessage(): Received authorization ID
[D][nuki.cpp:283] create_authorization_id_confirmation_payload(): client is sending authorization id confirmation...
[D][nuki.cpp:288] create_authorization_id_confirmation_payload(): Authorization ID 345DB8
[D][nuki.cpp:349] processMessage(): client sends 40 bytes:
1E 00 63 B4 18 12 BE 49
4B 2E 34 DC 32 BB CF F1
94 70 DA 96 1F 36 C2 E5
4E DD 0F EB 92 D8 1E 61
EE 1D B8 5D 34 00 4A D1
[D][BLERemoteCharacteristic.cpp:554] writeValue(): >> writeValue(), length: 40
[D][FreeRTOS.cpp:164] take(): Semaphore taking: name: WriteCharEvt (0x3fff8374), owner: <N/A> for writeValue
[D][FreeRTOS.cpp:173] take(): Semaphore taken: name: WriteCharEvt (0x3fff8374), owner: writeValue
[D][BLEDevice.cpp:152] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_NOTIFY_EVT
[D][BLEClient.cpp:170] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_NOTIFY_EVT
[D][BLERemoteCharacteristic.cpp:170] gattClientEventHandler(): Invoking callback for notification on characteristic Characteristic: uuid: a92ee101-5501-11e4-916c-0800200c9a66, handle: 139 0x8b, props: broadcast: 0, read: 1, write_nr: 0, write: 1, notify: 0, indicate: 1, auth: 0
[D][myBLE.cpp:157] myBLE_notifyCallback(): ******************** Notify callback for characteristic
[D][myBLE.cpp:158] myBLE_notifyCallback(): a92ee101-5501-11e4-916c-0800200c9a66
[D][myBLE.cpp:159] myBLE_notifyCallback(): of data length 9
[D][nuki.cpp:303] processMessage(): client receives 9 bytes from uuid a92ee101-5501-11e4-916c-0800200c9a66
[D][nuki.cpp:304] processMessage(): expected indication message STATUS_IND
12 00 FD 00 00 B4 18 8A
F9
[E][nuki.cpp:409] get_commandId(): Command Id: ERROR_REPORT >> ERROR_BAD_CRC.
[D][nuki.cpp:310] processMessage(): size of response buffer 9
[D][nuki.cpp:370] processMessage(): Status indication
[D][nuki.cpp:169] read_status(): client is reading status indication...
[D][nuki.cpp:381] processMessage(): WHAT'S WRONG!!!!!!!!!!
[D][BLEDevice.cpp:152] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_WRITE_CHAR_EVT
[D][BLEClient.cpp:170] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_WRITE_CHAR_EVT
[D][BLERemoteCharacteristic.cpp:581] writeValue(): << writeValue
[E][myBLE.cpp:101] myBLE_link(): ERROR_CONN - Failed to connect to the server; there is nothing more we will do.
[E][noukee.cpp:136] link(): Error to link, slave device was removed
Thank you so much.
D][nuki.cpp:10] pairing(): Start Pairing: CL sends 6 bytes.
01 00 03 00 27 A7
[D][BLERemoteCharacteristic.cpp:554] writeValue(): >> writeValue(), length: 6
[D][FreeRTOS.cpp:164] take(): Semaphore taking: name: WriteCharEvt (0x3fff8374), owner: <N/A> for writeValue
[D][FreeRTOS.cpp:173] take(): Semaphore taken: name: WriteCharEvt (0x3fff8374), owner: writeValue
[D][BLEDevice.cpp:152] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_WRITE_CHAR_EVT
[D][BLEClient.cpp:170] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_WRITE_CHAR_EVT
[D][BLERemoteCharacteristic.cpp:581] writeValue(): << writeValue
[D][BLEDevice.cpp:152] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_NOTIFY_EVT
[D][BLEClient.cpp:170] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_NOTIFY_EVT
[D][BLERemoteCharacteristic.cpp:170] gattClientEventHandler(): Invoking callback for notification on characteristic Characteristic: uuid: a92ee101-5501-11e4-916c-0800200c9a66, handle: 139 0x8b, props: broadcast: 0, read: 1, write_nr: 0, write: 1, notify: 0, indicate: 1, auth: 0
[D][myBLE.cpp:157] myBLE_notifyCallback(): ******************** Notify callback for characteristic
[D][myBLE.cpp:158] myBLE_notifyCallback(): a92ee101-5501-11e4-916c-0800200c9a66
[D][myBLE.cpp:159] myBLE_notifyCallback(): of data length 20
[D][nuki.cpp:303] processMessage(): client receives 20 bytes from uuid a92ee101-5501-11e4-916c-0800200c9a66
[D][nuki.cpp:304] processMessage(): expected indication message PUBLIC_KEY_IND
03 00 76 1C C8 9F F8 A8
EA 96 63 A6 41 3E 81 D3
41 D4 EB 39
[D][nuki.cpp:413] get_commandId(): Command Id: PUBLIC_KEY.
[D][nuki.cpp:310] processMessage(): size of response buffer 20
[D][BLEDevice.cpp:152] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_NOTIFY_EVT
[D][BLEClient.cpp:170] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_NOTIFY_EVT
[D][BLERemoteCharacteristic.cpp:170] gattClientEventHandler(): Invoking callback for notification on characteristic Characteristic: uuid: a92ee101-5501-11e4-916c-0800200c9a66, handle: 139 0x8b, props: broadcast: 0, read: 1, write_nr: 0, write: 1, notify: 0, indicate: 1, auth: 0
[D][myBLE.cpp:157] myBLE_notifyCallback(): ******************** Notify callback for characteristic
[D][myBLE.cpp:158] myBLE_notifyCallback(): a92ee101-5501-11e4-916c-0800200c9a66
[D][myBLE.cpp:159] myBLE_notifyCallback(): of data length 16
[D][nuki.cpp:303] processMessage(): client receives 16 bytes from uuid a92ee101-5501-11e4-916c-0800200c9a66
[D][nuki.cpp:304] processMessage(): expected indication message PUBLIC_KEY_IND
27 8E 01 BF FC DD DC 8A
40 E6 2F FB D8 58 16 9F
[D][nuki.cpp:416] get_commandId(): multiple indication
[D][nuki.cpp:310] processMessage(): size of response buffer 36
[D][nuki.cpp:314] processMessage(): Received Public Key
[D][nuki.cpp:216] create_write_public_key_payload(): client is sending client public key...
[D][nuki.cpp:316] processMessage(): client sends 36 bytes:
03 00 1E 95 FF CB 5F 71
41 B9 35 D6 D3 62 E7 D2
D7 37 26 35 CC 09 63 2C
F0 42 22 D1 AA 2E 8A D7
4D 68 E4 1E
[D][BLERemoteCharacteristic.cpp:554] writeValue(): >> writeValue(), length: 36
[D][FreeRTOS.cpp:164] take(): Semaphore taking: name: WriteCharEvt (0x3fff8374), owner: <N/A> for writeValue
[D][FreeRTOS.cpp:173] take(): Semaphore taken: name: WriteCharEvt (0x3fff8374), owner: writeValue
[D][BLEDevice.cpp:152] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_NOTIFY_EVT
[D][BLEClient.cpp:170] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_NOTIFY_EVT
[D][BLERemoteCharacteristic.cpp:170] gattClientEventHandler(): Invoking callback for notification on characteristic Characteristic: uuid: a92ee101-5501-11e4-916c-0800200c9a66, handle: 139 0x8b, props: broadcast: 0, read: 1, write_nr: 0, write: 1, notify: 0, indicate: 1, auth: 0
[D][myBLE.cpp:157] myBLE_notifyCallback(): ******************** Notify callback for characteristic
[D][myBLE.cpp:158] myBLE_notifyCallback(): a92ee101-5501-11e4-916c-0800200c9a66
[D][myBLE.cpp:159] myBLE_notifyCallback(): of data length 20
[D][nuki.cpp:303] processMessage(): client receives 20 bytes from uuid a92ee101-5501-11e4-916c-0800200c9a66
[D][nuki.cpp:304] processMessage(): expected indication message CHALLENGE_AUTHENTICATION_IND
04 00 FE 97 EE 5E 1A 33
C4 53 E4 53 BA 69 8D BA
70 6E 1A 12
[D][nuki.cpp:413] get_commandId(): Command Id: CHALLENGE.
[D][nuki.cpp:310] processMessage(): size of response buffer 20
[D][BLEDevice.cpp:152] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_WRITE_CHAR_EVT
[D][BLEClient.cpp:170] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_WRITE_CHAR_EVT
[D][BLERemoteCharacteristic.cpp:581] writeValue(): << writeValue
[D][BLEDevice.cpp:152] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_NOTIFY_EVT
[D][BLEClient.cpp:170] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_NOTIFY_EVT
[D][BLERemoteCharacteristic.cpp:170] gattClientEventHandler(): Invoking callback for notification on characteristic Characteristic: uuid: a92ee101-5501-11e4-916c-0800200c9a66, handle: 139 0x8b, props: broadcast: 0, read: 1, write_nr: 0, write: 1, notify: 0, indicate: 1, auth: 0
[D][myBLE.cpp:157] myBLE_notifyCallback(): ******************** Notify callback for characteristic
[D][myBLE.cpp:158] myBLE_notifyCallback(): a92ee101-5501-11e4-916c-0800200c9a66
[D][myBLE.cpp:159] myBLE_notifyCallback(): of data length 16
[D][nuki.cpp:303] processMessage(): client receives 16 bytes from uuid a92ee101-5501-11e4-916c-0800200c9a66
[D][nuki.cpp:304] processMessage(): expected indication message CHALLENGE_AUTHENTICATION_IND
53 7F B7 2D 7F F3 73 B1
0B 6A F8 7B 7E 45 9B C3
[D][nuki.cpp:416] get_commandId(): multiple indication
[D][nuki.cpp:310] processMessage(): size of response buffer 36
[D][nuki.cpp:325] processMessage(): Received challenge for authenticator
[D][nuki.cpp:228] create_authorization_authenticator_payload(): client is sending authorization authenticator...
[D][nuki.cpp:240] create_authorization_authenticator_payload(): The key derivation function kdf1 - crypto_core_hsalsa20(k,_0,s,sigma): shared secret calculated
0D FC BF 36 20 20 27 9B
F0 EE 3A 75 31 E2 3C 5C
B2 55 81 C3 89 79 B6 C6
20 7C BC B1 C5 3E 43 E2
[D][nuki.cpp:250] create_authorization_authenticator_payload(): The The authentication function h1 HMAC-SHA256: authentication calculated
EA 06 5D 9A 24 A3 3E FB
6D 61 C6 CA 64 7A FD 2D
38 7F AF D6 8C 62 20 D3
5F 96 9A EF C9 08 05 B3
[D][nuki.cpp:327] processMessage(): client sends 36 bytes:
05 00 EA 06 5D 9A 24 A3
3E FB 6D 61 C6 CA 64 7A
FD 2D 38 7F AF D6 8C 62
20 D3 5F 96 9A EF C9 08
05 B3 57 99
[D][BLERemoteCharacteristic.cpp:554] writeValue(): >> writeValue(), length: 36
[D][FreeRTOS.cpp:164] take(): Semaphore taking: name: WriteCharEvt (0x3fff8374), owner: <N/A> for writeValue
[D][FreeRTOS.cpp:173] take(): Semaphore taken: name: WriteCharEvt (0x3fff8374), owner: writeValue
[D][BLEDevice.cpp:152] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_WRITE_CHAR_EVT
[D][BLEClient.cpp:170] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_WRITE_CHAR_EVT
[D][BLERemoteCharacteristic.cpp:581] writeValue(): << writeValue
[D][BLEDevice.cpp:152] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_NOTIFY_EVT
[D][BLEClient.cpp:170] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_NOTIFY_EVT
[D][BLERemoteCharacteristic.cpp:170] gattClientEventHandler(): Invoking callback for notification on characteristic Characteristic: uuid: a92ee101-5501-11e4-916c-0800200c9a66, handle: 139 0x8b, props: broadcast: 0, read: 1, write_nr: 0, write: 1, notify: 0, indicate: 1, auth: 0
[D][myBLE.cpp:157] myBLE_notifyCallback(): ******************** Notify callback for characteristic
[D][myBLE.cpp:158] myBLE_notifyCallback(): a92ee101-5501-11e4-916c-0800200c9a66
[D][myBLE.cpp:159] myBLE_notifyCallback(): of data length 20
[D][nuki.cpp:303] processMessage(): client receives 20 bytes from uuid a92ee101-5501-11e4-916c-0800200c9a66
[D][nuki.cpp:304] processMessage(): expected indication message CHALLENGE_AUTHORIZATION_IND
04 00 52 DD E5 CE F3 53
BB BA 85 FA 36 FC 22 F1
28 F0 6F F1
[D][nuki.cpp:413] get_commandId(): Command Id: CHALLENGE.
[D][nuki.cpp:310] processMessage(): size of response buffer 20
[D][BLEDevice.cpp:152] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_NOTIFY_EVT
[D][BLEClient.cpp:170] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_NOTIFY_EVT
[D][BLERemoteCharacteristic.cpp:170] gattClientEventHandler(): Invoking callback for notification on characteristic Characteristic: uuid: a92ee101-5501-11e4-916c-0800200c9a66, handle: 139 0x8b, props: broadcast: 0, read: 1, write_nr: 0, write: 1, notify: 0, indicate: 1, auth: 0
[D][myBLE.cpp:157] myBLE_notifyCallback(): ******************** Notify callback for characteristic
[D][myBLE.cpp:158] myBLE_notifyCallback(): a92ee101-5501-11e4-916c-0800200c9a66
[D][myBLE.cpp:159] myBLE_notifyCallback(): of data length 16
[D][nuki.cpp:303] processMessage(): client receives 16 bytes from uuid a92ee101-5501-11e4-916c-0800200c9a66
[D][nuki.cpp:304] processMessage(): expected indication message CHALLENGE_AUTHORIZATION_IND
EF 8A D7 7B 0E 80 74 DE
69 C4 07 15 39 68 18 50
[D][nuki.cpp:416] get_commandId(): multiple indication
[D][nuki.cpp:310] processMessage(): size of response buffer 36
[D][nuki.cpp:336] processMessage(): Received challenge for authorization data
[D][nuki.cpp:258] create_authorization_data_payload(): cliente is sending authorization data...
regards,
Javier