Flags and Enumerations
MMBearerIpFamily
MMBearerIpMethod
+MMFirmwareImageType
MMModem3gppFacility
MMModem3gppNetworkAvailability
MMModem3gppRegistrationState
diff --git a/include/ModemManager-enums.h b/include/ModemManager-enums.h
index 16fcb70e..226b267e 100644
--- a/include/ModemManager-enums.h
+++ b/include/ModemManager-enums.h
@@ -680,4 +680,16 @@ typedef enum { /*< underscore_name=mm_modem_3gpp_ussd_session_state >*/
MM_MODEM_3GPP_USSD_SESSION_STATE_USER_RESPONSE = 3,
} MMModem3gppUssdSessionState;
+/**
+ * MMFirmwareImageType:
+ * @MM_FIRMWARE_IMAGE_TYPE_UNKNOWN: Unknown firmware type.
+ * @MM_FIRMWARE_IMAGE_TYPE_GENERIC: Generic firmware image.
+ *
+ * Type of firmware image.
+ */
+typedef enum { /*< underscore_name=mm_firmware_image_type >*/
+ MM_FIRMWARE_IMAGE_TYPE_UNKNOWN = 0,
+ MM_FIRMWARE_IMAGE_TYPE_GENERIC = 1
+} MMFirmwareImageType;
+
#endif /* _MODEMMANAGER_ENUMS_H_ */
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:
+ "image-type"
+
+ (Required) Type of the firmware image, given as a
+ MMFirmwareImageType value
+ (signature "u"). Firmware images of type
+ MM_FIRMWARE_IMAGE_TYPE_GENERIC
+ will only expose only the mandatory properties.
+
+ "name"
(Required) A user-readable name for the firmware image, given as a
@@ -33,7 +42,7 @@
"version"
- (Optional) The version of the firmware, given as a string value
+ (Required) The version of the firmware, given as a string value
(signature "s"). The format is
unspecified; tools attempting to upgrade firmware automatically must
understand the versioning scheme used by the modem driver they are