All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pekka Pessi <Pekka.Pessi@nokia.com>
To: ofono@ofono.org
Subject: [PATCH 1/2] Documented Present property in sim-api.txt.
Date: Mon, 28 Jun 2010 21:20:12 +0300	[thread overview]
Message-ID: <1277749213-3499-1-git-send-email-Pekka.Pessi@nokia.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1770 bytes --]

---
 doc/sim-api.txt |   15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/doc/sim-api.txt b/doc/sim-api.txt
index 74da31f..72e9ad9 100644
--- a/doc/sim-api.txt
+++ b/doc/sim-api.txt
@@ -7,7 +7,7 @@ Object path	[variable prefix]/{modem0,modem1,...}
 
 Methods		dict GetProperties()
 
-			Returns properties for the modem object. See
+			Returns SIM properties for the modem object.  See
 			the properties section for available properties.
 
 			Possible Errors: [service].Error.InvalidArguments
@@ -32,7 +32,7 @@ Methods		dict GetProperties()
 			Activates the lock for the particular pin type.  The
 			device will ask for a PIN automatically next time the
 			device is turned on or the SIM is removed and
-			re-inserter.  The current PIN is required for the
+			re-inserted.  The current PIN is required for the
 			operation to succeed.
 
 		void UnlockPin(string type, string pin)
@@ -45,9 +45,14 @@ Signals		PropertyChanged(string name, variant value)
 			This signal indicates a changed value of the given
 			property.
 
-Properties	string SubscriberIdentity [readonly, optional]
+Properties	boolean Present [readonly]
 
-			Contains the ISMI of the SIM, if available
+			True if a SIM card is detected.  There are
+			no other proprerties if false.
+
+		string SubscriberIdentity [readonly, optional]
+
+			Contains the IMSI of the SIM, if available.
 
 		string MobileCountryCode [readonly, optional]
 
@@ -119,4 +124,4 @@ Properties	string SubscriberIdentity [readonly, optional]
 		string CardIdentifier [readonly]
 
 			Contains the Intergrated Circuit Card Identifer (ICCID)
-			and is read directly from the SIM.
+			which is read directly from the SIM.
-- 
1.6.3.3


             reply	other threads:[~2010-06-28 18:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-28 18:20 Pekka Pessi [this message]
2010-06-28 18:20 ` [PATCH 2/2] mbm: use cpin? to check if SIM is missing Pekka Pessi
2010-06-28 20:39   ` Andrzej Zaborowski
2010-06-29 11:06     ` [PATCH] mbm: use CPIN? " Pekka Pessi
2010-06-29 17:25       ` Denis Kenzior
2010-06-29 11:15     ` [PATCH 2/2] mbm: use cpin? " Pekka Pessi
2010-06-29 17:22 ` [PATCH 1/2] Documented Present property in sim-api.txt Denis Kenzior
     [not found] <-6283240161481769156@unknownmsgid>
2010-06-28 18:21 ` Pekka Pessi
  -- strict thread matches above, loose matches on Subject: below --
2010-06-28 18:17 y

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1277749213-3499-1-git-send-email-Pekka.Pessi@nokia.com \
    --to=pekka.pessi@nokia.com \
    --cc=ofono@ofono.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.