diff options
-rw-r--r-- | gatchat/gsmdial.c | 1 |
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); |