zte: Request PCB information when modem gets enabled
authorMarcel Holtmann <marcel@holtmann.org>
Wed, 3 Aug 2011 22:07:03 +0000 (00:07 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 3 Aug 2011 22:07:03 +0000 (00:07 +0200)
plugins/zte.c

index 1d08213..08eb39c 100644 (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)