From 288049ff764151736483ba5f07987df67748b9cd Mon Sep 17 00:00:00 2001 From: erin_yueh Date: Thu, 24 Jan 2008 15:20:40 +0000 Subject: gsmd: query network registration status (Erin Yueh) git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3943 99fdad57-331a-0410-800a-d7fa5415bdb3 --- src/libgsmd/libgsmd_network.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/libgsmd') 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); -- cgit v1.2.3