diff options
author | Denis Kenzior <denkenz@gmail.com> | 2009-11-26 07:40:38 -0600 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2009-11-26 07:44:25 -0600 |
commit | 78008c6022c19bd02cdccdfc44eff40a0346b43a (patch) | |
tree | b17534678c6ed2bd91c21802815ebccb34902642 /plugins | |
parent | 48a61b6d064ece922b4ac38a41e4df5dba9af305 (diff) | |
download | ofono-78008c6022c19bd02cdccdfc44eff40a0346b43a.tar.bz2 |
Update calypso plugin to the new wakeup handling
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/calypso.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/calypso.c b/plugins/calypso.c index ddbec738..87c6a905 100644 --- a/plugins/calypso.c +++ b/plugins/calypso.c @@ -249,7 +249,7 @@ static void mux_setup(GAtMux *mux, gpointer user_data) g_at_chat_set_debug(data->dlcs[i], calypso_debug, GUINT_TO_POINTER(i)); - g_at_chat_set_wakeup_command(data->dlcs[i], "\r", 1000, 5000); + g_at_chat_set_wakeup_command(data->dlcs[i], "AT\r", 500, 5000); } g_at_chat_send(data->dlcs[SETUP_DLC], "AT+CFUN=1", NULL, @@ -300,7 +300,7 @@ static void modem_initialize(struct ofono_modem *modem) if (getenv("OFONO_AT_DEBUG") != NULL) g_at_chat_set_debug(chat, calypso_setup_debug, NULL); - g_at_chat_set_wakeup_command(chat, "\r", 1000, 5000); + g_at_chat_set_wakeup_command(chat, "AT\r", 500, 5000); g_at_chat_send(chat, "ATE0", NULL, NULL, NULL, NULL); |