b3b / able

Python for Android Bluetooth Low Energy package
MIT License
38 stars 18 forks source link

Added event handler for bluetooth adapter state change. #39

Closed robgar2001 closed 1 year ago

robgar2001 commented 1 year ago

It allows for detection when the bluetooth adapter is turned off/on. For example:

https://developer.android.com/guide/topics/connectivity/bluetooth/setup image

b3b commented 1 year ago

Thank you, @robgar2001 Looks great. I'll test and merge it.

b3b commented 1 year ago

Released in version 1.0.14.

Also, added able.AdapterState helper, and usage example.