From 588f9550ed1acd792ee09c2b43dbf13788ce7663 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Fri, 30 Sep 2011 15:01:13 +0200 Subject: [PATCH] api: remove GetInfo() from the Modem API and use read-only properties instead. New 'Manufacturer', 'Model' and 'Revision properties are added, all being read-only strings. --- new/org.freedesktop.ModemManager1.Modem.xml | 37 ++++++++++----------- 1 file changed, 18 insertions(+), 19 deletions(-) diff --git a/new/org.freedesktop.ModemManager1.Modem.xml b/new/org.freedesktop.ModemManager1.Modem.xml index 15eb1b9c..cc970c64 100644 --- a/new/org.freedesktop.ModemManager1.Modem.xml +++ b/new/org.freedesktop.ModemManager1.Modem.xml @@ -82,25 +82,6 @@ - - - Retrieve modem information, like the manufacturer, hardware version, - firmware version, etc. - - - - - - Dictionary containing various information about the modem, including - zero or more of the following items: - - manufacturer : (string) - model : (string) - version/revision : (string) - - - - Clear non-persistent configuration and state, and return the device to @@ -179,6 +160,24 @@ + + + The equipment manufacturer, as reported by the modem. + + + + + + The equipment model, as reported by the modem. + + + + + + The revision identification of the software, as reported by the modem. + + + A best-effort device identifier based on various device information like