RE: How to make the BTLE APP to auto connect with BTLE device when iPhone4S power on
RE: How to make the BTLE APP to auto connect with BTLE device when iPhone4S power on
- Subject: RE: How to make the BTLE APP to auto connect with BTLE device when iPhone4S power on
- From: Sean <email@hidden>
- Date: Mon, 19 Dec 2011 12:07:05 +0800
Hi Brian,
Thank you for your explanation. But once iPhone4S power off and
power on then, how can my BTLE APP to run automatically and to call those APIs?
From: Brian Tucker
[mailto:email@hidden]
Sent: Saturday, December 17, 2011 12:32 AM
To: Sean
Cc: email@hidden
Subject: Re: How to make the BTLE APP to auto connect with BTLE device
when iPhone4S power on
Hi Sean Lin,
When backgrounding, you can still scan and
connect to a LE peripheral. You can scan for peripherals using
scanForPeripheralsWithSerives by stating what service you are looking for in a
Peripheral. You cannot do a general scan without stating at least one
service in the passed dictionary. If you have a CFUUIDRef from a previous
connection, you can call retrievePeripherals with the CFUUIDRef. Your
delegate will receive a call to didRetrievePeripherals with a CBPeripheral.
With the CBPeripheral you can then connect using connectPeripheral.
On Dec 15, 2011, at 10:37 PM, Sean wrote:
From: Sean
[mailto:email@hidden]
Sent: Monday, December 12,
2011 6:20 PM
To: 'email@hidden'
Subject: How to make the
BTLE APP to auto connect with BTLE device when iPhone4S power on
I
have a question about how to make the BTLE APP to auto connect with BTLE device
in background mode when iPhone4S power on.
Thank
you for your support.
Mobile : +886-922-702-639
Tel. No.: +886-2-2698-3608 Ext: 309
Fax No.: +886-2-2698-3648
_______________________________________________
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