From ed45d021e84b497e75ff4342ad369c615cc174a3 Mon Sep 17 00:00:00 2001 From: tick Date: Tue, 27 Nov 2007 08:24:57 +0000 Subject: gsmd: Refactorying get_imsi from PHONEBOOK to PHONE (tick) git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3519 99fdad57-331a-0410-800a-d7fa5415bdb3 --- include/gsmd/usock.h | 2 +- include/libgsmd/misc.h | 2 ++ include/libgsmd/phonebook.h | 3 --- 3 files changed, 3 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/gsmd/usock.h b/include/gsmd/usock.h index db9eac7..370553e 100644 --- a/include/gsmd/usock.h +++ b/include/gsmd/usock.h @@ -56,6 +56,7 @@ enum gsmd_msg_pin_type { enum gsmd_msg_phone { GSMD_PHONE_POWERUP = 1, GSMD_PHONE_POWERDOWN = 2, + GSMD_PHONE_GET_IMSI = 3, }; enum gsmd_msg_modem { @@ -255,7 +256,6 @@ 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/misc.h b/include/libgsmd/misc.h index 165994e..554d958 100644 --- a/include/libgsmd/misc.h +++ b/include/libgsmd/misc.h @@ -77,5 +77,7 @@ extern int lgsm_get_subscriber_num(struct lgsm_handle *lh); /* GPRS related functions */ /* TBD */ +/* Retrieve IMSI information */ +extern int lgsm_get_imsi(struct lgsm_handle *lh); #endif diff --git a/include/libgsmd/phonebook.h b/include/libgsmd/phonebook.h index 4bcae6c..6365baf 100644 --- a/include/libgsmd/phonebook.h +++ b/include/libgsmd/phonebook.h @@ -99,7 +99,4 @@ 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