[PATCH 4/5] fsogsmd: postpone SMS-related configuration until SIM is ready

2013-02-07 Thread Paul Fertser
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:

[PATCH 0/5] fix direct message delivery via +CMT

2013-02-07 Thread Paul Fertser
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. ___

[PATCH 5/5] fsogsmd: modem_ti_calypso: remove specific SMS-related config

2013-02-07 Thread Paul Fertser
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

[PATCH 1/5] fsogsmd: fix +CNMA response validation

2013-02-07 Thread Paul Fertser
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

[PATCH 3/5] fsogsmd: extend +CNMI parser to support ranges

2013-02-07 Thread Paul Fertser
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

[PATCH] fsogsmd: modem_ti_calypso: send +CNMA on the URC channel

2013-02-07 Thread Paul Fertser
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