public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* recommended way to register on bluetooth event
@ 2019-10-01 13:36 Ordit Gross
  2019-10-02 11:05 ` Johan Hedberg
  2019-10-02 11:24 ` Szymon Janc
  0 siblings, 2 replies; 3+ messages in thread
From: Ordit Gross @ 2019-10-01 13:36 UTC (permalink / raw)
  To: linux-bluetooth

hi all,
I would like to register on encryption changed event.
As far as I could tell mgmt-api does not consist of such capability.
I think that reading from an HCI socket may enable me to read all
events (and the needed one as well).
is there a better way of registering on encryption changed event?

The reason I need this capability in the first place is that I want to
enable repairing if BLE Peripheral Removes Pairing keys.
currently, when the peripheral deletes his side of keys and attempt to
connect to master, the master will get  encryption changed event with
error  "PIN or Key Missing".
that's why I want to be notified on application that we got this
event, so I can delete my side of keys as well..

any suggestions?
thanks in advance!!
Ordit

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-10-02 11:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-01 13:36 recommended way to register on bluetooth event Ordit Gross
2019-10-02 11:05 ` Johan Hedberg
2019-10-02 11:24 ` Szymon Janc

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