hbldh / bleak

A cross platform Bluetooth Low Energy Client for Python using asyncio
MIT License
1.56k stars 275 forks source link

tx_power on Android uses wrong getter #1532

Closed dlech closed 2 weeks ago

dlech commented 1 month ago

To be consistent with the other backend APIs, the Android backend should not use ScanResult.getTxPower() but ScanRecord.getTxPowerLevel() instead, if I'm not mistaken.

Originally posted by @MarkusPiotrowski in https://github.com/hbldh/bleak/discussions/984#discussioncomment-9023455