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

Neil Jerram neil at ossau.homelinux.net
Wed Nov 26 11:37:49 CET 2014

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?

Many thanks,

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

PPPS. My discussion so far about this on the oFono mailing list is at

More information about the Gta04-owner mailing list