Linux bluetooth development
 help / color / mirror / Atom feed
* Re: Bluez LE: Unable to get readings from LE devices
@ 2016-03-07 19:05 Ron Harding
  2016-03-08 12:58 ` Luiz Augusto von Dentz
  0 siblings, 1 reply; 4+ messages in thread
From: Ron Harding @ 2016-03-07 19:05 UTC (permalink / raw)
  To: linux-bluetooth

> 'No bonding' is used when the device is performing a
> Secure Simple Pairing procedure, but does not intend to retain the link key
> after the physical link is disconnected.
>
> I would keep the policy of not redoing the pairing automatically in
> case of missing link key error but perhaps the agent shall be called
> in such case and then depending on the response start a new pairing,
> so we keep this policy in the agent. Nevertheless it is still a good
> idea to set the "No bonding' value in case you want to avoid this
> extra steps while reconnecting.

Your explanation of how the "PIN or Key Missing" status could arise matches what I thought might be happening.

But I'm having trouble figuring out how to implement your suggested fix.  I know "No Bonding" is one of the values
that can be specified in the AuthReq field of a pairing request.  But I don't see how I, as a user of BlueZ, can
tell it to do so.  There doesn't seem to be anything in either org.bluez.Device1 or org.bluez.Agent1 for it.

I think maybe you're suggesting that the LE device it should be specifying "No Bonding".  If it's not going to
store the Link Key, then indeed it probably should.  But unfortunately we can't change that: we don't make the device.

- Ron


^ permalink raw reply	[flat|nested] 4+ messages in thread
[parent not found: <56C5F299.5080909@prudentl.com>]

end of thread, other threads:[~2016-03-08 12:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-07 19:05 Bluez LE: Unable to get readings from LE devices Ron Harding
2016-03-08 12:58 ` Luiz Augusto von Dentz
     [not found] <56C5F299.5080909@prudentl.com>
2016-02-18 16:51 ` ram
2016-02-19 11:19   ` Luiz Augusto von Dentz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox