Arm9 来电要共分为两个消息:CM_CALL_EVENT_INCOM和CM_CALL_EVENT_SETUP_IND
对UTMS手机,系统先上报:CM_CALL_EVENT_SETUP_IND,之后上报CM_CALL_EVENT_INCOM.
CM_CALL_EVENT_INCOM 会传送arm11测,触发new_connection
CM_CALL_EVENT_SETUP_IND则会先把setup消息中所有参数传到arm11,然后phone读取这个里的信息,显示来电信息。
ARM11--qcril侧: qcril_cm.c文件
qcril_cm_callsvc_event_setup_ind()函数会处理CM_CALL_EVENT_SETUP_IND消息,之后向Ril层上报RIL_UNSOL_CALL_RING消息
qcril_cm_callsvc_event_incom()函数会处理CM_CALL_EVENT_INCOM消息,之后向Ril层上报RIL_UNSOL_RESPONSE_CALL_STATE_CHANGED消息