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>: SRC: "+CSMS=1" -> [ "+CMS ERROR: 314" ] This fixes #689 and #722. Signed-off-by: Paul Fertser <fercer...@gmail.com> --- fsogsmd/src/lib/at/atchannel.vala | 1 - fsogsmd/src/lib/sms.vala | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/fsogsmd/src/lib/at/atchannel.vala b/fsogsmd/src/lib/at/atchannel.vala index 126d632..761167b 100644 --- a/fsogsmd/src/lib/at/atchannel.vala +++ b/fsogsmd/src/lib/at/atchannel.vala @@ -123,7 +123,6 @@ public class FsoGsm.AtChannel : FsoGsm.AtCommandQueue, FsoGsm.Channel if ( this.isMainChannel ) { gatherSimStatusAndUpdate( modem ); - modem.smshandler.configure(); } this.isInitialized = true; diff --git a/fsogsmd/src/lib/sms.vala b/fsogsmd/src/lib/sms.vala index 7cdfd03..b3583b4 100644 --- a/fsogsmd/src/lib/sms.vala +++ b/fsogsmd/src/lib/sms.vala @@ -181,6 +181,7 @@ public abstract class FsoGsm.AbstractSmsHandler : FsoGsm.SmsHandler, FsoFramewor private async void simIsReady() { + yield configure(); yield syncWithSim(); } -- 1.7.10 _______________________________________________ Smartphones-userland mailing list Smartphones-userland@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland