• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Bluetooth device/service caching
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bluetooth device/service caching


  • Subject: Re: Bluetooth device/service caching
  • From: "Konstantin K." <email@hidden>
  • Date: Mon, 09 Feb 2015 10:44:11 -0500

This is a long known apple issue and they've been reluctant to fix this.  Not rescanning saves on battery life.  This perfectly follows the moto of "Design for the 80%" (or whatever it is).

What we've done to get around this is duplicate (but not implement) the services.  Make sure that they are created in the same order.  What you want is to have handle numbers be identical.

On Mon, Feb 9, 2015 at 10:34 AM, Nick Brook <email@hidden> wrote:
Hi,

We’ve built a bluetooth device that operates in two different modes.

In mode 1 it advertises as a custom Bluetooth Low Energy device and our application connects through CoreBluetooth.

When switched to mode 2 it advertises as a HID keyboard, which can be connected in iOS settings.

We are encountering a problem where connecting via mode 1 and then switching to mode 2 can result in iOS connecting via both methods, as it is paired to the device and the App always requests a connection to known BTLE devices. Is there anything we can do to prevent iOS connecting via CoreBluetooth when the device is acting as a HID keyboard?

Thanks
Nick
 _______________________________________________
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

References: 
 >Bluetooth device/service caching (From: Nick Brook <email@hidden>)

  • Prev by Date: Bluetooth device/service caching
  • Next by Date: Re: Bluetooth device/service caching
  • Previous by thread: Bluetooth device/service caching
  • Next by thread: Re: Bluetooth device/service caching
  • Index(es):
    • Date
    • Thread