8000 It looks like connections are not being closed · Issue #938 · h2zero/NimBLE-Arduino · GitHub
[go: up one dir, main page]

Skip to content

It looks like connections are not being closed #938

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

Closed
rovale opened this issue Apr 20, 2025 · 2 comments
Closed

It looks like connections are not being closed #938

rovale opened this issue Apr 20, 2025 · 2 comments

Comments

@rovale
Copy link
rovale commented Apr 20, 2025

Good morning! Thank you so much for this library. It is getting better every time and I really appreciate all the improvements in v2. The support you provide is so helpful, too! :-)

I am using this library to read advertisement data from sensors and to allow my device to be controlled with a mobile app. What I notice, and it is quite hard to reproduce, is that connections are not always closed. Maybe it is better to say cleaned up, because in this case it is about one mobile phone connecting to the device.

This graph shows the result of NimBLEDevice::getServer()->getConnectedCount():
Image

At one point the device runs into the configured limit of 3 of CONFIG_BT_NIMBLE_MAX_CONNECTIONS and as a result the device would not allow new connections.

Did you ever run into this before? Maybe some things for me to check?

Thanks in advance!

@h2zero
Copy link
Owner
h2zero commented Apr 20, 2025

Hello @rovale this is an issue that has been brought up quite a bit lately, unfortunately I have not found a solution yet. Please see these threads:

#917
h2zero/esp-nimble-cpp#320

@rovale
Copy link
Author
rovale commented Apr 20, 2025

Thank you! I didn't realize they are related. I will keep a close eye on it.

@rovale rovale closed this as completed Apr 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0