All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: Can't send second message in v0.3
Date: Wed, 19 Aug 2009 22:10:10 -0500	[thread overview]
Message-ID: <200908192210.11656.denkenz@gmail.com> (raw)
In-Reply-To: <B94C62E7C2870743865418621F040C130206BE7C94@pdsmsx502.ccr.corp.intel.com>

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

Hi,

> ofonod[15312]: Got 1 recipients
> ofonod[15312]: ref: 1, offset: 0
> ofonod[15312]: pdu_len: 22, tpdu_len: 21
> ofonod[15312]: tx_next: 0x8b8a248
> ofonod[15312]: > AT+CMGS=21\r
> ofonod[15312]: < AT+CMGS=21\r
> ofonod[15312]: < \r\n>
> ofonod[15312]: > 0011000B813118567873F20000A707EDF27C1E3E9701<CtrlZ>
> ofonod[15312]: < 0011000B813118567873F20000A707EDF27C1E3E9701<CtrlZ>
> ofonod[15312]: < \r\n+CMGS: 124
> ofonod[15312]: < \r\nOK\r\n
> ofonod[15312]: Got 1 recipients
> ofonod[15312]: ref: 2, offset: 0
> ofonod[15312]: pdu_len: 22, tpdu_len: 21
>

Are you sure this worked before on this modem?

> ofonod[15312]: < \r\n+CMGS: 124
> ofonod[15312]: < \r\nOK\r\n

This line tells me the modem is not a compliant 27.007 modem as there's no 
terminating \r\n on the CMGS.  The default parser is extremely strict and 
ignores this input.  A slightly tweaked parser is required for this device.

Regards,
-Denis

  reply	other threads:[~2009-08-20  3:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-19  9:35 Can't send second message in v0.3 Li, Zhigang
2009-08-19 14:47 ` Denis Kenzior
2009-08-20  1:54   ` Li, Zhigang
2009-08-20  3:10     ` Denis Kenzior [this message]
2009-08-20  3:32       ` Li, Zhigang

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=200908192210.11656.denkenz@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.