0

Two Phones can't connect at the same time
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Two Phones can't connect at the same time

by Randy1 on Sat Mar 06, 2021 11:57 am

I just discovered that 2 phones using Bluefruit Connect cannot connect to nRF52840 Express at the same time.
Is there a way around this limitation?

Randy1
 
Posts: 22
Joined: Sun Feb 28, 2021 2:22 pm

Re: Two Phones can't connect at the same time

by oliviasmithh900 on Mon Mar 08, 2021 7:31 pm

Yup in Bluetooth we have 1 to 1 connection, you can't connect single node to multiple nodes via BT, for that you need to use RF or WiFI i.e. ESP8266.

oliviasmithh900
 
Posts: 11
Joined: Sat Mar 06, 2021 11:07 pm

Re: Two Phones can't connect at the same time

by jevada on Tue Mar 09, 2021 4:03 pm

Actually, you can have multiple GATT connections to a single device, provided it is configured to do so. These individual connections however are point-to-point and once connected they cannot be shared with others until they are disconnected.

jevada
 
Posts: 167
Joined: Fri Dec 15, 2017 5:29 am

Re: Two Phones can't connect at the same time

by Randy1 on Tue Mar 09, 2021 4:12 pm

Cool! So how can the nRF52840 Express be configured to do so?

Randy1
 
Posts: 22
Joined: Sun Feb 28, 2021 2:22 pm

Re: Two Phones can't connect at the same time

by jevada on Wed Mar 10, 2021 2:51 pm

Check out the "BLEUart_Multi" example. The Bluefruit.begin() method takes 2 parameters, first one defines the maximum number of peripheral connections and the second one defines the maximum number of central connections.

jevada
 
Posts: 167
Joined: Fri Dec 15, 2017 5:29 am

Re: Two Phones can't connect at the same time

by Randy1 on Wed Mar 10, 2021 9:02 pm

I can’t find the example, would you please send a link?

Randy1
 
Posts: 22
Joined: Sun Feb 28, 2021 2:22 pm

Re: Two Phones can't connect at the same time

by jevada on Thu Mar 11, 2021 3:33 pm


jevada
 
Posts: 167
Joined: Fri Dec 15, 2017 5:29 am

Please be positive and constructive with your questions and comments.