All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: AT channel problem
Date: Mon, 09 May 2016 09:19:28 -0500	[thread overview]
Message-ID: <57309C70.2060005@gmail.com> (raw)
In-Reply-To: <CAH4ZQwu20Jxfrgr51L6UP1eraH+mi_VK-8NCiq3KA4J+89soRw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2061 bytes --]

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

      parent reply	other threads:[~2016-05-09 14:19 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-05  8:42 AT channel problem Enrico Sau
2016-05-05 14:04 ` Denis Kenzior
2016-05-05 14:51   ` Enrico Sau
2016-05-05 15:10     ` Denis Kenzior
2016-05-05 15:52       ` Enrico Sau
2016-05-06 10:06         ` Enrico Sau
2016-05-06 15:48           ` Denis Kenzior
2016-05-09  7:43             ` Enrico Sau
2016-05-09  8:22               ` Enrico Sau
2016-05-09 14:19               ` Denis Kenzior [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=57309C70.2060005@gmail.com \
    --to=denkenz@gmail.com \
    --cc=ofono@ofono.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.