Re: Bonding completed notification
On Sep 22, 2015, at 1:37 PM, Nick Brook <nrbrook@gmail.com> wrote:
If you control the other device – someone correct me if I’m wrong – iOS requests pairing if it encounters a characteristic that requires it.
Indeed - pairing is done on-demand, when something that requires authorization/authentication is touched.
So you could avoid discovering those characteristics initially, and discover a normal characteristic which indicates if the device is bonded or not, and then continue with discovery.
In a similar vein, if you attempt to read/write/whatever a characteristic that you know requires security, you will “know” that pairing has succeeded if that request succeeds. If you’re not paired, the request will fail with an appropriate security-related error.
Nick
On 22 Sep 2015, at 21:27, Jason Conn <conn@apple.com> wrote:
Hi Marty,
There is not - the pairing process is not exposed via CoreBluetooth.
- Jason
On Sep 22, 2015, at 1:15 PM, Marty Holmquist <marty@companion-medical.com> wrote:
Hello all!
In our application we would like to know when coreBluetooth has completed bonding with a new device. Is there a callback or other method to capture this event?
Thanks! Marty _______________________________________________ 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/conn%40apple.com
This email sent to conn@apple.com
_______________________________________________ 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/nrbrook%40gmail.com
This email sent to nrbrook@gmail.com
_______________________________________________ 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)
-
Jason Conn