I've searched the tutorials, the CPP github repository, and the Warble library for [rssi, signal strength, etc.], and the only result was in the warble scan results. Is there any way to monitor the rssi of the sensor while streaming data?
Since I'm using PyWarble on Linux, I need to use BlueZ to monitor RSSI? It would be nice if PyWarble exposed this functionality.
EDIT: I've been hunting for a way to monitor the RSSI of a connected device on linux, and it appears the only way to get the RSSI of an LE device is during scan. hcitool rssi and the RSSI dbus property in bluez only work for "normal" bluetooth devices.
Comments
there is no support for that in the underlying bluetooth le APIs.
You would need to monitor the rssi outside of our APIs (code your own monitor).
For example if you were developing an App using our Javascript APIs, they use the Noble BLE libraries under the hood. Noble has a .rssi monitor: https://github.com/mbientlab/noble/blob/master/examples/advertisement-discovery.js
https://github.com/mbientlab/noble/blob/8055bc4530c3cd19b13826660ef6e924d7dfd17a/lib/peripheral.js
Since I'm using PyWarble on Linux, I need to use BlueZ to monitor RSSI? It would be nice if PyWarble exposed this functionality.
EDIT: I've been hunting for a way to monitor the RSSI of a connected device on linux, and it appears the only way to get the RSSI of an LE device is during scan.
hcitool rssi
and theRSSI
dbus property in bluez only work for "normal" bluetooth devices.Unfortunately we don't own any of the BLE libraries but you are welcome to find the owner on github and make a pull or modification request.