winrt backend currently reports rssi as TX power
rib opened this issue · comments
Robert Bragg commented
Describe the bug
The winrt backend is reporting RawSignalStrengthInDBm
as the tx_power_level
instead of TransmitPowerLevelInDBm
Expected behavior
BluetoothLEAdvertisementReceivedEventArgs::TransmitPowerLevelInDBm
should be reported instead
Incidentally it also looks like it would be good to support reporting rssi in btleplug in addition to tx power so it's possible to calculate/estimate the signal loss. (#76 raise this before but I think perhaps rssi was being considered as equivalent to tx power when the issue was closed?)
Andrew Walbran commented
Fixed in dev by #197.