Hi Enrico, On 05/09/2016 02:43 AM, Enrico Sau wrote:
ofonod[1306]: Aux: < #QSS: 0\r\n ofonod[1306]: 09:33:54|plugins/he910.c[173]:he910_qss_notify() 0x88ef560 ofonod[1306]: 09:33:54|plugins/he910.c[131]:switch_sim_state_status() 0x88ef560, SIM status: 0 ofonod[1306]: 09:33:57|src/modem.c[496]:modem_change_state() old state: 3, new state: 1 ofonod[1306]: 09:33:57|src/modem.c[409]:flush_atoms() ofonod[1306]: 09:34:04|src/gprs.c[2279]:gprs_context_unregister() 0x88eef68, 0x88ee908 ofonod[1306]: 09:34:04|src/gprs.c[2413]:gprs_context_remove() atom: 0x88eef88 ofonod[1306]: 09:33:42|drivers/atmodem/gprs-context.c[420]:at_gprs_context_remove() ofonod[1306]: 09:34:04|src/gprs.c[2644]:gprs_unregister() 0x88ee908 ofonod[1306]: 09:33:58|src/network.c[1173]:__ofono_netreg_remove_status_watch() 0x88eb2d0 ofonod[1306]: 09:34:04|src/gprs.c[2683]:gprs_remove() atom: 0x88ee970 ofonod[1306]: 09:34:02|src/sim.c[2714]:ofono_sim_remove_spn_watch() 0x88ed6f0 ofonod[1306]: 09:33:58|src/network.c[1836]:netreg_remove() atom: 0x88eb338 ofonod[1306]: 09:34:09|src/telit-data-network.c[323]:telit_data_network_remove() atom: 0x88eb1c8 ofonod[1306]: 09:34:09|src/telit-urc.c[668]:telit_urc_remove() atom: 0x88eb0a8 ofonod[1306]: 09:34:05|src/radio-settings.c[657]:radio_settings_remove() atom: 0x88ee578 ofonod[1306]: 09:33:28|plugins/udevng.c[1009]:remove_device() /sys/devices/virtual/net/ppp0 ofonod[1306]: Aux: < \r\n ofonod[1306]: Aux: < +CGEV: NW DEACT IP, "2.194.193.31", 1\r\n ofonod[1306]: Modem: < ~\377}#\300!}%}"} }$Y(~
Now I get what is happening. You're on a PPP link and pull the SIM. So oFono tears everything down, but this results in the GAtChat going from PPP mode to normal mode too early.
We then receive the final HDLC frame, and that confuses the syntax. GSMv1 syntax already has code to handle this, but looks like the permissive one doesn't.
ofonod[1306]: Modem: < \r\nNO CARRIER\r\n ofonod[1306]: Modem: < \r\n ofonod[1306]: Aux: < \r\n
Regards, -Denis _______________________________________________ ofono mailing list [email protected] https://lists.ofono.org/mailman/listinfo/ofono
