Closed andreamerello closed 4 years ago
Hello, Andrea Looks great! I will test on my devices.
Yes, you use proper BluetoothDispatcher :)
The idea behind two two "dispatcher.py" files was to import able.android.dispatcher
only on android platform. And able.dispatcher
could be imported on all platforms, to run tests and collect docs.
Alexander
Works great on my devices! Thanks
Hello
I've added support for getting updated RSSI information from connected devices. I've tested it on a real device and it seems I can plot the RSSI on a kivy plot; it seems I'm getting reasonable values, so I'd say it works.
The APIs have been extended with the _updaterssi() method to request for updating the RSSI, and the _on_rssiupdated(self, rssi, status) event which will trigger once the updated RSSI value is available.
I've tried to do this in a coherent way with respect to able design; I've been a bit in doubt about the the two "dispatcher.py" files (i.e. whether to put the new code in BluetoothDispatcher vs BluetoothDispatcherBase).. Please let me know whether I did it in the proper way :)
Andrea