module/network: Add link stats

Exports two new tags from network module, `ul-speed` and `dl-speed`.
Because these work through polling, poll-interval must be set.
Otherwise, these two tags always will be 0.
This commit is contained in:
Johannes 2022-04-30 05:08:05 +02:00
parent eb5cb9869c
commit 03e1c7dc13
4 changed files with 81 additions and 4 deletions

View file

@ -51,6 +51,12 @@ address.
| tx-bitrate
: int
: TX bitrate in bits/s
| dl-speed
: int
: Download speed in bits/s
| ul-speed
: int
: Upload speed in bits/s
# CONFIGURATION
@ -66,7 +72,8 @@ address.
| poll-interval
: int
: no
: Periodically (in seconds) update the signal and rx+tx bitrate tags.
: Periodically (in seconds) update the signal, rx+tx bitrate, and
ul+dl speed tags.
# EXAMPLES