zte: Request PCB information when modem gets enabled

This commit is contained in:
Marcel Holtmann 2011-08-04 00:07:03 +02:00
parent 160940e34a
commit 1566067d63
1 changed files with 3 additions and 0 deletions

View File

@ -143,6 +143,9 @@ static void sim_state_cb(gboolean present, gpointer user_data)
/* AT&C0 needs to be send separate and on both channel */
g_at_chat_send(data->modem, "AT&C0", NULL, NULL, NULL, NULL);
g_at_chat_send(data->aux, "AT&C0", NULL, NULL, NULL, NULL);
/* Read PCB information */
g_at_chat_send(data->aux, "AT+ZPCB?", none_prefix, NULL, NULL, NULL);
}
static void cfun_enable(gboolean ok, GAtResult *result, gpointer user_data)