Hi,

I'm trying to use ofono and a Huawei E3131 modem.

First off all, I need to change AT+CGDATA="PPP",%u to ATD*99***%u# to make
it work. But that's ok.

The problem, is if disconnect, and try to connect again, it doesn't work.

I debug those functions, and find that what's happening:

at_gprs_activate_primary (drivers/atmodem/gprs-context.c)
g_at_chat_send (gatchat/gatchat.c)
at_chat_send_common (gatchat/gatchat.c)
...
if (chat == NULL || chat->command_queue == NULL)
return 0;


at this point 'chat->command_queue' is null.


So far, I can only know that when I disconnect this context, someone is
calling io_disconnect (gatchat.c), that makes chat->command_queue=NULL.

I couldn't debug further.

I've tested the same scenario, just with a different modem (Huawei E160)
and it's working nice.

I'd be glad if anyone could give any hint on that.

Best regards

Jerônimo Lopes
_______________________________________________
ofono mailing list
[email protected]
https://lists.ofono.org/mailman/listinfo/ofono

Reply via email to