Hi Neil,

>
oFono chooses 2 for the "mt" value, rather than 1, if it thinks that the
modem can do "CNMA", which I think means acknowledging each SMS after it
is transferred from the modem to the containing OS.  But:

Yes, oFono prefers using +CMT indication instead of +CMTI. That is because we actually need 2 extra AT commands to process the incoming message instead of just 1 with +CMT.


- in practice the modem never generates the +CMT indications that are
   supposed to go with this mode of operation


Your modem is just weird then.

- there are other places in the source code nearby where CNMA acking is
   skipped for OFONO_VENDOR_OPTION_HSO.


Not really. We only skip the generation of the ackpdu. Acknowledging via AT+CNMA still works with the 'safe' AT+CNMA=0 option. This works on every HSO device I have :) Admittedly I never played with the GTA04.

It seems this adds up to an indication that the modem doesn't really do
CNMA, and the patch that I've submitted does the trick and allows
incoming SMSes to be received successfully.

You might need to rework the hso driver to detect/handle the GTM601 separately. Adding another vendor quirk to do so.

Regards,
-Denis
_______________________________________________
ofono mailing list
[email protected]
https://lists.ofono.org/mailman/listinfo/ofono

Reply via email to