Open dhalbert opened 4 years ago
This is also needed for adafruit/Adafruit_CircuitPython_BLE_Magic_Light that use _bleio just to catch disconnection. It's both in the Readme and the example.
except _bleio.ConnectionError:
Any other proper way to do that is welcome.
Add
adafruit_ble
bindings for _ble.*Exception
so that user code can catch them without importing_bleio
.@kattni has need of this for a BLE central program, and so would most other folks.