短信流程
短信流程涉及到文件:SMSMSG.C 、MessagesMiscell.c 、smspsHandler.c 等文件。
相关函数,底层有新短消息到达,则会响应mmi_frm_sms_new_sms_ind函数。
void mmi_frm_sms_set_protocol_event_handler(void)
{ SetProtocolEventHandler(mmi_frm_sms_new_sms_ind, PRT_MSG_ID_MMI_SMS_DELIVER_MSG_IND); }
void mmi_msg_handle_new_msg_ind(void *data, module_type mod, U16 result)
mmi_msg_new_msg_ind(index);
void mmi_msg_entry_new_msg_ind(void)
短信到达则通过mmi_msg_entry_new_msg_ind去通知 MMI层再去做短信铃音提示。