[MTK]获取卡2基站信息失败(卡1成功)
{
#ifdef __MTK_TARGET__
MYQUEUE Message = {0};
mmi_em_start_req_struct *em_start_req;
g_cell_info_funcb = fun;
Message.oslMsgId = MSG_ID_MMI_EM_START_REQ;
em_start_req = OslConstructDataPtr(sizeof(mmi_em_start_req_struct));
em_start_req->mod_id = MOD_AS;
em_start_req->info_request = RR_EM_LAI_INFO;
Message.oslDataPtr = (oslParaType *)em_start_req;
Message.oslPeerBuffPtr = NULL;
Message.oslSrcId = MOD_MMI;
if (g_pwr_context.CurrentServiceType == FULL_SERVICE)
{
Message.oslDestId = MOD_L4C;
DW_TRACE_INFO("---------EmStatusHandleRsp SIM1");
}
#ifdef __MMI_DUAL_SIM_MASTER__
else if (g_pwr_context_2.CurrentServiceType == FULL_SERVICE)
{
Message.oslDestId = MOD_L4C_2;
DW_TRACE_INFO("---------EmStatusHandleRsp SIM2");
}
#endif
ClearProtocolEventHandler(MSG_ID_EM_START_RSP);
SetProtocolEventHandler(dw_sys_cell_status_ind, MSG_ID_MMI_EM_STATUS_IND);
OslMsgSendExtQueue(&Message);
#else
fun(460,0,10145,3782);
#endif
}
在MTK平台,我希望取得基站信息,但是目前是卡1取得到,卡2却取不到(全是0),是什么原因,要怎么做呢?
代码如上。我现在知道是MOD_MMI和MOD_L4C/MOD_L4C_2通讯,但最终是通过MOD_AS这个模块去取的,那么是不是对卡2要改成其它id?
还是有其它方法....
[解决办法]
MTK卡1和卡2是两个模块
[解决办法]
晕死 MOD_L4C 和 MOD_L4C_2实际上就是SIM1和SIM2的通讯模块
MOD_AS实际上就是3G下的RR(Radio Resource)的模块