Calypso doesn't allow to issue some SMS-related commands too early,
responding with SIM is busy error. Delay the whole configuration
(for all the modems) until SIM is known to be fully ready.
Example Calypso response before the patch:
2010-05-11T11:16:34.665705Z [INFO] libfsotransport 0710:2:
These patches are prepared to restore proper +CMT functionality on
Calypso but are useful on the other modems as well.
For Calypso they're really needed because otherwise the SIM is getting
filled up and the messages can no longer be delivered.
___
Since it works properly with the generic configuration, remove the
explicit commands and arrange for the necessary commands to be run on
the urc channel.
Signed-off-by: Paul Fertser fercer...@gmail.com
---
fsogsmd/src/plugins/modem_ti_calypso/plugin.vala |8 +++-
1 file changed, 3
This fixes the warnings:
2013-02-06T20:25:32.676932Z [DEBUG] libfsotransport 0710:3: Wrote '+CNMA=0'.
Waiting (5s) for answer...
2013-02-06T20:25:32.692560Z [DEBUG] libfsotransport 0710:3: SRC: +CNMA=0 -
[ OK ]
2013-02-06T20:25:32.693249Z [WARN] TiCalypsoModem 4C: Unexpected length 1
for
This is needed to handle Calypso's response which is included as a
test.
Signed-off-by: Paul Fertser fercer...@gmail.com
---
fsogsmd/src/lib/at/atcommands.vala |8
fsogsmd/src/lib/at/atresultiter.vala | 24 +---
fsogsmd/tests/testatcommand.vala | 22
Calypso expects the +CMT: confirmation on the same channel it was sent
on.
This fixes the issue with messages filling the SIM card.
Signed-off-by: Paul Fertser fercer...@gmail.com
---
fsogsmd/src/plugins/modem_ti_calypso/plugin.vala |4
1 file changed, 4 insertions(+)
diff --git