aboutsummaryrefslogtreecommitdiff
path: root/introspection
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2021-12-11 15:06:42 +0100
committerAleksander Morgado <aleksander@aleksander.es>2021-12-13 09:35:28 +0000
commit029ea68ce4924dc235d7f3e91f48ec744dd78c1f (patch)
treeb0e1e9be0af3163572439b3f6cb8d2b03797fc9d /introspection
parent9fc3d15d29678585b2a120f944ec765dcbbf3293 (diff)
base-bearer: make sure 'ReloadStatsSupported' is set before transitioning to 'Connected'
By the time we report the bearer as 'Connected', the DBus client should also be able to know right away the value of 'ReloadStatsSupported', instead of needing to wait for it to be updated asynchronously. This logic adds one additional step in the generic connection sequence for this purpose, which is run after the modem is connected but before we report the state change via DBus.
Diffstat (limited to 'introspection')
-rw-r--r--introspection/org.freedesktop.ModemManager1.Bearer.xml10
1 files changed, 9 insertions, 1 deletions
diff --git a/introspection/org.freedesktop.ModemManager1.Bearer.xml b/introspection/org.freedesktop.ModemManager1.Bearer.xml
index de306a61..07cab833 100644
--- a/introspection/org.freedesktop.ModemManager1.Bearer.xml
+++ b/introspection/org.freedesktop.ModemManager1.Bearer.xml
@@ -381,7 +381,15 @@
<!--
ReloadStatsSupported:
- Indicates whether or not the bearer support getting rx and tx bytes statistics.
+ Indicates whether reloading ongoing statistics is supported or not.
+
+ This property applies exclusively to the statistics that are queried from
+ the modem periodically; i.e. "rx-bytes", "tx-bytes", "uplink-speed" and
+ "downlink-speed".
+
+ The property is initialized to a fixed value as soon as the first
+ connection attempt has successfully finished. Reading this value before
+ the first successful connection attempt will always report %FALSE.
Since: 1.20
-->