Skip to content
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

Multiple concurrent connections #55

Closed
javieragst opened this issue Jan 31, 2020 · 4 comments
Closed

Multiple concurrent connections #55

javieragst opened this issue Jan 31, 2020 · 4 comments

Comments

@javieragst
Copy link

Hi everyone,
I'm trying to connect 3 ble modules working as peripherals to an Arduino Nano 33 BLE working as central. In the datasheet of the micro says that it can handle 20 bluetooth connections, but I can't connect to a second peripheral when it is one connected already. Taking a quick view to the library I have not found any problem to connect more than one device, I only found this parameter ATT_MAX_PEERS that I understand that limit the connections to three. It is my first time using BLE and I'm not agood programmer, so I don't know if my reasoning is correct.
It is possible to connect more than one peripheral to the Arduino Nano 33 BLE using this library?
Thanks

@aravitz1
Copy link

I would really like to know the answer to this. I’m attempting to do the same thing but cannot figure out how to implement more than one connection from a single central to multiple peripherals.

@Gerriko
Copy link

Gerriko commented Jun 4, 2020

Another scenario I am looking at is to get 2 central devices (e.g. phones) to connect to a single BLE peripheral using the Arduino nano 33 ble board.

Reference: https://devzone.nordicsemi.com/f/nordic-q-a/24160/multiple-central-to-single-peripheral-connections

@gnsmrky
Copy link

gnsmrky commented Aug 10, 2020

@javieragst @aravitz1 Have you found out a way around this problem? Also facing the same situation.

@polldo
Copy link
Contributor

polldo commented Aug 17, 2020

Hi @javieragst @aravitz1 @Gerriko @gnsmrky ,
as reported in this issue #108, latest versions of the nano33ble core have problems with multiple connections. Follow that issue to receive updates.
Regarding #55 (comment), one peripheral connected to more centrals should work even if using latest nano33ble core versions. Refer to #50 for a working example.

@polldo polldo closed this as completed Aug 17, 2020
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

5 participants