diff options
author | erin_yueh <erin_yueh@99fdad57-331a-0410-800a-d7fa5415bdb3> | 2008-01-31 07:05:30 +0000 |
---|---|---|
committer | erin_yueh <erin_yueh@99fdad57-331a-0410-800a-d7fa5415bdb3> | 2008-01-31 07:05:30 +0000 |
commit | 5c8c55e46603cf09cdf36edb816b112ac710029f (patch) | |
tree | e57228bcfdd1594be78a31d497d3572ab46260d1 | |
parent | 5fee08036be75fd3393940d6d914627c2d567722 (diff) |
gsmd: network registration query status (Paulius Zaleckas)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3989 99fdad57-331a-0410-800a-d7fa5415bdb3
-rw-r--r-- | include/libgsmd/misc.h | 1 | ||||
-rw-r--r-- | src/util/shell.c | 1 |
2 files changed, 2 insertions, 0 deletions
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" |