-
Notifications
You must be signed in to change notification settings - Fork 7.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ESP32-S3 using CONFIG_BT_NIMBLE_HOST_ALLOW_CONNECT_WITH_SCAN (IDFGH-14488) #15258
Labels
Status: Opened
Issue is new
Comments
github-actions
bot
changed the title
ESP32-S3 using CONFIG_BT_NIMBLE_HOST_ALLOW_CONNECT_WITH_SCAN
ESP32-S3 using CONFIG_BT_NIMBLE_HOST_ALLOW_CONNECT_WITH_SCAN (IDFGH-14488)
Jan 22, 2025
I've tried testing this again with esp32-c6, also appears to have issues. It will fail to connect immediately, unlike the s3 which could connect before getting stuck. C6 Async example CONFIG_BT_NIMBLE_HOST_ALLOW_CONNECT_WITH_SCAN=y
C6 Async example CONFIG_BT_NIMBLE_HOST_ALLOW_CONNECT_WITH_SCAN=n
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Answers checklist.
IDF version.
5.3.2.241210
Espressif SoC revision.
ESP32-S3 (QFN56) (revision v0.1)
Operating System used.
Windows
How did you build your project?
VS Code IDE
If you are using Windows, please specify command line type.
PowerShell
Development Kit.
ESP32-S3-DevKitC-1
Power Supply used.
USB
What is the expected behavior?
Allow scanning while a connect is in progress when enabling
CONFIG_BT_NIMBLE_HOST_ALLOW_CONNECT_WITH_SCAN
option.What is the actual behavior?
Scanning does not stop, but no new advertisements are received after initiating connection. Scan cannot be stopped or restarted.
Steps to reproduce.
-Test with https://github.com/h2zero/esp-nimble-cpp/tree/master/examples/NimBLE_Async_Client
-Enable CONFIG_BT_NIMBLE_HOST_ALLOW_CONNECT_WITH_SCAN
Debug Logs.
Async example CONFIG_BT_NIMBLE_HOST_ALLOW_CONNECT_WITH_SCAN=y
Async example CONFIG_BT_NIMBLE_HOST_ALLOW_CONNECT_WITH_SCAN=n
More Information.
I'm using NimBLE to handle BLE in my project. https://github.com/h2zero/esp-nimble-cpp
The es32-s3 acts as a central, and will constantly be scanning for peripheral devices. There are 4 peripherals avilable. When a peripheral is found, the esp32-s3 will connect to it, and should continue scanning while the connect operation is in progress. Currently when
CONFIG_BT_NIMBLE_HOST_ALLOW_CONNECT_WITH_SCAN
is enabled, the esp32-s3 will only get one advertisement, attempt connecting, and then no new advertisements are received. If I go back and disable the config option, everything works fine.I'd like to get this option working to test initiating multiple connections at once.
The text was updated successfully, but these errors were encountered: