Re: Bonding completed notification
Re: Bonding completed notification
- Subject: Re: Bonding completed notification
- From: Jason Conn <email@hidden>
- Date: Tue, 22 Sep 2015 14:10:01 -0700
> On Sep 22, 2015, at 1:37 PM, Nick Brook <email@hidden> 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 <email@hidden> 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 <email@hidden> 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 (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
>
_______________________________________________
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