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 ;)
Yes, it is.
> >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.
Would it make sense not to proceed with +CMGD in case modem did not
provide a message for +CMGR?
I don't think it is timing, as we see OK after CMGR...
Fortunately, I found a mode that works...
Best regards,
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures)
http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
signature.asc
Description: Digital signature
_______________________________________________ ofono mailing list -- [email protected] To unsubscribe send an email to [email protected]
