From 45fd96132f4568c97a85524b530c2b682fa07c14 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Sun, 7 Mar 2010 09:58:30 -0800 Subject: [PATCH] api: add new AllowedModes and AccessTechnology API This adds split properties and functions for the allowed modes and the current access technology used by the device when connected to the mobile network. --- introspection/mm-modem-gsm-network.xml | 38 +++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/introspection/mm-modem-gsm-network.xml b/introspection/mm-modem-gsm-network.xml index 0e52ebd4..03425c6e 100644 --- a/introspection/mm-modem-gsm-network.xml +++ b/introspection/mm-modem-gsm-network.xml @@ -98,7 +98,8 @@ Returns the current network mode of the device (DEPRECATED; does not allow returning both the saved mode preference *and* the current access - technology of the device at the same time. See GetAllowedModes instead). + technology of the device at the same time. See the AllowedModes + property instead). @@ -125,6 +126,41 @@ + + + Set the allowed access technologies to use when connecting to a mobile + network. + + + + + + The allowed access technologies. Only one mode flag may be specified, + and it may not be UNKNOWN. The device may not support all modes; see + the org.freedesktop.ModemManager.Gsm.Card.SupportedModes property for + allowed modes for each device. All devices support the "ANY" flag. + + + + + + + The allowed access technologies (eg 2G/3G preference or specific access + technology) to use when connecting to a mobile network. (Note for plugin + writers: this value may be ANY) + + + + + + The current network access technology used by the device to communicate + with the base station. (Note to plugin writers: if the device's access + technology cannot be determined, use UNKNOWN. Using any of the + PREFER flags or the ANY in this field is invalid as they are not a + specific access technology.) + + + The signal quality changed.