summaryrefslogtreecommitdiff
path: root/src/libgsmd
diff options
context:
space:
mode:
authortick <tick@99fdad57-331a-0410-800a-d7fa5415bdb3>2007-10-31 06:42:58 +0000
committertick <tick@99fdad57-331a-0410-800a-d7fa5415bdb3>2007-10-31 06:42:58 +0000
commitdf2acb0b0e907082be5157b326a063c3387107f9 (patch)
tree14f6c95a534034eb55217dcf4c0f7bc3e875265d /src/libgsmd
parent68f58c51e268a2301cc933288e693fbf7c6325b7 (diff)
gsmd: Adding IMSI support (Jim Rayner)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3309 99fdad57-331a-0410-800a-d7fa5415bdb3
Diffstat (limited to 'src/libgsmd')
-rw-r--r--src/libgsmd/libgsmd_phonebook.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libgsmd/libgsmd_phonebook.c b/src/libgsmd/libgsmd_phonebook.c
index 1f59e34..2c5664b 100644
--- a/src/libgsmd/libgsmd_phonebook.c
+++ b/src/libgsmd/libgsmd_phonebook.c
@@ -223,3 +223,9 @@ int lgsm_pb_retrieve_find(struct lgsm_handle *lh, int num)
return 0;
}
+
+int lgsm_get_imsi(struct lgsm_handle *lh)
+{
+ return lgsm_send_simple(lh, GSMD_MSG_PHONEBOOK, GSMD_PHONEBOOK_GET_IMSI);
+}
+
personal git repositories of Harald Welte. Your mileage may vary