Huawei doesn't support CIND indications, so use CSQ instead. But naturally the response from modem is not according to standard:
ofonod[6401]: < \r\n^BOOT:38645652,0,0,0,87\r\n ofonod[6401]: < \r\n^RSSI:23\r\n Support for this format is not yet implemented. --- drivers/atmodem/network-registration.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/atmodem/network-registration.c b/drivers/atmodem/network-registration.c index f7aafbe..1c2b583 100644 --- a/drivers/atmodem/network-registration.c +++ b/drivers/atmodem/network-registration.c @@ -849,6 +849,7 @@ static void at_creg_set_cb(gboolean ok, GAtResult *result, gpointer user_data) switch (nd->vendor) { case OFONO_VENDOR_PHONESIM: + case OFONO_VENDOR_HUAWEI: g_at_chat_register(nd->chat, "+CSQ:", csq_notify, FALSE, netreg, NULL); _______________________________________________ ofono mailing list ofono@ofono.org http://lists.ofono.org/listinfo/ofono