diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-10-02 09:22:45 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-10-04 10:17:05 +0200 |
commit | dda274437c0b688b33027adac9c2496b5511d76d (patch) | |
tree | f924839cf47bc5005a8824fd0a42bad838d8e624 /introspection | |
parent | d148eb6c7db59ea2f960d56876fc97a6a36ea78f (diff) |
api,introspection: firmware images require a new `image-type' property
Image types of `MM_FIRMWARE_IMAGE_TYPE_GENERIC' will expose only the mandatory
parameters. Other vendor-specific images may expose other properties.
Diffstat (limited to 'introspection')
-rw-r--r-- | introspection/org.freedesktop.ModemManager1.Modem.Firmware.xml | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/introspection/org.freedesktop.ModemManager1.Modem.Firmware.xml b/introspection/org.freedesktop.ModemManager1.Modem.Firmware.xml index 7ab2ed9f..c742fb12 100644 --- a/introspection/org.freedesktop.ModemManager1.Modem.Firmware.xml +++ b/introspection/org.freedesktop.ModemManager1.Modem.Firmware.xml @@ -25,6 +25,15 @@ Certain properties are pre-defined, and some are required: <variablelist> + <varlistentry><term><literal>"image-type"</literal></term> + <listitem> + (Required) Type of the firmware image, given as a + <link linkend="MMFirmwareImageType">MMFirmwareImageType</link> value + (signature <literal>"u"</literal>). Firmware images of type + <link linkend="MM-FIRMWARE-IMAGE-TYPE-GENERIC:CAPS">MM_FIRMWARE_IMAGE_TYPE_GENERIC</link> + will only expose only the mandatory properties. + </listitem> + </varlistentry> <varlistentry><term><literal>"name"</literal></term> <listitem> (Required) A user-readable name for the firmware image, given as a @@ -33,7 +42,7 @@ </varlistentry> <varlistentry><term><literal>"version"</literal></term> <listitem> - (Optional) The version of the firmware, given as a string value + (Required) The version of the firmware, given as a string value (signature <literal>"s"</literal>). The format is unspecified; tools attempting to upgrade firmware automatically must understand the versioning scheme used by the modem driver they are |