-
-
Notifications
You must be signed in to change notification settings - Fork 205
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
Override max num BLE connections to allow up to 5 connections #82
Conversation
I've been unable to connect to more than 2-3 peripherals including th patch. It connects up to two devices and have problems to connect to the 3rd device about 50% of times. |
Hi @iactiva, |
Hi @giulcioffi, Here is a portion of the output. Maybe you can find what may be wrong here.
My system is: ubuntu 20 | python v3.8.5 | mbed-cli v1.10.4 | arm-none-eabi-gcc v9.2.1 Thank you |
Hi @iactiva,
|
Many thanks @giulcioffi! Now I'm having other issues as compiling ArduinoCore-mbed "as is" for ARDUINO_NANO33BLE generates a libmbed.a file of 70MB instead the expected 57MB. Then adding it the the IDE, it allows any sketch to be compiled and uploaded to the 33BLE board however it is totally unstable, serial monitor simply hangs and even the LED brightness goes low when BLE.begin()... UPDATE: Well, issues come if setting more than 5 in cordio max-connections in conf/mbed_app.json |
This patch will allow to connect up to 5 BLE peripherals to a BLE central device. It will take effect at the next core compilation, where DM_CONN_MAX will be set to 5 (now it is 3).
This will fix ArduinoBLE#116 and ArduinoCore-nRF528#40.