swmodem: Add extra informational AT+CGCONTRDP command

This commit is contained in:
Marcel Holtmann 2012-06-25 00:02:17 -07:00
parent 674cb0d167
commit 9faf249e8e
1 changed files with 3 additions and 0 deletions

View File

@ -100,6 +100,9 @@ static void at_scact_up_cb(gboolean ok, GAtResult *result,
snprintf(buf, sizeof(buf), "AT!SCPADDR=%u", gcd->active_context);
g_at_chat_send(gcd->chat, buf, none_prefix, NULL, NULL, NULL);
snprintf(buf, sizeof(buf), "AT+CGCONTRDP=%u", gcd->active_context);
g_at_chat_send(gcd->chat, buf, none_prefix, NULL, NULL, NULL);
modem = ofono_gprs_context_get_modem(gc);
interface = ofono_modem_get_string(modem, "NetworkInterface");