From 1ac18a06bb37d8745480a9af4fd6bc2f762bf265 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Wed, 22 Aug 2012 09:35:15 +0200 Subject: api,dbus: 'ip-type' property now given as a MMBearerIpFamily (u) Instead of using a predefined set of string values for 'ip-type' in Modem.CreateBearer() and Simple.Connect(), we'll use an enumeration. The implementation will then need to convert the requested IP family type to e.g. the correct PDP type in 3GPP modems. This change also consolidates the use of enums in dictionary properties when possible to do so, as with the Rm Protocol. --- introspection/org.freedesktop.ModemManager1.Modem.Simple.xml | 4 ++-- introspection/org.freedesktop.ModemManager1.Modem.xml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'introspection') diff --git a/introspection/org.freedesktop.ModemManager1.Modem.Simple.xml b/introspection/org.freedesktop.ModemManager1.Modem.Simple.xml index fc3745f3..3eccbbcc 100644 --- a/introspection/org.freedesktop.ModemManager1.Modem.Simple.xml +++ b/introspection/org.freedesktop.ModemManager1.Modem.Simple.xml @@ -82,8 +82,8 @@ "ip-type" For GSM/UMTS and LTE devices the IP addressing type to use, - one of "IPV4", "IPV4V6" or "IPV6". - Given as a string value (signature "s"). + given as a MMBearerIpFamily + value (signature "u"). "user" diff --git a/introspection/org.freedesktop.ModemManager1.Modem.xml b/introspection/org.freedesktop.ModemManager1.Modem.xml index 1a6b4519..5869db7f 100644 --- a/introspection/org.freedesktop.ModemManager1.Modem.xml +++ b/introspection/org.freedesktop.ModemManager1.Modem.xml @@ -62,7 +62,7 @@ "apn" Access Point Name, given as a string value (signature "s"). Required in 3GPP. "ip-type" - Addressing type, given as a string value (signature "s"). One of "IPV4", "IPV4V6", or "IPV6". Optional in 3GPP and CDMA. + Addressing type, given as a MMBearerIpFamily value (signature "u"). Optional in 3GPP and CDMA. "user" User name (if any) required by the network, given as a string value (signature "s"). Optional in 3GPP. "password" -- cgit v1.2.3-70-g09d2