[ble] Add support to clear all current bondings

This commit is contained in:
Dimitris Zervas authored and Kyle Brown committed 2020-09-29 19:35:49 -07:00
1 parent e5700eeb5f
commit 2cf64d8ce7
4 files changed
+12 -1

No files matched your search

+5
View File
@@ -63,3 +63,8 @@ class BLEHID(AbstractHID):
return self.devices[reporting_device_const].send_report(
evt[1 : report_size + 1]
)
def clear_bonds(self):
import _bleio
_bleio.adapter.erase_bonding()