Hi Lars,
On 8/13/20 8:33 AM, poesc...@lemonage.de wrote:
From: Lars Poeschel <poesc...@lemonage.de>
The Quectel EC21 modem does not understand the AT+CPSB command, so
aquire the current packet switched bearer from quectel proprietary
QIND:"act" URC.
---
drivers/atmodem/gprs.c | 49 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
<snip>
@@ -624,6 +667,12 @@ static void gprs_initialized(gboolean ok, GAtResult
*result, gpointer user_data)
g_at_chat_send(gd->chat, "AT#PSNT=1", none_prefix,
NULL, NULL, NULL);
break;
+ case OFONO_VENDOR_QUECTEL_EC2X:
+ g_at_chat_register(gd->chat, "+QIND",
+ quectel_qind_notify, FALSE, gprs, NULL);
+ /* The "QIND: \"act\", ..." URC is activated in
+ * network-registration.c */
You're using the QIND in network-registration.c to notify CREG technology. And
now you're trying to use this here in place of CPSB. This seems fishy to me.
Looking at the Quectel AT commands manual, I'd just guess they do not support
this bearer concept at all...
+ break;
default:
g_at_chat_register(gd->chat, "+CPSB:", cpsb_notify,
FALSE, gprs, NULL);
Regards,
-Denis
_______________________________________________
ofono mailing list -- ofono@ofono.org
To unsubscribe send an email to ofono-le...@ofono.org