11B slim 版本data account 开机为空或者不能自适应
0赞[DESCRIPTION]
在11B1132 之后的slim版本,开机之后,data account 显示为空。
[SOLUTION]半导体社区
1、在11B1132 版本之后,makefile 中新增加了DA_SMART_SELECTION_SUPPORT 这个option,对应source code 中的
__DA_SMART_SELECTION_SUPPORT__ 。
2、 DA_SMART_SELECTION_SUPPORT 的作用:
这个option 是为了可以自由开关data account 根据sim 卡的不同,而自适应data account 的feature而添加的,如果
定义为True,在data account 加载的时候,会根据sim 卡的plmn 的不同,只添加跟sim 卡匹配的data account,如果
定义为False,会添加data account的定义中所有的data account,而不会去匹配sim 卡的plmn。
3、data account 为空
在有些slim 版本,为了节省ROM 空间,原始release 的版本DA_SMART_SELECTION_SUPPORT 定义为False,而在原始
release 的Custom_config_account.c中,这种case 下是没有预定义data account 的,所以没有data account 可以加
载,如下:
#ifdef __DA_SMART_SELECTION_SUPPORT__
#else /* __DA_SMART_SELECTION_SUPPORT__ */
#ifdef __MMI_GPRS_FEATURES__
static const custom_dtcnt_prof_gprs_struct g_config_account_gprs[1];
#endif
#endif
4、修改方法:
(1)、如果需要根据sim卡自适应data account的feature,可以将 DA_SMART_SELECTION_SUPPORT 定义为True(可以自己
切换)
(2)、如果不需要根据sim卡自适应data account的feature,修改 g_config_account_gprs[1] 的定义,添加要使用的
data account 信息即可。
