All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: ofono@ofono.org
Subject: Re: Incoming sms problem on Motorola Droid 4
Date: Wed, 09 May 2018 17:11:04 +0200	[thread overview]
Message-ID: <20180509151103.GB28193@amd> (raw)
In-Reply-To: <04c1e128-9094-cdc0-97f3-abd7cacea1d9@gmail.com>

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

Hi!

> >PDU Len 2, strlen 4
> >PDU last char 48
> >0000^ZCNMA=1,2
> ><PR
> >0000^ZCNMA=1,2
> >< +CMS ERROR: 304
> >ofonod[3057]: CNMA acknowledgement failed: Further SMS reception is
> >not guaranteed
> >< +CIEV: 1,4
> >
> >Modem does not like our CNMA acknowledgement. AFAICT, we are sending
> >
> >AT+CNMA=1,2
> >0000^Z
> 
> That looks correct.  In fact that logic has been working for something like
> 8-9 years, but it doesn't hurt to be paranoid and double check.

Ah. Four zeros somehow looked too simple to me.

> >If I attempt to do AT+CNMA=1, AT+CNMA=0 or just plain At=CNMA, it does
> >not like that, either, but with +CMS ERROR: 500.
> 
> CNMA=1 is required to work in PDU mode according to 27.005 btw.  How about:
> 
> window.open();
> window.throw(modem);

Heh :-). Well, there are two phones with reasonable Linux support:
N900 and Droid 4. N900 can't do voice calls of reasonable
quality. That leaves Droid 4... so I'd really like it to work.

Afaict.. In PDU mode we need either +CNMA, which is broken, or CMTI,
which reports '+CMTI: "ME",-1' which I assume is broken, too.

Is there chance that '+CMTI: "ME",-1' can be understood as '+CMTI:
"ME",1' ?

Best regards,

									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

  reply	other threads:[~2018-05-09 15:11 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-08 21:51 Incoming sms problem on Motorola Droid 4 Pavel Machek
2018-05-08 21:51 ` Pavel Machek
2018-05-08 21:51 ` Pavel Machek
2018-05-08 21:51 ` Pavel Machek
2018-05-08 22:08 ` Denis Kenzior
2018-05-09  4:31   ` Marcel Holtmann
2018-05-09  8:18     ` Pavel Machek
2018-05-09 13:03       ` Denis Kenzior
2018-05-09 15:11         ` Pavel Machek [this message]
2018-05-09 15:41           ` Denis Kenzior
2018-05-09 18:57             ` Pavel Machek
2018-05-09 19:33               ` Denis Kenzior
2018-05-10  6:50                 ` Marcel Holtmann
2018-05-10  6:58                   ` Pavel Machek
2018-05-10  7:11                     ` Marcel Holtmann
2018-05-11 23:18                       ` Voice calls over qmi was " Pavel Machek
2018-05-12  0:47                         ` Denis Kenzior
2018-05-12  3:09                           ` Joey Hewitt
2018-05-12 11:02                             ` Pavel Machek
2018-05-12 14:19                             ` Alexander Couzens
2018-05-13 10:33                               ` Marcel Holtmann
2018-05-14  6:45                               ` Pavel Machek
2018-05-14 16:19                               ` Denis Kenzior
2018-05-12  1:02                         ` Denis Kenzior
2018-05-12  7:37                           ` Harald Welte
2018-05-16 15:10                             ` Bob Ham
2018-05-16 16:12                               ` Harald Welte
2018-05-14 13:02                       ` [rfc] Fix incoming sms on Droid 4 " Pavel Machek
2018-05-09  6:50   ` Pavel Machek
2018-05-09  1:03 ` Tony Lindgren
2018-05-09  1:03   ` Tony Lindgren
2018-05-09  8:48   ` Pavel Machek
     [not found] <20180509133506.GX77069@atomide.com>
2018-05-09 13:38 ` Pavel Machek
2018-05-11 12:34 ` Pavel Machek
     [not found] <20180511123926.GK77069@atomide.com>
2018-05-14  9:01 ` Pavel Machek

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=20180509151103.GB28193@amd \
    --to=pavel@ucw.cz \
    --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.