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>
|
||||
|
||||
Reference in New Issue
Block a user