--- lowlevel.c 2003-10-21 10:20:50.000000000 +0200 +++ lowlevel.c.fix 2003-10-21 10:25:22.000000000 +0200 @@ -392,7 +392,14 @@ { data->sms_folder = &SMSFolder; SMSFolder.folder_id = GN_MT_IN; - if ((error = gn_sm_functions (GN_OP_GetSMSFolderStatus, data, &sm)) == GN_ERR_NONE) + while ((error = gn_sm_functions (GN_OP_GetSMSFolderStatus, data, &sm)) == GN_ERR_NOTREADY) + { +#ifdef XDEBUG + g_print ("Phone not ready. Retrying.\n"); +#endif + sleep (2); + } + if (error == GN_ERR_NONE) { if (phoneMonitor.sms.number != SMSFolder.number) {