I receive bluepy.btle.BTLEException: Failed to execute mgmt cmd 'le on' error both when bluepy is not executed as root as well as when I use the wrong interface (hci0 or hci1).
This makes it hard to treat this exception, as the two problems have different solutions.
It would be nice to have different exceptions or exception codes for the two problems.
I receive
bluepy.btle.BTLEException: Failed to execute mgmt cmd 'le on'
error both when bluepy is not executed as root as well as when I use the wrong interface (hci0 or hci1). This makes it hard to treat this exception, as the two problems have different solutions.It would be nice to have different exceptions or exception codes for the two problems.