summaryrefslogtreecommitdiffstats
path: root/gatchat/gsmdial.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-04-10 09:33:45 +0200
committerMarcel Holtmann <marcel@holtmann.org>2010-04-10 09:33:45 +0200
commit017b4d3955822fd046649afaa7771896a1b8d0b2 (patch)
tree4b550db058747f819b9d0fc119c4a3790958693e /gatchat/gsmdial.c
parent8cd991b81fba1556a1378625fd5d55917393fdf0 (diff)
downloadofono-017b4d3955822fd046649afaa7771896a1b8d0b2.tar.bz2
Check for PIN status to see details in debug output
Diffstat (limited to 'gatchat/gsmdial.c')
-rw-r--r--gatchat/gsmdial.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gatchat/gsmdial.c b/gatchat/gsmdial.c
index 2446e18e..cc324646 100644
--- a/gatchat/gsmdial.c
+++ b/gatchat/gsmdial.c
@@ -651,6 +651,7 @@ int main(int argc, char **argv)
event_loop = g_main_loop_new(NULL, FALSE);
g_at_chat_send(control, "ATE0Q0V1", NULL, NULL, NULL, NULL);
+ g_at_chat_send(control, "AT+CPIN?", NULL, NULL, NULL, NULL);
g_at_chat_send(control, "AT+CFUN?", cfun_prefix,
check_mode, NULL, NULL);