Fix: Try sending AT<CR>
authorDenis Kenzior <denkenz@gmail.com>
Tue, 24 Nov 2009 01:55:16 +0000 (19:55 -0600)
committerDenis Kenzior <denkenz@gmail.com>
Tue, 24 Nov 2009 01:55:16 +0000 (19:55 -0600)
Sometimes <CR> doesn't work

plugins/phonesim.c

index 9463265..39a55a9 100644 (file)
@@ -233,7 +233,7 @@ static int phonesim_enable(struct ofono_modem *modem)
                                                phonesim_disconnected, modem);
 
        if (data->calypso) {
-               g_at_chat_set_wakeup_command(data->chat, "\r", 1000, 5000);
+               g_at_chat_set_wakeup_command(data->chat, "AT\r", 1000, 5000);
 
                g_at_chat_send(data->chat, "ATE0", NULL, NULL, NULL, NULL);