From 45102fcd60b24770f41466b2f88d0ec7e487a09e Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Fri, 11 Feb 2022 23:35:48 +0100 Subject: iface-modem-signal: polling and thresholds only in effect if modem enabled If the modem is disabled: * Polling is completely halted. * Thresholds are disabled. * The user is allowed to call Setup() or SetupThresholds() to change the settings, even if the actual polling or thresholds setup isn't in effect. When the modem is enabled: * Polling will be started if there is a existing polling rate. * Thresholds will be setup based on the existing threshold settings. Fixes https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/504 --- introspection/org.freedesktop.ModemManager1.Modem.Signal.xml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'introspection') diff --git a/introspection/org.freedesktop.ModemManager1.Modem.Signal.xml b/introspection/org.freedesktop.ModemManager1.Modem.Signal.xml index 93b2996f..213db491 100644 --- a/introspection/org.freedesktop.ModemManager1.Modem.Signal.xml +++ b/introspection/org.freedesktop.ModemManager1.Modem.Signal.xml @@ -15,7 +15,7 @@ This interface provides access to extended signal quality information. - This interface will only be available once the modem is ready to be + This interface will only be functional once the modem is ready to be registered in the cellular network. 3GPP devices will require a valid unlocked SIM card before any of the features in the interface can be used. @@ -27,6 +27,10 @@ Both Setup() and SetupThresholds() can also be used at the same time if required, e.g. if they report different signal quality measurement types. + + The thresholds and polling setup will only be in effect if the modem is + in enabled state. Changing the settings with Setup() or SetupThresholds() + is also possible while in disabled state, though. --> -- cgit v1.2.3-70-g09d2