Check for PIN status to see details in debug output

This commit is contained in:
Marcel Holtmann 2010-04-10 09:33:45 +02:00
parent 8cd991b81f
commit 017b4d3955
1 changed files with 1 additions and 0 deletions

View File

@ -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);