From 5c8c55e46603cf09cdf36edb816b112ac710029f Mon Sep 17 00:00:00 2001 From: erin_yueh Date: Thu, 31 Jan 2008 07:05:30 +0000 Subject: gsmd: network registration query status (Paulius Zaleckas) git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3989 99fdad57-331a-0410-800a-d7fa5415bdb3 --- include/libgsmd/misc.h | 1 + src/util/shell.c | 1 + 2 files changed, 2 insertions(+) diff --git a/include/libgsmd/misc.h b/include/libgsmd/misc.h index 0dc22f8..4ced5b1 100644 --- a/include/libgsmd/misc.h +++ b/include/libgsmd/misc.h @@ -41,6 +41,7 @@ extern int lgsm_opers_get(struct lgsm_handle *lh); extern int lgsm_netreg_register(struct lgsm_handle *lh, gsmd_oper_numeric oper); extern int lgsm_netreg_deregister(struct lgsm_handle *lh); +extern int lgsm_netreg_query(struct lgsm_handle *lh); enum lgsm_netreg_state { LGSM_NETREG_ST_NOTREG = 0, diff --git a/src/util/shell.c b/src/util/shell.c index 0507be5..ae92611 100644 --- a/src/util/shell.c +++ b/src/util/shell.c @@ -527,6 +527,7 @@ static void shell_help(void) "\tN\tPrint current operator in numeric\n" "\tL\tList available operators\n" "\tQ\tRead signal quality\n" + "\tnr\tQuery network registration\n" "\tS\tSleep (S[=second], default 5)\n" "\tT\tSend DTMF Tone\n" "\tn\tPrint subscriber numbers\n" -- cgit v1.2.3