How does Android default to open cell broadcast to implement _android

Source: Internet
Author: User
In the NVRAM_CUST_PACK.C Common_nvram_ef_smsal_common_param_default
Copy Code code as follows:

Kal_uint8 Const common_nvram_ef_smsal_common_param_default[] =
{
#if defined (__cs_service__) && defined (__sms_over_ps_support__)
0x03,/* Bearer service:gsm prefer * *
#elif defined (__sms_over_ps_support__)
0x00,/* Bearer SERVICE:GPRS only * *
#else
0x01,/* Bearer service:gsm only * *
#endif
0x00, 0x00,/* status, reply path off * *
0x02,/* vp:relative format * *
#ifdef __unified_message_simbox_support__
0x01, 0x01, 0x01, * mem1, MEM2, MEM3 * *
#else/* __unified_message_simbox_support__ * *
0x05, 0x05, 0x05, * mem1, MEM2, MEM3 * *
#endif/* __unified_message_simbox_support__ * *
0x00, 0x01,/* CB setting * *
0x00,/* At default profile ID * *
0x00,/* The octet *
0x00,/* Turn off SMS FDN * *
0x00, * last_used_tp_mr * *
0x00, * mem_capacity_available * *
0x00, * selected_msp * *
0x00/* Reserve * *
};

The 8th byte is the cell broadcast switch, 1 is open, 0 is closed.

Setting the default shutdown or open is to modify the first data in the following code. 0x00 on the default, change to 0x01 is opened by default
0x00, 0x01, * CB setting *
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.