From 60e824bd5994a1c27df222219ef9a3837c143519 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Tue, 22 Nov 2011 11:49:42 +0100 Subject: [PATCH] api,dbus: let UnlockRequired property be an enum instead of a string We were already working with a fixed set of possible strings, so better to have an enumeration for that. --- new/org.freedesktop.ModemManager1.Modem.xml | 98 +++++++++++++++++++-- 1 file changed, 90 insertions(+), 8 deletions(-) diff --git a/new/org.freedesktop.ModemManager1.Modem.xml b/new/org.freedesktop.ModemManager1.Modem.xml index 1a64e153..f9168e0c 100644 --- a/new/org.freedesktop.ModemManager1.Modem.xml +++ b/new/org.freedesktop.ModemManager1.Modem.xml @@ -257,15 +257,9 @@ - + - Empty if the device is usable without an unlock code or has already - been unlocked. If the device needs to be unlocked before becoming usable this - property contains the specific unlock code required.  Valid unlock code values - are "" (blank), "sim-pin", "sim-puk", "ph-sim-pin", "ph-fsim-pin", - "ph-fsim-puk", "sim-pin2", "sim-puk2", "ph-net-pin", "ph-net-puk", - "ph-netsub-pin", "ph-netsub-puk", "ph-sp-pin", "ph-sp-puk", "ph-corp-pin", and - "ph-corp-puk". + Current lock state of the device. @@ -376,6 +370,94 @@ + + + + Lock reason unknown. + + + + + Modem is unlocked. + + + + + SIM requires the PIN code. + + + + + SIM requires the PIN2 code. + + + + + SIM requires the PUK code + + + + + SIM requires the PUK2 code + + + + + Modem requires the service provider PIN code. + + + + + Modem requires the service provider PUK code. + + + + + Modem requires the network PIN code. + + + + + Modem requires the network PUK code. + + + + + Modem requires the PIN code. + + + + + Modem requires the corporate PIN code. + + + + + Modem requires the corporate PUK code. + + + + + Modem requires the FSIM-PIN code. + + + + + Modem requires the FSIM-PUK code. + + + + + Modem requires the network subset PIN code. + + + + + Modem requires the network subset PUK code. + + + +