[Gta04-owner] [PATCH 1/2] sms: Option HSO modem can't really do CNMA

Dr. H. Nikolaus Schaller hns at goldelico.com
Wed Nov 26 12:00:12 CET 2014


Am 26.11.2014 um 11:37 schrieb Neil Jerram <neil at ossau.homelinux.net>:

> I've been working on SMS function with oFono.  oFono prefers to get
> +CMT indications for received SMSs - which it requests by issuing
> AT+CNMI=2,2... - instead of +CMTI indications that would be requested
> by AT+CNMI=2,1...  But my observation is that the GTA04 modem doesn't
> in fact generate +CMT indications for received SMSs (even when
> instructed to do so by AT+CNMI=2,2...).
> I can submit an oFono patch to issue AT+CNMI=2,1... when talking to a
> GTM601, and so get +CMTI indications (which it handles fine).
> Before I do that, however, can anyone confirm or deny that the GTM601
> really can't do +CMT indications?
> QtMoko for GTA04 issues AT+CNMI=2,1 and handles +CMTI indications.
> FSO has a config setting named "sim_buffers_sms", and sends
> AT+CNMI=2,1 if that setting is true, or AT+CNMI=2,2 if false; and the
> GTA04 config has sim_buffers_sms=true.  Is that because others have
> tried using +CMT before and found it not to work?

I have tried to find some background information (AT+CLAC list).
It might be that AT+CNMI is not implemented, but there should be a Qualcom
command AT+$QCCNMI (the modem appears to implement two sets of
commands - some implemented by Qualcom and some by OPTION).
Please give it a try.


> Many thanks,
>     Neil
> PS. I haven't forgotten the possibility of using fsogsmd instead of
> oFono.  I'm still working with oFono at the moment because I have some
> application-level code that speaks to its dbus APIs.
> PPS. In case anyone is surprised that I'm still working on GTA04 stuff
> after recently saying that I'd finished my experimentation...  It's
> because I've been remotivated by NeilBrown's kernel work, and
> particularly by having a kernel that reliably plays audio.  So thanks
> Neil!
> PPPS. My discussion so far about this on the oFono mailing list is at
> https://lists.ofono.org/pipermail/ofono/2014-November/015520.html
> _______________________________________________
> Gta04-owner mailing list
> Gta04-owner at goldelico.com
> http://lists.goldelico.com/mailman/listinfo.cgi/gta04-owner

More information about the Gta04-owner mailing list