MTK data account processing process

Source: Internet
Author: User

1. define detailed information of data access points in custom_config_account.c
2. dataaccountapp. c matches SIM card and Access Point Information
Mmi_dtcnt_add_config_account ()
-- "Mmi_dtcnt_sim_match ()
-- "Mmi_dtcnt_add_sim_prof ()
3. srv_dtcnt_db_store_add_prof ()
--> Srv_dtcnt_db_store_acc_info_compose (): the Access Point information is written to the g_srv_dtcnt_store_ctx global variable, but the proxy information is not written. g_srv_dtcnt_store_ctx is not a member of the proxy information.
4. srv_dtcnt_db_compose_acc_path () Create and save the Access Point Information File
Srv_dtcnt_db_fileio_save_data () writes complete information, including proxy information, to the file system.

Proxy Information Retrieval:
1. srv_dtcnt_get_proxy_info ()
Srv_dtcnt_db_store_get_acc_info () use the original account to match the data acc_info of the global variable g_srv_dtcnt_store_ctx of the account
If acc_info is obtained
Srv_dtcnt_db_store_load_prof () detailed information of the file system account, including proxy information, through acc_info
Srv_dtcnt_db_store_parse_prof () analyzes the data obtained from the file system to form srv_dtcnt_prof_common_header_struct data, corresponding to the information in custom_config_account.c
If acc_info is not obtained
Srv_dtcnt_db_store_get_sim_acc_info ()

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.