微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 手机设计讨论 > MTK手机平台交流 > 如何配置SMS file相关service是否要检查sim里的service table(EFsst or EFust)

如何配置SMS file相关service是否要检查sim里的service table(EFsst or EFust)

时间:10-02 整理:3721RD 点击:
[DESCRIPTION]
有些SIM 或USIM卡比较特殊或有误,里面的service table config 的是不支持某项service ,但实际使用场景又要求手机去支持对应的服务所以针对这样的卡和情形,我们可以客制化配置,决定读SMS file 时 是否要检查sim 里的service table(EFsst or EFust)具体方法如下。
[SOLUTION]
在Modem codebase : custom\modem\common\ps custom_sms_config.c
#define SERVICE_TABLE_BITMAP 0xFFFF // modify this define
/*****************************************************************************
* FUNCTION
* sms_check_sim_service_table
* DESCRIPTION
* This function is used to config if the SIM file need to check service table
* 1: It will check service table, 0: It will not check service table
*
* +---------+---------+---------------+---------+
* | BIT16 | BIT15 | ... | BIT 1 | BIT 0 |
* +---------+---------+---------------+---------+
*
* BIT 0: Efsmss
* BIT 1: EFsmsp
* BIT 2: EFcbmi
* BIT 3: EFcbmid
* BIT 4: EFcbmir
* BIT 5: EFext6 (R4 file)
* BIT 6: EFmbdn (R4 file)
* BIT 7: EFmbi (R4 file)
* BIT 8: EFmwis (R4 file)
* BIT 9: EFext1
* BIT 10: EFmailbox_num (CPHS file)
* BIT 11: EFsms
*
* PARAMETERS
*
* RETURNS
* kal_uint16
* GLOBALS AFFECTED
* None
*****************************************************************************/
kal_uint16 sms_check_sim_service_table(void)
{
return (SERVICE_TABLE_BITMAP);
}

:loveliness::loveliness:

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top