api,introspection: new 'SetCurrentCapabilities' method

For those modems which expose a valid 'SupportedCapabilities' property with more
than one item in the list, we'll allow switching between them.
This commit is contained in:
Aleksander Morgado
2013-05-24 12:55:07 +02:00
parent 700ebc5c07
commit a902e6859e
6 changed files with 261 additions and 0 deletions

View File

@@ -136,6 +136,16 @@
<arg name="state" type="u" direction="in" />
</method>
<!--
SetCurrentCapabilities:
@capabilities: Bitmask of <link linkend="MMModemCapability">MMModemCapability</link> values, to specify the capabilities to use.
Set the capabilities of the device. A restart of the modem may be required.
-->
<method name="SetCurrentCapabilities">
<arg name="capabilities" type="u" direction="in" />
</method>
<!--
SetCurrentModes:
@modes: A pair of <link linkend="MMModemMode">MMModemMode</link> values, where the first one is a bitmask of allowed modes, and the second one the preferred mode, if any.