Classes
RadioLinkStatistics
RadioLinkStatistics(radio_link_statistics_callback, alpha=0.1)
Tracks the health of the signal by monitoring link quality, uplink RSSI, packet rates, and congestion.
Initialize the RadioLinkStatistics class.
Parameters
Name | Description |
---|---|
alpha | Weight for the exponential moving average (default 0.1) |
Methods
def update(self, ack, packet_out)
Update the radio link statistics based on the acknowledgment data.
Parameters
Name | Description |
---|---|
ack | Acknowledgment object containing retry and RSSI data. |