Forgetting a BLE Bonded connection from a peripheral
Forgetting a BLE Bonded connection from a peripheral
- Subject: Forgetting a BLE Bonded connection from a peripheral
- From: K S <email@hidden>
- Date: Wed, 13 Nov 2013 09:06:05 -0600
I want to have a BLE HID peripheral that requests bonding with an iOS 7 device (iPhone), so then the iPhone can pair and bond with the peripheral from the Bluetooth settings list, with the little (i) next to it that says I can forget the device from the phone. While it's in there, the phone will automatically try to connect to the peripheral, whenever the peripheral is in range and advertising.
All of that works fine, but what I have a question about, is how can my peripheral tell the phone that it no longer wants to be automatically connected to? I know you can just forget the device on the phone to accomplish this, but I feel like there should be a way to do the equivalent on the peripheral side, to tell the phone to stop connecting.
I've tried returning a variety of different error response codes on different levels during communication to the phone, but so far, the closest I can get is if I send an ATT Insufficient Authentication error response, I can get the phone to stop trying to make gatt requests, but it still remains connected, and still automatically connects again if I disconnect the peripheral.
Does anyone the process for remotely making the phone stop automatically reconnecting? Or if this is even possible?
_______________________________________________
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