Denis, I'll try it tomorrow. I suppose you are present about at the same time if I have something more to comment about?
Cheers, Matti 2016-01-14 17:32 GMT+02:00 Denis Kenzior <[email protected]>: > Hi Matti, > > > ..drivers/huaweimodem/gprs-context.c:huawei_gprs_activate_primary() cid 1 > ofonod: Modem: > AT+CGDCONT=1,"IP","internet"\r > ofonod: Modem: < \r\nOK\r\n > ..drivers/huaweimodem/gprs-context.c:at_cgdcont_cb() ok 1 > ofonod: Modem: > AT^NDISDUP=1,1\r > ofonod: Modem: < \r\nOK\r\n > > ----> Activating NDIS interface seems to be okay > > ..drivers/huaweimodem/gprs-context.c:at_ndisdup_up_cb() ok 1 > ofonod: Modem: > AT^DHCP?\r > ofonod: Modem: < \r\nOK\r\n > > ----> This is where we fail. For some reason the firmware returns an > empty result with an 'OK' here. This is something the gprs-context driver > isn't expecting. See drivers/huaweimodem/gprs-context.c dhcp_query_cb(): > > if (g_at_result_iter_next(&iter, "^DHCP:") == FALSE) > return; > > Can you try activating the polling logic in this case as well. E.g. by > changing that chunk to read: > > if (g_at_result_iter_next(&iter, "^DHCP:") == FALSE) { > gcd->dhcp_source = g_timeout_add_seconds(1, dhcp_poll, gc); > return; > } > > Regards, > -Denis >
_______________________________________________ ofono mailing list [email protected] https://lists.ofono.org/mailman/listinfo/ofono
