Getting state .poweredOff even when Bluetooth is on
site_archiver@lists.apple.com Delivered-To: bluetooth-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=iK5+rWTHVXRIF4ubVVvZnGHNVXLdX1/gVIxgW+tp1Iw=; b=AOp1attHGzPQy0/RO+SNaX+z7KPmW43Im1mt+7BWzBzENtwFbKB/8hqxR3bWusL4fl EkN7Joe4VZgqXX5gApChNZluNcTFz2dOQ4Z5p9MUSGKIXhqPDQQwK+6cJmQSogVe5bLY ii6IHPVxbPxpwLcqrHP7R7JkWYGsl2LRe1bjKmxT/0lz9PSHl+ZlW5O4KuPuWVim3I3t MTEn1jJ68LpSPvnwP5Nq09Xtf1Ix5xuRUF1tRhmu1mNRIESa7E6t2G/ZAhZZDtbrPSqa fzbML9NN9Hzt4rnwFcTqq6g13iqWEQpkXJ7kdP/tTE1kWzysstTSw94t+um2VT1cy+rR fBKw== 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 _______________________________________________ Do not post admin requests to the list. They will be ignored. Bluetooth-dev mailing list (Bluetooth-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/bluetooth-dev/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com
participants (1)
-
Hadi