diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2011-08-04 00:07:03 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2011-08-04 00:07:03 +0200 |
commit | 1566067d634a0a57201d8d167db5e8922c286377 (patch) | |
tree | 082ca2a4ac4dd21f20821406fca208a5f7717340 /plugins/zte.c | |
parent | 160940e34a792b32375598a49d076ff480add971 (diff) | |
download | ofono-1566067d634a0a57201d8d167db5e8922c286377.tar.bz2 |
zte: Request PCB information when modem gets enabled
Diffstat (limited to 'plugins/zte.c')
-rw-r--r-- | plugins/zte.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/zte.c b/plugins/zte.c index 1d082133..08eb39c8 100644 --- a/plugins/zte.c +++ b/plugins/zte.c @@ -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) |