Re: Using BTLE to connect to multiple slaves from an iPhone4S
Re: Using BTLE to connect to multiple slaves from an iPhone4S
- Subject: Re: Using BTLE to connect to multiple slaves from an iPhone4S
- From: Mark Palatucci <email@hidden>
- Date: Fri, 23 Mar 2012 19:25:32 -0700
Hi Chris,
I actually got this working today with two devices. I used the same CM and just called connectPeripheral on the second device right after discovering all the services and characteristics on the first device.
I'm curious (and don't know yet), if I can call connectPeripheral on both devices right after one another - without having to wait for the first connection to be established yet...i.e. is the CM stack robust enough to handle multiple pending connections..
-Mark
On Fri, Mar 23, 2012 at 2:37 PM, Chris Hall
<email@hidden> wrote:
I'm wondering the best way to do this as well.
Thank,
Chris
Sent from my iPhone
On Mar 23, 2012, at 4:24 PM, Mark Palatucci <
email@hidden> wrote:
> Hi,
>
> I was wondering what the best way is to connect to multiple slaves simultaneously from the iPhone.
>
> Should I create two instances of the CBCentralManager? Or can one manager handle multiple connections from two different slaves assuming I use the correct peripheral/service UUIDs?
>
> Thanks
> -Mark
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Bluetooth-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden