-
Notifications
You must be signed in to change notification settings - Fork 892
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
Calculate latency, receive uplink RSSI, calculate bandwidth congestion and packet rate #492
base: master
Are you sure you want to change the base?
Conversation
- Moved latency measurement from the radio driver to a new Latency class for better organization and readability. - Generalized the LinkStatistics class to allow for easy addition of other link statistics in the future.
In a valiant attempt to appease the relentless gods of autopep8 and the all-seeing eyes of CI, I embarked on an epic journey to fix double-quoted strings and reorder imports.
- Modified start() and stop() methods for better thread management. - Implemented thread reinitialization on start after stop.
- Refactor link quality callback to contain signal health obj with additional signal health information - Parse uplink RSSI in ack into signal health obj
Return a dictionary with all updated signal quality statistics in the callback, rather than the entire class.
Renamed SignalHealth class to RadioLinkStatistics to better reflect its responsibility of handling and processing radio-specific metrics.
In the last commit, I renamed the I also want to bring up the consideration of feeding data from |
Continuation of #480 and #477
🚀 Features
Introduces a framework for link statistics, enabling the tracking of various metrics, starting with latency measurement.
Refactors link quality callback to contain signal health obj with additional signal health information:
📝 To-do
The implementation improves the lib's ability to monitor communication quality and lays the groundwork for further enhancements in link statistics.