All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: U-Blox modem sends unprintable chars before "AT+CGMS=<seq>" reply: ofono (1.16) close the serial port ?
Date: Sun, 29 Nov 2015 15:47:25 -0600	[thread overview]
Message-ID: <565B726D.4080506@gmail.com> (raw)
In-Reply-To: <CAJvjxsz6pieOW_eqy+B+vHdgSxmPxnkBpF1dyM1M8Fi7VoA48g@mail.gmail.com>

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

Hi Fabio,

On 11/24/2015 03:45 AM, Fabio wrote:
> Hello,
> I'm using ofono 1.16 with some patch to add sms manager to the Ublox driver.
>
> Someone could confirm that ofono close the serial port when it receives
> some unexpected/unprintable character before the "AT+CGMS=<seq>" reply
> from the modem?

No, oFono does not close serial ports because of garbage.  The syntax 
will generally discard / ignore AT commands that are not properly formatted.

>
> If yes, is possible to discard these characters instead of hanging-up
> the serial port? Could I have some info about the source I have to patch ?
>

Feel free to provide AT command logs to help us better understand what 
is happening.

Regards,
-Denis


  reply	other threads:[~2015-11-29 21:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-24  9:45 U-Blox modem sends unprintable chars before "AT+CGMS=<seq>" reply: ofono (1.16) close the serial port ? Fabio
2015-11-29 21:47 ` Denis Kenzior [this message]
2015-12-01 10:43   ` Fabio

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=565B726D.4080506@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.