All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christophe Ronco <c.ronco@kerlink.fr>
To: ofono@ofono.org
Subject: Re: AT modem on Droid 4: where is my sms?
Date: Fri, 31 Jul 2020 16:41:12 +0200	[thread overview]
Message-ID: <7733d88b-05d1-1b76-ed92-9a9eff076cbf@kerlink.fr> (raw)
In-Reply-To: <05afe4c6-a81b-77e5-6e1e-6cb9d0f8f6a6@gmail.com>

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

Hi,

On 7/31/20 3:43 PM, Denis Kenzior wrote:
> Hi Pavel,
>
> On 7/31/20 5:07 AM, Pavel Machek wrote:
>> Hi!
>>
>> I have problems with getting CNMA to work, so I'm exploring other
>> possibilities. Apparently ofono should be able to work without
>> that.. but is it working properly?
>>
>> ofonod[5218]: < \r\n+CIEV: 1,3\r\n
>> ofonod[5218]: < \r\n+CIEV: 1,4\r\n
>> ofonod[5218]: < \r\n+CMTI: "ME",2\r\n
>> ofonod[5218]: drivers/atmodem/sms.c:at_cmti_notify() Got a CMTI
>> indication at ME, index: 2
>> ofonod[5218]: > AT+CMGR=2\r
>> ofonod[5218]: < \r\nOK\r\n
>
> That's quite strange, CMGR response should have an intermediate
> response prefixed by +CMGR: prior to the OK.  Your modem is just weird ;)
Just my guess. This can happen if another process (other than Ofono) is
reading the tty channel.
>
>> ofonod[5218]: > AT+CMGD=2\r
>> ofonod[5218]: < \r\nOK\r\n
>> ofonod[5218]: < \r\n+CIEV: 1,3\r\n
>> ofonod[5218]: < \r\n+CIEV: 1,4\r\n
>>
>> So.... modem told us we have new message and where it is, but then
>> ofono ... deleted the message without delivering it...?
>>
>
> What the stock AT modem driver does is reads the message and deletes
> it right away.  Somehow your modem says 'sure' to the read request
> without actually reading the message.  Maybe the firmware is just too
> slow or oFono is too fast, or maybe this modem needs extra special magic.
>
> Regards,
> -Denis
> _______________________________________________
> ofono mailing list -- ofono(a)ofono.org
> To unsubscribe send an email to ofono-leave(a)ofono.org

  reply	other threads:[~2020-07-31 14:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-31 10:07 AT modem on Droid 4: where is my sms? Pavel Machek
2020-07-31 10:10 ` Pavel Machek
2020-07-31 13:43 ` Denis Kenzior
2020-07-31 14:41   ` Christophe Ronco [this message]
2020-08-01 19:13     ` Pavel Machek
2020-08-01 19:11   ` Pavel Machek
2020-07-31 21:57 ` [PATCH] Support weird modem in Motorola Droid 4 Pavel Machek
2020-07-31 22:00   ` [PATCH v2] " 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=7733d88b-05d1-1b76-ed92-9a9eff076cbf@kerlink.fr \
    --to=c.ronco@kerlink.fr \
    --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.