From f198bc4eb054223d27ce96829d3437b87a61f3cb Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Tue, 2 Oct 2012 11:35:23 +0200 Subject: [PATCH] api,introspection: simplify the Firmware interface The Firmware interface was highly based on 'slots' to identify the existing firmware images; but that doesn't fit very well with the initial implementation of the Firmware interface in QMI-based modems. In these modems the 'storage index' is a property which is not available in all types of images (e.g. 'PRI' images don't have it). Therefore, instead of using a unique 'slot' identifier we'll just use the 'name' of the firmware as unique ID. Also, currently skip the handling of 'available' images, and the method to 'Install()' new images, at least until we have one implementation defining what to do with those. --- ...eedesktop.ModemManager1.Modem.Firmware.xml | 34 ++++++++----------- 1 file changed, 15 insertions(+), 19 deletions(-) diff --git a/introspection/org.freedesktop.ModemManager1.Modem.Firmware.xml b/introspection/org.freedesktop.ModemManager1.Modem.Firmware.xml index c742fb12..e46478fe 100644 --- a/introspection/org.freedesktop.ModemManager1.Modem.Firmware.xml +++ b/introspection/org.freedesktop.ModemManager1.Modem.Firmware.xml @@ -55,39 +55,35 @@ - - - + + - + + - +