From df2acb0b0e907082be5157b326a063c3387107f9 Mon Sep 17 00:00:00 2001 From: tick Date: Wed, 31 Oct 2007 06:42:58 +0000 Subject: gsmd: Adding IMSI support (Jim Rayner) git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3309 99fdad57-331a-0410-800a-d7fa5415bdb3 --- include/gsmd/usock.h | 1 + include/libgsmd/phonebook.h | 3 +++ 2 files changed, 4 insertions(+) (limited to 'include') diff --git a/include/gsmd/usock.h b/include/gsmd/usock.h index b9ecfc6..3580a83 100644 --- a/include/gsmd/usock.h +++ b/include/gsmd/usock.h @@ -249,6 +249,7 @@ enum gsmd_msg_phonebook { GSMD_PHONEBOOK_SET_STORAGE = 8, GSMD_PHONEBOOK_RETRIEVE_READRG = 9, GSMD_PHONEBOOK_RETRIEVE_FIND = 10, + GSMD_PHONEBOOK_GET_IMSI = 11, }; /* Type-of-Address, Numbering-Plan-Identification field, GSM 03.40, 9.1.2.5 */ diff --git a/include/libgsmd/phonebook.h b/include/libgsmd/phonebook.h index 6e2d2b1..d17b006 100644 --- a/include/libgsmd/phonebook.h +++ b/include/libgsmd/phonebook.h @@ -112,4 +112,7 @@ extern int lgsm_pb_retrieve_readrg(struct lgsm_handle *lh, int num); /* Retrieve the records of FIND request */ extern int lgsm_pb_retrieve_find(struct lgsm_handle *lh, int num); +/* Retrieve IMSI information */ +extern int lgsm_get_imsi(struct lgsm_handle *lh); // TODO this needs to go into a SIM specific file + #endif -- cgit v1.2.3