You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have used the latest released firmware or have updated my ESP-AT branch (master or release) to the latest version and checked that the issue is present there.
I have searched the issue tracker for a similar issue and not found a similar issue.
AT+GMR
AT+GMR
AT version:3.5.0.0-dev(8bfb16f - ESP32C6 - Jan 6 2025 09:10:51)
SDK version:v5.1.5-196-g64849cb703-dirty
compile time(5302cdc):Jan 21 2025 09:44:51
Bin version:v1.0.1.0(ESP32C6-4MB)
OK
ESP-AT Firmware Source
Firmware built from master with a lib update provided by Rainbow.Cai in Espressif's support team to support pairing requirements on characteristics.
Hardware Information
ESP32-C6 DevKitC
Power Supply used
USB
What is the expected behavior?
If the client (windows for example) removes its record of the pairing, but the server (ESP) does not, the client should be able to successfully pair to the server again.
I have tested this with with an iPhone (Server) running LightBlue and Windows (Client), and windows correctly initiates the pairing to the iPhone again.
What is the actual behavior?
Once the pairing is removed on the client side, then the client attempts to pair again, no BLESEC messages are seen by the ESP32 and the authentication times out in Windows.
The ESP32 does remove its pairing, so it knows the original one is not valid.
Probability of recurrence
100%
AT+SYSRAM?
AT+SYSRAM?
+SYSRAM:236348,224324
OK
Steps to reproduce
Configure an ESP32-C6 to be a BLE Server with pairing requirements.
Use a Windows client to connect and initiate the pairing.
Once complete disconnect
Remove the pairing on the Windows client but not the ESP32 server
Use the Windows client again to connect and initiate a pairing
The authentication times out without presenting any messages over the command port output
AT command port output
AT+CWINIT=0
OK
AT+BLEINIT=2
OK
AT+BLEADDR?
+BLEADDR:"40:4c:ca:51:48:f6"
OK
AT+BLESECPARAM=13,1,16,3,3
OK
AT+BLENAME="TPG_0000069666"
OK
AT+BLEADVPARAM=50,50,0,0,7,0
OK
AT+BLEADVDATA="02010603031DBA0F095450475F30303030303639363636"
OK
AT+BLEADVSTART
OK
+BLECONN:0,"d4:54:8b:fd:6d:0c"
+BLECFGMTU:0,203
+BLECONNPARAM:0,12,12,12,0,960
+BLESECNCREQ:0,729505
+BLECONNPARAM:0,48,48,48,0,960
AT+BLECONFREPLY=0,1
OK
+BLEAUTHCMPL:0,0
+BLECONNPARAM:0,12,12,12,0,960
+WRITE:0,1,2,1,2,02
+BLECONNPARAM:0,48,48,48,0,960
+WRITE:0,1,2,1,2,00
+BLEDISCONN:0,"d4:54:8b:fd:6d:0c"
AT+BLEADVSTART
OK
+BLECONN:0,"d4:54:8b:fd:6d:0c"
+BLECFGMTU:0,203
+BLECONNPARAM:0,12,12,12,0,960
+BLECONNPARAM:0,48,48,48,0,960
+BLEDISCONN:0,"d4:54:8b:fd:6d:0c"
The text was updated successfully, but these errors were encountered:
JHedgesBartec
changed the title
Client fails to pair if the Server (ESP) has a previous pairing
BLE Client fails to pair if the Server (ESP) has a previous pairing
Jan 28, 2025
Answers checklist
AT+GMR
AT+GMR
AT version:3.5.0.0-dev(8bfb16f - ESP32C6 - Jan 6 2025 09:10:51)
SDK version:v5.1.5-196-g64849cb703-dirty
compile time(5302cdc):Jan 21 2025 09:44:51
Bin version:v1.0.1.0(ESP32C6-4MB)
OK
ESP-AT Firmware Source
Firmware built from master with a lib update provided by Rainbow.Cai in Espressif's support team to support pairing requirements on characteristics.
Hardware Information
ESP32-C6 DevKitC
Power Supply used
USB
What is the expected behavior?
If the client (windows for example) removes its record of the pairing, but the server (ESP) does not, the client should be able to successfully pair to the server again.
I have tested this with with an iPhone (Server) running LightBlue and Windows (Client), and windows correctly initiates the pairing to the iPhone again.
What is the actual behavior?
Once the pairing is removed on the client side, then the client attempts to pair again, no BLESEC messages are seen by the ESP32 and the authentication times out in Windows.
The ESP32 does remove its pairing, so it knows the original one is not valid.
Probability of recurrence
100%
AT+SYSRAM?
AT+SYSRAM?
+SYSRAM:236348,224324
OK
Steps to reproduce
AT command port output
AT log port output
More Information.
No response
The text was updated successfully, but these errors were encountered: