summaryrefslogtreecommitdiff
path: root/src/libgsmd
diff options
context:
space:
mode:
authorerin_yueh <erin_yueh@99fdad57-331a-0410-800a-d7fa5415bdb3>2008-01-24 15:20:40 +0000
committererin_yueh <erin_yueh@99fdad57-331a-0410-800a-d7fa5415bdb3>2008-01-24 15:20:40 +0000
commit288049ff764151736483ba5f07987df67748b9cd (patch)
tree31f2f881943d19db1f4b1677b0de05c3b48963d9 /src/libgsmd
parentb97df6c14964a74476e2327f426dd2b7d9f40ee0 (diff)
gsmd: query network registration status (Erin Yueh)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3943 99fdad57-331a-0410-800a-d7fa5415bdb3
Diffstat (limited to 'src/libgsmd')
-rw-r--r--src/libgsmd/libgsmd_network.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libgsmd/libgsmd_network.c b/src/libgsmd/libgsmd_network.c
index 7f459c5..1c3c39c 100644
--- a/src/libgsmd/libgsmd_network.c
+++ b/src/libgsmd/libgsmd_network.c
@@ -81,6 +81,11 @@ int lgsm_netreg_deregister(struct lgsm_handle *lh)
return lgsm_send_simple(lh, GSMD_MSG_NETWORK, GSMD_NETWORK_DEREGISTER);
}
+int lgsm_netreg_query(struct lgsm_handle *lh)
+{
+ return lgsm_send_simple(lh, GSMD_MSG_NETWORK, GSMD_NETWORK_QUERY_REG);
+}
+
int lgsm_signal_quality(struct lgsm_handle *lh)
{
return lgsm_send_simple(lh, GSMD_MSG_NETWORK, GSMD_NETWORK_SIGQ_GET);
personal git repositories of Harald Welte. Your mileage may vary