[Qualcomm Android] SIM card status Processing

Source: Internet
Author: User

1. When the SIM card status changes, the modem side sends the qcril_evt_uim_qmi_indication event to the AP side.

 

2. the ap-side qcril UIM module (qcril_uim.c and other files) is used to process SIM card-related services. When a qcril_evt_uim_qmi_indication event is received, call the corresponding event processing function notify (). If the status of the SIM card is changed, call the qcril_uim_process_status_change_ind () function again, this function checks whether the SIM card status has changed. If yes, it saves the new status to the qcril_uim.card_status variable and sends an active report to the framework layer to ril_unsol_response_sim_status_changed.

 

3. framework layer uiccmanager module (uiccmanager. java) registers the event (event_icc_status_changed) that is actively reported. After receiving the event, it calls RIL. java function geticccardstatus (), issued ril_request_get_sim_status request to obtain the SIM card status.

 

4. After the qcril UIM module receives the ril_request_get_sim_status request, it calls the qcril_uim_request_get_sim_status () function to get the SIM card status from the qcril_uim.card_status variable, and then sends it.

Http://blog.csdn.net/progbelief/article/details/6169552

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.