From b97df6c14964a74476e2327f426dd2b7d9f40ee0 Mon Sep 17 00:00:00 2001 From: erin_yueh Date: Tue, 22 Jan 2008 13:41:36 +0000 Subject: gsmd: retrieve imsi value before sending at command (Sean Chiang) git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3915 99fdad57-331a-0410-800a-d7fa5415bdb3 --- include/gsmd/gsmd.h | 1 + include/libgsmd/misc.h | 1 + 2 files changed, 2 insertions(+) (limited to 'include') diff --git a/include/gsmd/gsmd.h b/include/gsmd/gsmd.h index ff63b58..585d78d 100644 --- a/include/gsmd/gsmd.h +++ b/include/gsmd/gsmd.h @@ -91,6 +91,7 @@ struct gsmd { unsigned int mlbuf_len; int mlunsolicited; int alive_responded; + char imsi[16]; /* imsi mem space */ }; struct gsmd_user { diff --git a/include/libgsmd/misc.h b/include/libgsmd/misc.h index 5ac9bdb..0dc22f8 100644 --- a/include/libgsmd/misc.h +++ b/include/libgsmd/misc.h @@ -36,6 +36,7 @@ extern int lgsm_signal_quality(struct lgsm_handle *h); /* Operator Selection, Network Registration */ extern int lgsm_oper_get(struct lgsm_handle *lh); +extern int lgsm_oper_n_get(struct lgsm_handle *lh); extern int lgsm_opers_get(struct lgsm_handle *lh); extern int lgsm_netreg_register(struct lgsm_handle *lh, gsmd_oper_numeric oper); -- cgit v1.2.3