cui_sms_recipient_opt_send_by_sim1(SIM卡1)
cui_sms_set_send_sim_type(SRV_SMS_SIM_1);//设置SIM卡
cui_sms_pre_send_msg();
cui_sms_send_msg_interal();
cui_sms_init_send_info_data(sms_send_gid);
cui_sms_send_curr_msg(sms_send_gid);
cui_sms_entry_sending();//正在发送SCREEN
cui_sms_send_msg_fsm();//send msg
cui_sms_send_msg_fsm_handle();//handle
cui_sms_send_msg_req();
srv_sms_send_msg();
srv_sms_pre_send_sms(sms_handle);
{
if (srv_sms_is_sms_valid() == MMI_FALSE)
{
srv_sms_send_msg_callback(sms_handle, MMI_FALSE, SRV_SMS_CAUSE_NOT_READY);
}
else if (hd_data->send_type == SRV_SMS_FG_SEND)
{
srv_sms_fg_send(sms_handle);
}
else if (hd_data->send_type == SRV_SMS_BG_SEND)
{
srv_sms_bg_send(sms_handle);
}
else
{
MMI_ASSERT(0);
}
}
最后srv_sms_fg_send和srv_sms_bg_send都会调用srv_sms_send_sms_seg();