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.
This commit is contained in:
@@ -82,8 +82,8 @@
|
||||
<varlistentry><term><literal>"ip-type"</literal></term>
|
||||
<listitem>
|
||||
For GSM/UMTS and LTE devices the IP addressing type to use,
|
||||
one of "IPV4", "IPV4V6" or "IPV6".
|
||||
Given as a string value (signature <literal>"s"</literal>).
|
||||
given as a <link linkend="MMBearerIpFamily">MMBearerIpFamily</link>
|
||||
value (signature <literal>"u"</literal>).
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry><term><literal>"user"</literal></term>
|
||||
|
@@ -62,7 +62,7 @@
|
||||
<varlistentry><term><literal>"apn"</literal></term>
|
||||
<listitem><para>Access Point Name, given as a string value (signature <literal>"s"</literal>). Required in 3GPP.</para></listitem></varlistentry>
|
||||
<varlistentry><term><literal>"ip-type"</literal></term>
|
||||
<listitem><para>Addressing type, given as a string value (signature <literal>"s"</literal>). One of <literal>"IPV4"</literal>, <literal>"IPV4V6"</literal>, or <literal>"IPV6"</literal>. Optional in 3GPP and CDMA.</para></listitem></varlistentry>
|
||||
<listitem><para>Addressing type, given as a <link linkend="MMBearerIpFamily">MMBearerIpFamily</link> value (signature <literal>"u"</literal>). Optional in 3GPP and CDMA.</para></listitem></varlistentry>
|
||||
<varlistentry><term><literal>"user"</literal></term>
|
||||
<listitem><para>User name (if any) required by the network, given as a string value (signature <literal>"s"</literal>). Optional in 3GPP.</para></listitem></varlistentry>
|
||||
<varlistentry><term><literal>"password"</literal></term>
|
||||
|
Reference in New Issue
Block a user