api,introspection: 'SupportedModes' is now a list of possible combinations
Instead of just a mask of MMModemMode values, we now provide a list of the allowed and preferred mode combinations supported by the modem. E.g.: $> sudo mmcli -m 0 ------------------------- Modes | supported: 'allowed: 2g; preferred: none | allowed: 3g; preferred: none | allowed: 2g, 3g; preferred: none | allowed: 2g, 3g; preferred: 2g | allowed: 2g, 3g; preferred: 3g | allowed: 4g; preferred: none | allowed: 2g, 3g, 4g; preferred: none'
This commit is contained in:
@@ -410,14 +410,25 @@
|
||||
<!--
|
||||
SupportedModes:
|
||||
|
||||
Bitmask of <link linkend="MMModemMode">MMModemMode</link> values,
|
||||
specifying the access technologies supported by the device.
|
||||
This property exposes the supported mode combinations, given as an array of unsigned
|
||||
integer pairs, where:
|
||||
|
||||
For POTS devices, only the
|
||||
<link linkend="MM-MODEM-MODE-ANY:CAPS"><constant>MM_MODEM_MODE_ANY</constant></link>
|
||||
mode will be returned.
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<listitem>
|
||||
The first integer is a bitmask of <link linkend="MMModemMode">MMModemMode</link> values,
|
||||
specifying the allowed modes.
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<listitem>
|
||||
The second integer is a single <link linkend="MMModemMode">MMModemMode</link>, which
|
||||
specifies the preferred access technology, among the ones defined in the allowed modes.
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
-->
|
||||
<property name="SupportedModes" type="u" access="read" />
|
||||
<property name="SupportedModes" type="a(uu)" access="read" />
|
||||
|
||||
<!--
|
||||
AllowedModes:
|
||||
|
Reference in New Issue
Block a user