modem侧qmi消息
05-08
modem 收到ril层下发的qmi消息事件后,处理流程是怎样的?请将大概流程及关键点介绍一下,谢谢!
比如拨号时,ril层会发msg_id=QMI_VOICE_DIAL_CALL_REQ_V02的事件,modem侧会收到QMI_VOICE_DIAL_CALL_REQ_V02的事件,但不知道modem具体是怎么处理的,请贴一些关键代码,大概讲解一下后续具体流程,不胜感激。
qmi_client_error = qmi_client_send_msg_async ( qcril_qmi_client_get_user_handle ( QCRIL_QMI_CLIENT_VOICE ),
QMI_VOICE_DIAL_CALL_REQ_V02,
&dial_call_req_msg,
sizeof(dial_call_req_msg),
&dial_call_resp_msg,
sizeof(dial_call_resp_msg),
qcril_qmi_voice_command_cb,
(void*)user_data,
&txn_handle );
比如拨号时,ril层会发msg_id=QMI_VOICE_DIAL_CALL_REQ_V02的事件,modem侧会收到QMI_VOICE_DIAL_CALL_REQ_V02的事件,但不知道modem具体是怎么处理的,请贴一些关键代码,大概讲解一下后续具体流程,不胜感激。
qmi_client_error = qmi_client_send_msg_async ( qcril_qmi_client_get_user_handle ( QCRIL_QMI_CLIENT_VOICE ),
QMI_VOICE_DIAL_CALL_REQ_V02,
&dial_call_req_msg,
sizeof(dial_call_req_msg),
&dial_call_resp_msg,
sizeof(dial_call_resp_msg),
qcril_qmi_voice_command_cb,
(void*)user_data,
&txn_handle );
其实很容易,通过QMI_VOICE_DIAL_CALL_REQ_V02这个地址,可以查到地址为OX0002,同样在modem那侧也可以找到这个地址,就可以进行通信了
相关文章:
- 请教8260上加一个LTE MODEM问题(05-08)
- 7X27平台modem arm9可以单独跑起来吗(05-08)
- 寻北京高通8926/8974 BSP或Modem协议软件工程师(05-08)
- modem侧的crash dump解析(05-08)
- modem IC指的是tranceiver么?(05-08)
射频专业培训教程推荐