introspection,api: document the expected parameters in Cdma.ActivateManual()
This commit is contained in:
@@ -36,12 +36,68 @@
|
|||||||
|
|
||||||
<!--
|
<!--
|
||||||
ActivateManual:
|
ActivateManual:
|
||||||
@properties: A dictionary of properties to set on the modem, including <literal>"mdn"</literal> and <literal>"min"</literal>.
|
@properties: A dictionary of properties to set on the modem.
|
||||||
|
|
||||||
Sets the modem provisioning data directly, without contacting the
|
Sets the modem provisioning data directly, without contacting the
|
||||||
carrier over the air.
|
carrier over the air.
|
||||||
|
|
||||||
Some modems will reboot after this call is made.
|
Some modems will reboot after this call is made.
|
||||||
|
|
||||||
|
This dictionary is composed of a string identifier key
|
||||||
|
with an associated data which contains type-specific location
|
||||||
|
information:
|
||||||
|
|
||||||
|
<variablelist>
|
||||||
|
<varlistentry><term>"spc"</term>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
The Service Programming Code, given as a string of exactly 6 digit characters. Mandatory parameter.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
<varlistentry><term>"sid"</term>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
The System Identification Number, given as a 16-bit unsigned integer (signature <literal>"q"</literal>). Mandatory parameter.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
<varlistentry><term>"mdn"</term>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
The Mobile Directory Number, given as a string of maximum 15 characters. Mandatory parameter.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
<varlistentry><term>"min"</term>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
The Mobile Identification Number, given as a string of maximum 15 characters. Mandatory parameter.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
<varlistentry><term>"mn-ha-key"</term>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
The MN-HA key, given as a string of maximum 16 characters.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
<varlistentry><term>"mn-aaa-key"</term>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
The MN-AAA key, given as a string of maximum 16 characters.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
<varlistentry><term>"prl"</term>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
The Preferred Roaming List, given as an array of maximum 16384 bytes.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
</variablelist>
|
||||||
-->
|
-->
|
||||||
<method name="ActivateManual">
|
<method name="ActivateManual">
|
||||||
<arg name="properties" type="a{sv}" direction="in" />
|
<arg name="properties" type="a{sv}" direction="in" />
|
||||||
|
@@ -277,7 +277,7 @@ handle_activate_manual_auth_ready (MMBaseModem *self,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* If activating OTA is not implemented, report an error */
|
/* If manual activation is not implemented, report an error */
|
||||||
if (!MM_IFACE_MODEM_CDMA_GET_INTERFACE (self)->activate_manual ||
|
if (!MM_IFACE_MODEM_CDMA_GET_INTERFACE (self)->activate_manual ||
|
||||||
!MM_IFACE_MODEM_CDMA_GET_INTERFACE (self)->activate_manual_finish) {
|
!MM_IFACE_MODEM_CDMA_GET_INTERFACE (self)->activate_manual_finish) {
|
||||||
g_dbus_method_invocation_return_error (ctx->invocation,
|
g_dbus_method_invocation_return_error (ctx->invocation,
|
||||||
|
Reference in New Issue
Block a user