Frederik,
It is not possible to directly control Bluetooth radio power from an API. However, a few changes have been made in iOS 5 to make this a bit easier for you. For all new iOS 5 installs, Bluetooth is enabled by default. However, the BT logo will not appear unless a Bluetooth device has been paired with the iOS device. The BT logo will also appear when the user is in the Bluetooth settings screen or Personal Hotspot settings screen. The BT logo will light-up when an active Bluetooth connection exists with the iOS device.
We have also added support for Bluetooth Low Energy with our Core Bluetooth framework in iOS 5. When instantiating a CBCentralManager object, iOS will ask the user if they want to enable Bluetooth if Bluetooth is disabled. As this is specifically for Bluetooth 4.0, this only works on iPhone 4S.
On Dec 9, 2011, at 9:41 AM, Frederik Vibe-Petersen wrote:
Hi
Is it possible, within the Bluetooth API of the iOS, to enable and disable the bluetooth radio within the app, and not having to go all the way into settings to turn it on. Or let the app turn it on automatically when launching the app. After that, it should look for a slave/master accessories to connect to.
Thank you for your support.
Best regards
Frederik Vibe-Petersen
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
|