-
-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No RSSI #76
Comments
What platform/OS is this on? |
This is on Arch Linux x86_64. Is the RSSI information really implemented? If so, what is the current way of retrieving it? Thanks |
Hi, |
We get RSSI in all major platforms as of v0.8, closing. |
Can we maybe re-open this issue, since I think TX power was maybe being considered as equivalent to RSSI here? The current status looks like: It looks like |
looking at the osx api I see that the tx is exposed via: The rssi is exposed asynchronously via: (and then it depends whether on ios or osx exactly how the rssi value is received) |
This adds rssi to PeripheralProperties to complement tx_power_level that's already reported. This exposes the rssi as i16 which is consistent with bluez and Windows. This also updates tx_power_level to be an i16 for consistency - though it is a small public API change. Note: the corebluetooth backend currently always reports None for the TX and RSSI power levels. Addresses: deviceplug#76
This adds rssi to PeripheralProperties to complement tx_power_level that's already reported. This exposes the rssi as i16 which is consistent with bluez and Windows. This also updates tx_power_level to be an i16 for consistency - though it is a small public API change. Note: the corebluetooth backend currently always reports None for the TX and RSSI power levels. Addresses: deviceplug#76
This adds rssi to PeripheralProperties to complement tx_power_level that's already reported. This exposes the rssi as i16 which is consistent with bluez and Windows. This also updates tx_power_level to be an i16 for consistency - though it is a small public API change. Note: the corebluetooth backend currently always reports None for the TX and RSSI power levels. Addresses: deviceplug#76
Now fixed in dev by #198 for Windows and Linux, CoreBluetooth is still pending. |
Describe the bug
Can't get RSSI
Expected behavior
RSSI information for each message received
Actual behavior
No RSSI information
Additional context
RSSI mentioned here to set tx_power_level. Don't quite understand why. tx_power_level should be retrieved from the message sent by the peripheral while the RSSI should be retrieved from the central's radio.
The text was updated successfully, but these errors were encountered: