api: MMModemBand is now an enum, not flags
We don't want to handle bands as flags, in order to avoid the need of 64-bits for the enum. This change implies that setting allowed bands will be done by giving an array of uint32 values, signature "au".
This commit is contained in:
@@ -54,9 +54,9 @@
|
||||
</varlistentry>
|
||||
<varlistentry><term><literal>"allowed-bands"</literal></term>
|
||||
<listitem>
|
||||
Bitmask of <link linkend="MMModemBand">MMModemBand</link> values,
|
||||
to specify all the bands allowed in the modem, given as a 64bit
|
||||
unsigned integer value (signature <literal>"t"</literal>).
|
||||
List of <link linkend="MMModemBand">MMModemBand</link> values,
|
||||
to specify all the bands allowed in the modem, given as a list of
|
||||
unsigned integer values (signature <literal>"au"</literal>).
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry><term><literal>"allowed-modes"</literal></term>
|
||||
@@ -153,9 +153,9 @@
|
||||
</varlistentry>
|
||||
<varlistentry><term><literal>"bands"</literal></term>
|
||||
<listitem>
|
||||
Bitmask of <link linkend="MMModemBand">MMModemBand</link> values,
|
||||
given only when registerd, as a 64bit
|
||||
unsigned integer value (signature <literal>"t"</literal>).
|
||||
List of <link linkend="MMModemBand">MMModemBand</link> values,
|
||||
given only when registered, as a list of
|
||||
unsigned integer value (signature <literal>"au"</literal>).
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry><term><literal>"access-technology"</literal></term>
|
||||
|
@@ -135,13 +135,13 @@
|
||||
|
||||
<!--
|
||||
SetAllowedBands:
|
||||
@bands: Bitmask of <link linkend="MMModemBand">MMModemBand</link> values, to specify all the bands allowed in the modem.
|
||||
@bands: List of <link linkend="MMModemBand">MMModemBand</link> values, to specify all the bands allowed in the modem.
|
||||
|
||||
Set the radio frequency and technology bands the device is currently
|
||||
allowed to use when connecting to a network.
|
||||
-->
|
||||
<method name="SetAllowedBands">
|
||||
<arg name="bands" type="t" direction="in" />
|
||||
<arg name="bands" type="au" direction="in" />
|
||||
</method>
|
||||
|
||||
<!--
|
||||
@@ -392,7 +392,7 @@
|
||||
<!--
|
||||
SupportedBands:
|
||||
|
||||
Bitmask of <link linkend="MMModemBand">MMModemBand</link> values,
|
||||
List of <link linkend="MMModemBand">MMModemBand</link> values,
|
||||
specifying the radio frequency and technology bands supported by the
|
||||
device.
|
||||
|
||||
@@ -400,12 +400,12 @@
|
||||
<link linkend="MM-MODEM-BAND-ANY:CAPS"><constant>MM_MODEM_BAND_ANY</constant></link>
|
||||
mode will be returned.
|
||||
-->
|
||||
<property name="SupportedBands" type="t" access="read" />
|
||||
<property name="SupportedBands" type="au" access="read" />
|
||||
|
||||
<!--
|
||||
AllowedBands:
|
||||
|
||||
Bitmask of <link linkend="MMModemBand">MMModemBand</link> values,
|
||||
List of <link linkend="MMModemBand">MMModemBand</link> values,
|
||||
specifying the radio frequency and technology bands the device is
|
||||
currently allowed to use when connecting to a network.
|
||||
|
||||
@@ -415,7 +415,7 @@
|
||||
<link linkend="MM-MODEM-BAND-ANY:CAPS"><constant>MM_MODEM_BAND_ANY</constant></link>
|
||||
mode is supported.
|
||||
-->
|
||||
<property name="AllowedBands" type="t" access="read" />
|
||||
<property name="AllowedBands" type="au" access="read" />
|
||||
|
||||
</interface>
|
||||
</node>
|
||||
|
Reference in New Issue
Block a user