IanHarvey / bluepy

Python interface to Bluetooth LE on Linux
Other
1.6k stars 490 forks source link

Expose the estat code returned by bluepy-helper through the BTLEException #326

Closed csonsino closed 5 years ago

csonsino commented 5 years ago

The bluepy-helper passes the underlying bluetooth status code to the btle.py module, but the _waitResp function does not do anything with the value. This change passes the estat value through to the BTLEException so that it is possible to interrogate the true bluetooth status code.

IanHarvey commented 5 years ago

Thanks for the patch. Now merged.