aboutsummaryrefslogtreecommitdiff
path: root/introspection/org.freedesktop.ModemManager1.Modem.Firmware.xml
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2018-12-28 12:59:55 +0100
committerDan Williams <dcbw@redhat.com>2019-01-03 18:53:52 +0000
commit87712c27f5868e2f05c03d4fdc2ee79f0ac1c243 (patch)
treebf20cda912cfbb347583067d78287aa923e6b561 /introspection/org.freedesktop.ModemManager1.Modem.Firmware.xml
parentf35d64a8992a06e75585c774090e407ae21f24fe (diff)
api,firmware: MMModemFirmwareUpdateMethod as flags, not enum
Devices may require/support more than one update method, so instead of reporting the method as a single enum value, use a set of flags instead.
Diffstat (limited to 'introspection/org.freedesktop.ModemManager1.Modem.Firmware.xml')
-rw-r--r--introspection/org.freedesktop.ModemManager1.Modem.Firmware.xml25
1 files changed, 18 insertions, 7 deletions
diff --git a/introspection/org.freedesktop.ModemManager1.Modem.Firmware.xml b/introspection/org.freedesktop.ModemManager1.Modem.Firmware.xml
index c2fe7eb0..e8c01c81 100644
--- a/introspection/org.freedesktop.ModemManager1.Modem.Firmware.xml
+++ b/introspection/org.freedesktop.ModemManager1.Modem.Firmware.xml
@@ -122,17 +122,16 @@
Detailed settings that provide information about how the module should be
updated.
-
- The settings are given as a <link linkend="MMModemFirmwareUpdateMethod">MMModemFirmwareUpdateMethod</link>
- value specifying the type of firmware update procedure expected followed by a
- dictionary that includes other parameters applicable to the specific method.
+ The settings are given as a bitmask of <link linkend="MMModemFirmwareUpdateMethod">MMModemFirmwareUpdateMethod</link>
+ values specifying the type of firmware update procedures expected followed by a
+ dictionary that includes other parameters applicable to the specific methods reported.
<variablelist>
- <varlistentry><term><link linkend="MM-MODEM-FIRMWARE-UPDATE-METHOD-FASTBOOT:CAPS">MM_MODEM_FIRMWARE_UPDATE_METHOD_FASTBOOT</link></term>
+ <varlistentry>
<listitem>
<para>
- Devices supporting the fastboot firmware update method require exposing the
- following additional settings:
+ The following settings are mandatory as long as the reported update method is not
+ <term><link linkend="MM-MODEM-FIRMWARE-UPDATE-METHOD-NONE:CAPS">MM_MODEM_FIRMWARE_UPDATE_METHOD_NONE</link></term>.
</para>
<variablelist>
<varlistentry><term><literal>"device-ids"</literal></term>
@@ -152,6 +151,18 @@
(signature <literal>'s'</literal>)
</listitem>
</varlistentry>
+ </variablelist>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+
+ <variablelist>
+ <varlistentry><term><link linkend="MM-MODEM-FIRMWARE-UPDATE-METHOD-FASTBOOT:CAPS">MM_MODEM_FIRMWARE_UPDATE_METHOD_FASTBOOT</link></term>
+ <listitem>
+ <para>
+ Devices supporting the fastboot firmware update method require exposing the
+ following additional settings:
+ </para>
<varlistentry><term><literal>"fastboot-at"</literal></term>
<listitem>
(Required) This property exposes the AT command that should be sent to the