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.
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 theestat
value through to theBTLEException
so that it is possible to interrogate the true bluetooth status code.