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@ofono.org
> To unsubscribe send an email to ofono-le...@ofono.org
_______________________________________________
ofono mailing list -- ofono@ofono.org
To unsubscribe send an email to ofono-le...@ofono.org

Reply via email to