Re: Bluetooth-dev Digest, Vol 15, Issue 7
Re: Bluetooth-dev Digest, Vol 15, Issue 7
- Subject: Re: Bluetooth-dev Digest, Vol 15, Issue 7
- From: Rogers George <email@hidden>
- Date: Wed, 06 Jun 2018 14:39:56 -0500
We have encountered this as well.
I have found that it happened to me only after using the Control Center
bluetooth button to "turn off" (disconnect but not actually turn off)
Bluetooth, *in combination* with using the Settings App or Airplane Mode button
to turn Bluetooth off or on, in some sequence. I'm sorry I don't have an exact
sequence for you.
I now make a point of only ever using the Airplane Mode button or the Settings
App to disable Bluetooth when I need it truly turned off. Since doing so, I
have never encountered this state. Using the control center button to turn
Bluetooth ON (from a truly-off state) seems safe so far.
Once the state is reached, rebooting the phone of course clears it up; there is
probably something less drastic that works, but since figuring out how to avoid
it I haven't had to hunt for a better fix.
If you can see other apps exhibit the same problem, that strongly suggests this
is a bug in Core Bluetooth related to the Control Center Bluetooth button's new
behavior.
-- R.
(Apple, please count me as yet another vote that the iOS 11 behavior of that
button is unhelpful, and that a true "off" for Bluetooth and Wifi should be
available somehow in the control center. Firm-press maybe?)
> On Jun 6, 2018, at 2:00 PM, email@hidden wrote:
>
> Send Bluetooth-dev mailing list submissions to
> email@hidden
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.apple.com/mailman/listinfo/bluetooth-dev
> or, via email, send a message with subject or body 'help' to
> email@hidden
>
> You can reach the person managing the list at
> email@hidden
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Bluetooth-dev digest..."
>
>
> Today's Topics:
>
> 1. Getting state .poweredOff even when Bluetooth is on (Hadi)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 06 Jun 2018 16:00:27 +0500
> From: Hadi <email@hidden>
> To: email@hidden
> Subject: Getting state .poweredOff even when Bluetooth is on
> Message-ID:
> <CA+h4dx4PabQP3n96sAV2V5ujqzjsxQZ2a=ADLp4AWq7G=email@hidden>
> Content-Type: text/plain; charset="utf-8"
>
> Hi,
>
> There's an issue I've been facing since iOS 11. Sometimes when bluetooth is
> enabled (it's showing blue icon in control center, and toggle is on in
> Settings > Bluetooth) the centralManagerDidUpdateState(_:) method returns
> ".poweredOff".
> I thought I might be doing something wrong in code but I checked with
> popular BLE apps like nrfConnect, Light Blue (Explorer), Pebble app and
> they all were asking me to turn on the Bluetooth.
>
> However I was able to pair my headphones with iPhone and also connect to
> the BLE device (I'm working on) using Settings > Bluetooth and tapping on
> it.
>
> Anyone aware of the issue? Or these all apps including mine's are not
> following the CoreBluetooth rules? Your feedback/help would be appreciated.
>
> I can also send screenshots and screen recording if anyone wants.
>
> Thanks,
> Hadi
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> <https://lists.apple.com/mailman/private/bluetooth-dev/attachments/20180606/508fede0/attachment.html>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> Bluetooth-dev mailing list
> email@hidden
> https://lists.apple.com/mailman/listinfo/bluetooth-dev
>
>
> ------------------------------
>
> End of Bluetooth-dev Digest, Vol 15, Issue 7
> ********************************************
_______________________________________________
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