espressif / esp-at

AT application for ESP32/ESP32-C2/ESP32-C3/ESP32-C6/ESP8266
Apache License 2.0
871 stars 772 forks source link

Persistent Bonding not working consistently on ESP32-C6-DevKitM-1 #859

Open JavierReyes945 opened 1 month ago

JavierReyes945 commented 1 month ago

Answers checklist

AT+GMR

Due to the fact that the NimBLE config for persistent storage of the bonding information is not active in the release v4.0.0.0, we had to generate a custom build based of master branch, where this setting is active. It is strange that the persistent storage of bonding data is not active by default in the release version...

ESP-ROM:esp32c6-20220919
Build:Sep 19 2022
rst:0x1 (POWERON),boot:0x6f (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x4086c410,len:0xd2c
load:0x4086e610,len:0x2df0
load:0x40875728,len:0x17d8
SHA-256 comparison failed:
Calculated: f356853ee9de5b48f66989025102f1b96e1605b5ce06fd144e40f80d57e2ad70
Expected: 6e517dcbb71f9e1f11e7d0c897cbb9db17ec7e484f5cf7af3860027794b50b1d
Attempting to boot anyway...
entry 0x4086c410
I (42) boot: ESP-IDF v5.1.2-dirty 2nd stage bootloader
I (42) boot: compile time Jul 23 2024 17:35:26
I (43) boot: chip revision: v0.0
I (45) boot.esp32c6: SPI Speed      : 80MHz
I (50) boot.esp32c6: SPI Mode       : DIO
I (55) boot.esp32c6: SPI Flash Size : 4MB
I (60) boot: Enabling RNG early entropy source...
I (65) boot: Partition Table:
I (69) boot: ## Label            Usage          Type ST Offset   Length
I (76) boot:  0 otadata          OTA data         01 00 0000d000 00002000
I (83) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (91) boot:  2 nvs              WiFi data        01 02 00010000 0000e000
I (98) boot:  3 at_customize     unknown          40 00 0001e000 00042000
I (106) boot:  4 ota_0            OTA app          00 10 00060000 001d0000
I (113) boot:  5 ota_1            OTA app          00 11 00230000 001d0000
I (121) boot: End of partition table
I (125) esp_image: segment 0: paddr=00060020 vaddr=42150020 size=39080h (233600) map
I (182) esp_image: segment 1: paddr=000990a8 vaddr=40800000 size=06f70h ( 28528) load
I (189) esp_image: segment 2: paddr=000a0020 vaddr=42000020 size=14ef98h (1372056) map
I (473) esp_image: segment 3: paddr=001eefc0 vaddr=40806f70 size=12af4h ( 76532) load
I (491) esp_image: segment 4: paddr=00201abc vaddr=40819a70 size=03bd4h ( 15316) load
I (495) esp_image: segment 5: paddr=00205698 vaddr=50000000 size=00068h (   104) load
I (503) boot: Loaded app from partition at offset 0x60000
I (503) boot: Disabling RNG early entropy source...
no external 32k oscillator, disable it now.
at param mode: 1
AT cmd port:uart1 tx:7 rx:6 cts:5 rts:4 baudrate:115200
module_name: ESP32C6-4MB
max tx power=78, ret=0
v4.1.0.0-dev
controller lib commit: [77d09ce]

ESP-AT Firmware Source

Official release bin (factory), as well as generated in Github Actions and also locally compiled binary

Hardware Information

ESP32-C6-DevKitM-1

Power Supply used

USB

What is the expected behavior?

With following Initialization:

ATE0
AT+GMR
AT+BLEINIT=2
AT+BLEADDR?
AT+BLEADVPARAM=50,50,0,0,7,0,,
AT+BLENAME="TestDevice"
AT+BLEADVDATA="020106030302A00B0954657374446576696365"
AT+BLESPPCFG=1,1,7,1,5
AT+BLESECPARAM=13,0,16,7,7,1
AT+BLESETKEY=123456
AT+BLEADVSTART

When mobile device connects, we start pairing process:

AT+BLEENC=0,3

Mobile device gets paired. After a while, gets disconnected. We do connect one or two more devices, get pairing process completed, and then after some time, disconnect.

We expect every device previously bonded to be connected and paired automatically.

What is the actual behavior?

At some point, the devices get connected but not paired. The MAC Address that we see reported in the +BLECONN is not the same as before (as if the address resolving mechanism didn't worked as before).

Probability of recurrence

It seems to appear one or two connections after the first reset of the module, specially when the last connected and automatically paired device is not the same that tries to connect after the reset.

AT+SYSRAM?

After initialization:

+SYSRAM:217436,214404

Steps to reproduce

  1. Bonding info cleared, factory settings (AT+RESTORE)
  2. Initialize with commands describe previoulsy
  3. Connect first device (android or iOS). When connected, start pairing procedure (AT+BLEENC=0,3).
  4. In mobile device, give pairing key, wait for pairing to be completed and confirmed by +BLEAUTHCMPL:0,0
  5. After a few moments, disconnect. Enable advertising again
  6. Connect a different device, when connected, start pairing procedure. In mobile device, complete process and wait for +BLEAUTHCMPL:0,0
  7. After a few moments, disconnect. Check Bonding info contains 2 addresses (AT+BLEENDEV?)
  8. Reset system (either Reset button on Board, or AT+RST, or disconnect and reconnect USB cable).
  9. After ready message, send initialization commands again.
  10. When advertisement is active, connect one of the previously paired devices. It should connect and pair automatically, but here the problem appears, and gets connected but not paired, and the MAC address reported is not same as before.

AT command port output

<\r><\n>
ready<\r><\n>
ATE0<\r><\n>
<\r><\n>
OK<\r><\n>
AT version:3.5.0.0-dev(d4ece29 - ESP32C6 - Jun 26 2024 03:35:28)<\r><\n>
SDK version:v5.1.2-dirty<\r><\n>
compile time(113702d9):Jul 25 2024 10:47:47<\r><\n>
Bin version:v4.1.0.0-dev(ESP32C6-4MB)<\r><\n>
<\r><\n>
OK<\r><\n>
<\r><\n>
OK<\r><\n>
+BLEADDR:"54:32:04:07:37:36"<\r><\n>
OK<\r><\n>
<\r><\n>
OK<\r><\n>
<\r><\n>
OK<\r><\n>
<\r><\n>
OK<\r><\n>
<\r><\n>
OK<\r><\n>
<\r><\n>
OK<\r><\n>
<\r><\n>
OK<\r><\n>
<\r><\n>
OK<\r><\n>
<\r><\n>
OK<\r><\n>
+BLECONN:0,"6a:60:81:2d:2a:6f"<\r><\n>
+BLESETPHY:"6a:60:81:2d:2a:6f",2,2<\r><\n>
+BLECFGMTU:0,203<\r><\n>
+WRITE:0,1,5,,2, <4><\r><\n>
+WRITE:0,1,7,1,2,02<\r><\n>
+WRITE:0,1,5,,15,<14><\b><1><16><1>*<\b>J<6><\b>¹Àµ<6><\r><\n>
<\r><\n>
OK<\r><\n>
+BLESECNTFYKEY:0,123456<\r><\n>
+BLEAUTHCMPL:0,0<\r><\n>
+WRITE:0,1,5,,5,<4><\b><1><16><2><\r><\n>
+WRITE:0,1,5,,5,<4><\b><1><16><2><\r><\n>
+WRITE:0,1,5,,5,<4><\b><1><16><2><\r><\n>
+WRITE:0,1,5,,5,<4><\b><1><16><2><\r><\n>
+WRITE:0,1,5,,5,<4><\b><1><16><2><\r><\n>
+WRITE:0,1,7,1,2,00<\r><\n>
+BLEDISCONN:0,"6a:60:81:2d:2a:6f"<\r><\n>
+BLEENCDEV:0,"6a:60:81:2d:2a:6f"<\r><\n>
<\r><\n>
OK<\r><\n>
<\r><\n>
OK<\r><\n>
+BLECONN:0,"60:3f:57:9a:7a:17"<\r><\n>
+BLECONNPARAM:0,6,6,6,0,500<\r><\n>
+BLECFGMTU:0,203<\r><\n>
+WRITE:0,1,5,,2, <4><\r><\n>
+BLECONNPARAM:0,36,36,36,0,500<\r><\n>
<\r><\n>
OK<\r><\n>
+BLESECNTFYKEY:0,123456<\r><\n>
+WRITE:0,1,7,1,2,02<\r><\n>
+WRITE:0,1,5,,15,<14><\b><1><16><1>*<\b>J<6><\b>ŽÂµ<6><\r><\n>
+BLEAUTHCMPL:0,0<\r><\n>
+WRITE:0,1,5,,5,<4><\b><1><16><2><\r><\n>
+WRITE:0,1,5,,5,<4><\b><1><16><2><\r><\n>
+WRITE:0,1,7,1,2,00<\r><\n>
+BLEDISCONN:0,"60:3f:57:9a:7a:17"<\r><\n>
<\r><\n>
OK<\r><\n>
+BLECONN:0,"6a:60:81:2d:2a:6f"<\r><\n>
+BLEAUTHCMPL:0,0<\r><\n>
+WRITE:0,1,7,1,2,02<\r><\n>
+BLESETPHY:"6a:60:81:2d:2a:6f",2,2<\r><\n>
+BLECFGMTU:0,203<\r><\n>
+WRITE:0,1,5,,2, <4><\r><\n>
+WRITE:0,1,5,,15,<14><\b><1><16><1>*<\b>J<6><\b>ÿµ<6><\r><\n>
+WRITE:0,1,7,1,2,00<\r><\n>
+BLEDISCONN:0,"6a:60:81:2d:2a:6f"<\r><\n>
<\r><\n>
OK<\r><\n>
+BLEENCDEV:0,"6a:60:81:2d:2a:6f"<\r><\n>
+BLEENCDEV:1,"60:3f:57:9a:7a:17"<\r><\n>
<\r><\n>
OK<\r><\n>
+BLECONN:0,"60:3f:57:9a:7a:17"<\r><\n>
+BLECONNPARAM:0,6,6,6,0,500<\r><\n>
+BLEAUTHCMPL:0,0<\r><\n>
+WRITE:0,1,7,1,2,02<\r><\n>
+BLECFGMTU:0,203<\r><\n>
+BLECONNPARAM:0,36,36,36,0,500<\r><\n>
+WRITE:0,1,5,,2, <4><\r><\n>
+WRITE:0,1,5,,15,<14><\b><1><16><1>*<\b>J<6><\b>¾Ãµ<6><\r><\n>
+WRITE:0,1,7,1,2,00<\r><\n>
+BLEDISCONN:0,"60:3f:57:9a:7a:17"<\r><\n>
<\r><\n>
ready<\r><\n>
ATE0<\r><\n>
<\r><\n>
OK<\r><\n>
AT version:3.5.0.0-dev(d4ece29 - ESP32C6 - Jun 26 2024 03:35:28)<\r><\n>
SDK version:v5.1.2-dirty<\r><\n>
compile time(113702d9):Jul 25 2024 10:47:47<\r><\n>
Bin version:v4.1.0.0-dev(ESP32C6-4MB)<\r><\n>
<\r><\n>
OK<\r><\n>
<\r><\n>
OK<\r><\n>
+BLEADDR:"54:32:04:07:37:36"<\r><\n>
OK<\r><\n>
<\r><\n>
OK<\r><\n>
<\r><\n>
OK<\r><\n>
<\r><\n>
OK<\r><\n>
<\r><\n>
OK<\r><\n>
<\r><\n>
OK<\r><\n>
<\r><\n>
OK<\r><\n>
<\r><\n>
OK<\r><\n>
+BLEENCDEV:0,"6a:60:81:2d:2a:6f"<\r><\n>
+BLEENCDEV:1,"60:3f:57:9a:7a:17"<\r><\n>
<\r><\n>
OK<\r><\n>
+BLECONN:0,"6a:60:81:2d:2a:6f"<\r><\n>
+BLEAUTHCMPL:0,0<\r><\n>
+WRITE:0,1,7,1,2,02<\r><\n>
+BLESETPHY:"6a:60:81:2d:2a:6f",2,2<\r><\n>
+BLECFGMTU:0,203<\r><\n>
+WRITE:0,1,5,,2, <4><\r><\n>
+WRITE:0,1,5,,15,<14><\b><1><16><1>*<\b>J<6><\b>Ýčµ<6><\r><\n>
+WRITE:0,1,7,1,2,00<\r><\n>
+BLEDISCONN:0,"6a:60:81:2d:2a:6f"<\r><\n>
<\r><\n>
OK<\r><\n>
+BLECONN:0,"60:3f:57:9a:7a:17"<\r><\n>
+BLEAUTHCMPL:0,0<\r><\n>
+WRITE:0,1,7,1,2,02<\r><\n>
+BLECFGMTU:0,203<\r><\n>
+WRITE:0,1,5,,2, <4><\r><\n>
+WRITE:0,1,5,,15,<14><\b><1><16><1>*<\b>J<6><\b>¡Åµ<6><\r><\n>
+WRITE:0,1,7,1,2,00<\r><\n>
+BLEDISCONN:0,"60:3f:57:9a:7a:17"<\r><\n>
<\r><\n>
OK<\r><\n>
+BLECONN:0,"49:a2:67:bb:8a:71"<\r><\n>
+BLECONNPARAM:0,6,6,6,0,500<\r><\n>
+BLECFGMTU:0,203<\r><\n>
+WRITE:0,1,5,,2, <4><\r><\n>
+BLESETPHY:"49:a2:67:bb:8a:71",2,2<\r><\n>
+BLECONNPARAM:0,24,24,24,0,500<\r><\n>
<\r><\n>
OK<\r><\n>
+WRITE:0,1,7,1,2,02<\r><\n>
+WRITE:0,1,5,,15,<14><\b><1><16><1>*<\b>J<6><\b>ôǍµ<6><\r><\n>
+BLESECNTFYKEY:0,123456<\r><\n>
+BLEAUTHCMPL:0,0<\r><\n>
+WRITE:0,1,5,,5,<4><\b><1><16><2><\r><\n>
+WRITE:0,1,5,,5,<4><\b><1><16><2><\r><\n>
+WRITE:0,1,5,,5,<4><\b><1><16><2><\r><\n>
+WRITE:0,1,5,,5,<4><\b><1><16><2><\r><\n>
+WRITE:0,1,7,1,2,00<\r><\n>
+BLEDISCONN:0,"49:a2:67:bb:8a:71"<\r><\n>
<\r><\n>
OK<\r><\n>
+BLECONN:0,"49:a2:67:bb:8a:71"<\r><\n>
+BLEAUTHCMPL:0,0<\r><\n>
+WRITE:0,1,7,1,2,02<\r><\n>
+BLECONNPARAM:0,6,6,6,0,500<\r><\n>
+BLESETPHY:"49:a2:67:bb:8a:71",2,2<\r><\n>
+BLECFGMTU:0,203<\r><\n>
+WRITE:0,1,5,,2, <4><\r><\n>
+BLECONNPARAM:0,24,24,24,0,500<\r><\n>
+WRITE:0,1,5,,15,<14><\b><1><16><1>*<\b>J<6><\b>ôȍµ<6><\r><\n>
+WRITE:0,1,7,1,2,00<\r><\n>
+BLEDISCONN:0,"49:a2:67:bb:8a:71"<\r><\n>
<\r><\n>
OK<\r><\n>
+BLECONN:0,"49:a2:67:bb:8a:71"<\r><\n>
+BLEAUTHCMPL:0,0<\r><\n>
+WRITE:0,1,7,1,2,02<\r><\n>
+BLECFGMTU:0,203<\r><\n>
+WRITE:0,1,5,,2, <4><\r><\n>
+BLESETPHY:"49:a2:67:bb:8a:71",2,2<\r><\n>
+WRITE:0,1,5,,15,<14><\b><1><16><1>*<\b>J<6><\b>Ïɍµ<6><\r><\n>
+WRITE:0,1,5,,5,<4><\b><1><16><2><\r><\n>
ÿ<\r><\n>
ready<\r><\n>
ATE0<\r><\n>
<\r><\n>
OK<\r><\n>
AT version:3.5.0.0-dev(d4ece29 - ESP32C6 - Jun 26 2024 03:35:28)<\r><\n>
SDK version:v5.1.2-dirty<\r><\n>
compile time(113702d9):Jul 25 2024 10:47:47<\r><\n>
Bin version:v4.1.0.0-dev(ESP32C6-4MB)<\r><\n>
<\r><\n>
OK<\r><\n>
<\r><\n>
OK<\r><\n>
+BLEADDR:"54:32:04:07:37:36"<\r><\n>
OK<\r><\n>
<\r><\n>
OK<\r><\n>
<\r><\n>
OK<\r><\n>
<\r><\n>
OK<\r><\n>
<\r><\n>
OK<\r><\n>
<\r><\n>
OK<\r><\n>
<\r><\n>
OK<\r><\n>
<\r><\n>
OK<\r><\n>
+BLEENCDEV:0,"6a:60:81:2d:2a:6f"<\r><\n>
+BLEENCDEV:1,"60:3f:57:9a:7a:17"<\r><\n>
+BLEENCDEV:2,"49:a2:67:bb:8a:71"<\r><\n>
<\r><\n>
OK<\r><\n>
+BLECONN:0,"77:6a:f6:54:13:10"<\r><\n>
+BLECFGMTU:0,203<\r><\n>
+WRITE:0,1,5,,2, <4><\r><\n>
+BLESETPHY:"77:6a:f6:54:13:10",2,2<\r><\n>
+WRITE:0,1,7,1,2,02<\r><\n>
+WRITE:0,1,5,,15,<14><\b><1><16><1>*<\b>J<6><\b>õʍµ<6><\r><\n>
+WRITE:0,1,5,,5,<4><\b><1><16><2><\r><\n>
+WRITE:0,1,5,,5,<4><\b><1><16><2><\r><\n>
+WRITE:0,1,5,,5,<4><\b><1><16><2><\r><\n>
+WRITE:0,1,5,,5,<4><\b><1><16><2><\r><\n>
+WRITE:0,1,5,,5,<4><\b><1><16><2><\r><\n>
+WRITE:0,1,5,,5,<4><\b><1><16><2><\r><\n>
+WRITE:0,1,5,,5,<4><\b><1><16><2><\r><\n>
+WRITE:0,1,5,,5,<4><\b><1><16><2><\r><\n>
<\r><\n>
ready<\r><\n>
ATE0<\r><\n>
<\r><\n>
OK<\r><\n>
AT version:3.5.0.0-dev(d4ece29 - ESP32C6 - Jun 26 2024 03:35:28)<\r><\n>
SDK version:v5.1.2-dirty<\r><\n>
compile time(113702d9):Jul 25 2024 10:47:47<\r><\n>
Bin version:v4.1.0.0-dev(ESP32C6-4MB)<\r><\n>
<\r><\n>
OK<\r><\n>
<\r><\n>
OK<\r><\n>
+BLEADDR:"54:32:04:07:37:36"<\r><\n>
OK<\r><\n>
<\r><\n>
OK<\r><\n>
<\r><\n>
OK<\r><\n>
<\r><\n>
OK<\r><\n>
<\r><\n>
OK<\r><\n>
<\r><\n>
OK<\r><\n>
<\r><\n>
OK<\r><\n>
<\r><\n>
OK<\r><\n>
+SYSRAM:217436,214404<\r><\n>
OK<\r><\n>

### AT log port output

```plain
[2024-07-26 10:57:42.661] ESP-ROM:esp32c6-20220919
[2024-07-26 10:57:42.661] Build:Sep 19 2022
[2024-07-26 10:57:42.669] rst:0x1 (POWERON),boot:0x6f (SPI_FAST_FLASH_BOOT)
[2024-07-26 10:57:42.673] SPIWP:0xee
[2024-07-26 10:57:42.673] mode:DIO, clock div:1
[2024-07-26 10:57:42.673] load:0x4086c410,len:0xd2c
[2024-07-26 10:57:42.678] load:0x4086e610,len:0x2df0
[2024-07-26 10:57:42.678] load:0x40875728,len:0x17d8
[2024-07-26 10:57:42.678] SHA-256 comparison failed:
[2024-07-26 10:57:42.689] Calculated: f356853ee9de5b48f66989025102f1b96e1605b5ce06fd144e40f80d57e2ad70
[2024-07-26 10:57:42.694] Expected: 6e517dcbb71f9e1f11e7d0c897cbb9db17ec7e484f5cf7af3860027794b50b1d
[2024-07-26 10:57:42.695] Attempting to boot anyway...
[2024-07-26 10:57:42.707] entry 0x4086c410
[2024-07-26 10:57:42.707] I (42) boot: ESP-IDF v5.1.2-dirty 2nd stage bootloader
[2024-07-26 10:57:42.710] I (42) boot: compile time Jul 23 2024 17:35:26
[2024-07-26 10:57:42.712] I (43) boot: chip revision: v0.0
[2024-07-26 10:57:42.721] I (45) boot.esp32c6: SPI Speed      : 80MHz
[2024-07-26 10:57:42.723] I (50) boot.esp32c6: SPI Mode       : DIO
[2024-07-26 10:57:42.729] I (55) boot.esp32c6: SPI Flash Size : 4MB
[2024-07-26 10:57:42.729] I (60) boot: Enabling RNG early entropy source...
[2024-07-26 10:57:42.735] I (65) boot: Partition Table:
[2024-07-26 10:57:42.740] I (69) boot: ## Label            Usage          Type ST Offset   Length
[2024-07-26 10:57:42.746] I (76) boot:  0 otadata          OTA data         01 00 0000d000 00002000
[2024-07-26 10:57:42.757] I (83) boot:  1 phy_init         RF data          01 01 0000f000 00001000
[2024-07-26 10:57:42.762] I (91) boot:  2 nvs              WiFi data        01 02 00010000 0000e000
[2024-07-26 10:57:42.768] I (98) boot:  3 at_customize     unknown          40 00 0001e000 00042000
[2024-07-26 10:57:42.779] I (106) boot:  4 ota_0            OTA app          00 10 00060000 001d0000
[2024-07-26 10:57:42.785] I (113) boot:  5 ota_1            OTA app          00 11 00230000 001d0000
[2024-07-26 10:57:42.790] I (121) boot: End of partition table
[2024-07-26 10:57:42.796] I (125) esp_image: segment 0: paddr=00060020 vaddr=42150020 size=39080h (233600) map
[2024-07-26 10:57:42.844] I (182) esp_image: segment 1: paddr=000990a8 vaddr=40800000 size=06f70h ( 28528) load
[2024-07-26 10:57:42.849] I (189) esp_image: segment 2: paddr=000a0020 vaddr=42000020 size=14ef98h (1372056) map
[2024-07-26 10:57:43.136] I (473) esp_image: segment 3: paddr=001eefc0 vaddr=40806f70 size=12af4h ( 76532) load
[2024-07-26 10:57:43.154] I (491) esp_image: segment 4: paddr=00201abc vaddr=40819a70 size=03bd4h ( 15316) load
[2024-07-26 10:57:43.159] I (495) esp_image: segment 5: paddr=00205698 vaddr=50000000 size=00068h (   104) load
[2024-07-26 10:57:43.170] I (503) boot: Loaded app from partition at offset 0x60000
[2024-07-26 10:57:43.176] I (503) boot: Disabling RNG early entropy source...
[2024-07-26 10:57:43.614] no external 32k oscillator, disable it now.
[2024-07-26 10:57:43.650] at param mode: 1
[2024-07-26 10:57:43.704] AT cmd port:uart1 tx:7 rx:6 cts:5 rts:4 baudrate:115200
[2024-07-26 10:57:43.704] module_name: ESP32C6-4MB
[2024-07-26 10:57:43.711] max tx power=78, ret=0
[2024-07-26 10:57:43.711] v4.1.0.0-dev
[2024-07-26 10:58:04.787] controller lib commit: [77d09ce]
[2024-07-26 10:58:04.806] ble attribute[2] 16
[2024-07-26 10:58:04.806] ble attribute[3] 2800
[2024-07-26 10:58:04.806] ble attribute[7] A002
[2024-07-26 10:58:04.812] ble attribute[2] 16
[2024-07-26 10:58:04.812] ble attribute[3] 2803
[2024-07-26 10:58:04.812] ble attribute[7] 02
[2024-07-26 10:58:04.817] ble attribute[2] 16
[2024-07-26 10:58:04.817] ble attribute[3] C300
[2024-07-26 10:58:04.817] ble attribute[2] 16
[2024-07-26 10:58:04.823] ble attribute[3] 2901
[2024-07-26 10:58:04.823] ble attribute[4] 11
[2024-07-26 10:58:04.823] ble attribute[2] 16
[2024-07-26 10:58:04.828] ble attribute[3] 2803
[2024-07-26 10:58:04.828] ble attribute[7] 02
[2024-07-26 10:58:04.834] ble attribute[2] 16
[2024-07-26 10:58:04.834] ble attribute[3] C301
[2024-07-26 10:58:04.834] ble attribute[2] 16
[2024-07-26 10:58:04.839] ble attribute[3] 2901
[2024-07-26 10:58:04.839] ble attribute[4] 11
[2024-07-26 10:58:04.839] ble attribute[2] 16
[2024-07-26 10:58:04.845] ble attribute[3] 2803
[2024-07-26 10:58:04.845] ble attribute[7] 08
[2024-07-26 10:58:04.845] ble attribute[2] 16
[2024-07-26 10:58:04.851] ble attribute[3] C302
[2024-07-26 10:58:04.851] ble attribute[2] 16
[2024-07-26 10:58:04.851] ble attribute[3] 2901
[2024-07-26 10:58:04.856] ble attribute[4] 01
[2024-07-26 10:58:04.856] ble attribute[2] 16
[2024-07-26 10:58:04.856] ble attribute[3] 2803
[2024-07-26 10:58:04.861] ble attribute[7] 04
[2024-07-26 10:58:04.861] ble attribute[2] 16
[2024-07-26 10:58:04.868] ble attribute[3] C303
[2024-07-26 10:58:04.868] ble attribute[2] 16
[2024-07-26 10:58:04.868] ble attribute[3] 2901
[2024-07-26 10:58:04.873] ble attribute[4] 10
[2024-07-26 10:58:04.873] ble attribute[2] 16
[2024-07-26 10:58:04.873] ble attribute[3] 2803
[2024-07-26 10:58:04.878] ble attribute[7] 08
[2024-07-26 10:58:04.878] ble attribute[2] 16
[2024-07-26 10:58:04.878] ble attribute[3] C304
[2024-07-26 10:58:04.884] ble attribute[2] 16
[2024-07-26 10:58:04.884] ble attribute[3] 2803
[2024-07-26 10:58:04.884] ble attribute[7] 10
[2024-07-26 10:58:04.889] ble attribute[2] 16
[2024-07-26 10:58:04.889] ble attribute[3] C305
[2024-07-26 10:58:04.895] ble attribute[2] 16
[2024-07-26 10:58:04.895] ble attribute[3] 2902
[2024-07-26 10:58:04.895] ble attribute[2] 16
[2024-07-26 10:58:04.901] ble attribute[3] 2803
[2024-07-26 10:58:04.901] ble attribute[7] 20
[2024-07-26 10:58:04.901] ble attribute[2] 16
[2024-07-26 10:58:04.907] ble attribute[3] C306
[2024-07-26 10:58:04.907] ble attribute[2] 16
[2024-07-26 10:58:04.907] ble attribute[3] 2902
[2024-07-26 10:58:04.912] ble attribute[2] 16
[2024-07-26 10:58:04.912] ble attribute[3] 2803
[2024-07-26 10:58:04.912] ble attribute[7] 02
[2024-07-26 10:58:04.918] ble attribute[2] 16
[2024-07-26 10:58:04.918] ble attribute[3] C307
[2024-07-26 10:58:04.923] ble attribute[2] 16
[2024-07-26 10:58:04.923] ble attribute[3] 2901
[2024-07-26 10:58:04.923] ble attribute[4] 11
[2024-07-26 10:58:04.929] ble attribute[2] 16
[2024-07-26 10:58:04.929] ble attribute[3] 2800
[2024-07-26 10:58:04.929] ble attribute[7] A003
[2024-07-26 10:58:04.934] ble attribute[2] 16
[2024-07-26 10:58:04.934] ble attribute[3] 2803
[2024-07-26 10:58:04.934] ble attribute[7] 02
[2024-07-26 10:58:04.940] ble attribute[2] 16
[2024-07-26 10:58:04.940] ble attribute[3] C400
[2024-07-26 10:58:04.940] ble attribute[2] 16
[2024-07-26 10:58:04.945] ble attribute[3] 2901
[2024-07-26 10:58:04.945] ble attribute[4] 11
[2024-07-26 10:58:04.951] ble attribute[2] 16
[2024-07-26 10:58:04.951] ble attribute[3] 2803
[2024-07-26 10:58:04.951] ble attribute[7] 02
[2024-07-26 10:58:04.956] ble attribute[2] 16
[2024-07-26 10:58:04.956] ble attribute[3] C401
[2024-07-26 10:58:04.956] ble attribute[2] 16
[2024-07-26 10:58:04.961] ble attribute[3] 2901
[2024-07-26 10:58:04.961] ble attribute[4] 11
[2024-07-26 10:58:04.961] registered service 0x1800 with handle=1
[2024-07-26 10:58:04.967] registering characteristic 0x2a00 with def_handle=2 val_handle=3
[2024-07-26 10:58:04.973] registering characteristic 0x2a01 with def_handle=4 val_handle=5
[2024-07-26 10:58:04.978] registered service 0x1801 with handle=6
[2024-07-26 10:58:04.984] registering characteristic 0x2a05 with def_handle=7 val_handle=8
[2024-07-26 10:58:04.989] registered service 0xa002 with handle=10
[2024-07-26 10:58:04.989] registering characteristic 0xc300 with def_handle=11 val_handle=12
[2024-07-26 10:58:04.995] registering descriptor 0x2901 with handle=13
[2024-07-26 10:58:05.001] registering characteristic 0xc301 with def_handle=14 val_handle=15
[2024-07-26 10:58:05.006] registering descriptor 0x2901 with handle=16
[2024-07-26 10:58:05.012] registering characteristic 0xc302 with def_handle=17 val_handle=18
[2024-07-26 10:58:05.017] registering descriptor 0x2901 with handle=19
[2024-07-26 10:58:05.023] registering characteristic 0xc303 with def_handle=20 val_handle=21
[2024-07-26 10:58:05.028] registering descriptor 0x2901 with handle=22
[2024-07-26 10:58:05.034] registering characteristic 0xc304 with def_handle=23 val_handle=24
[2024-07-26 10:58:05.040] registering characteristic 0xc305 with def_handle=25 val_handle=26
[2024-07-26 10:58:05.045] registering characteristic 0xc306 with def_handle=28 val_handle=29
[2024-07-26 10:58:05.051] registering characteristic 0xc307 with def_handle=31 val_handle=32
[2024-07-26 10:58:05.056] registering descriptor 0x2901 with handle=33
[2024-07-26 10:58:05.062] registered service 0xa003 with handle=34
[2024-07-26 10:58:05.062] registering characteristic 0xc400 with def_handle=35 val_handle=36
[2024-07-26 10:58:05.067] registering descriptor 0x2901 with handle=37
[2024-07-26 10:58:05.073] registering characteristic 0xc401 with def_handle=38 val_handle=39
[2024-07-26 10:58:05.079] registering descriptor 0x2901 with handle=40
[2024-07-26 10:58:05.083] reset reason=0
[2024-07-26 10:59:21.856] connection established; status=0 handle=1 our_ota_addr_type=0 our_ota_addr=40849eaf:00:15:40828000:00:42185d34
[2024-07-26 10:59:21.862]  our_id_addr_type=0 our_id_addr=40849ea1:00:15:40828000:00:42185d34
[2024-07-26 10:59:21.867]  peer_ota_addr_type=1 peer_ota_addr=40849eb6:00:15:40828000:00:42185d34
[2024-07-26 10:59:21.873]  peer_id_addr_type=1 peer_id_addr=40849ea8:00:15:40828000:00:42185d34
[2024-07-26 10:59:21.884]  conn_itvl=24 conn_latency=0 supervision_timeout=500 encrypted=0 authenticated=0 bonded=0
[2024-07-26 10:59:22.117] advertise complete; reason=0mtu update event; conn_handle=1 cid=4 mtu=203
[2024-07-26 10:59:32.286] subscribe event; conn_handle=1 attr_handle=29 reason=1 prevn=0 curn=0 previ=0 curi=1


### More Information.

_No response_
JavierReyes945 commented 1 month ago

Attaching LOG file from ESP as the issue template did not allow it as text: test_esp_pairing.txt

XionHsieh commented 2 weeks ago

We will fix the issue as soon as possible and get back to you. Thank you for your patience.