[PATCH 3/8] api: let the Modem expose a 'Sim' property to link to a specific SIM object



SIM objects will be listed as independent objects in the DBus API, and the 'Sim'
property in a given modem object will specify which SIM object is in use.
---
 new/org.freedesktop.ModemManager1.Modem.xml |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/new/org.freedesktop.ModemManager1.Modem.xml b/new/org.freedesktop.ModemManager1.Modem.xml
index cc970c6..f2a8d00 100644
--- a/new/org.freedesktop.ModemManager1.Modem.xml
+++ b/new/org.freedesktop.ModemManager1.Modem.xml
@@ -123,6 +123,12 @@
 
     <!-- PROPERTIES -->
 
+    <property name="Sim" type="o" access="read">
+      <tp:docstring>
+	The path of the SIM object available in this device, if any.
+      </tp:docstring>
+    </property>
+
     <property name="ModemCapabilities" type="u" access="read" tp:type="MM_MODEM_CAPABILITIES">
       <tp:docstring>
         The generic family of access technologies the modem supports.  Not all
-- 
1.7.4.1



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]