All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: [info] modem data disconnection
Date: Wed, 22 Jul 2015 11:23:42 -0500	[thread overview]
Message-ID: <55AFC38E.6000909@gmail.com> (raw)
In-Reply-To: <55AF3609.9070702@openwide.fr>

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

Hi Mylene,

 >
> ok thank you for the explanation.
> How atoms force to go back into AT commands mode ? Where is it done in the code ?
>

Each atom behaves differently.  Refer to the atom's remove() function 
for details.  E.g. the 'atmodem' gprs_context atom uses g_at_ppp_unref() 
and g_at_chat_resume() to force the chat out of PPP mode.  This is why 
you see "garbage" on the AT trace.  In reality it is just a final HDLC 
frame.

Regards,
-Denis

      reply	other threads:[~2015-07-22 16:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-21 11:31 [info] modem data disconnection Mylene JOSSERAND
2015-07-21 15:03 ` Denis Kenzior
2015-07-22  6:19   ` Mylene JOSSERAND
2015-07-22 16:23     ` 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=55AFC38E.6000909@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.