- break;
-
- case 12: /* SIM SMS CACHING COMPLETED */
- {
- struct tnoti_sms_ready_status sms_ready_noti = {0, };
- CoreObject *sms;
- TcorePlugin *plugin;
-
- dbg("SIM State: [%d] - SMS Ready", sim_state);
-
- sms_ready_noti.status = TRUE;
- plugin = tcore_object_ref_plugin(o);
- dbg("Plug-in name: [%s] SMS State: [%s]",
- tcore_plugin_ref_plugin_name(plugin),
- sms_ready_noti.status ? "TRUE" : "FALSE");
-
- /* Set SMS State to Ready */
- sms = tcore_plugin_ref_core_object(plugin, CORE_OBJECT_TYPE_SMS);
- tcore_sms_set_ready_status(sms, sms_ready_noti.status);
-
- /* Send notification - SMS Ready */
- tcore_server_send_notification(tcore_plugin_ref_server(plugin), sms,
- TNOTI_SMS_DEVICE_READY, sizeof(sms_ready_noti), &sms_ready_noti);
-
- goto OUT;
- }
-