|
请教下:
void MX_Get_SIM2_IMSI_Req(void)
{
MYQUEUE Message;
Message.oslSrcId = MOD_MMI;
Message.oslDestId = MOD_L4C_2;
Message.oslMsgId = PRT_GET_IMSI_REQ;
Message.oslDataPtr = NULL;
Message.oslPeerBuffPtr = NULL;
OslMsgSendExtQueue(&Message);
SetSlaveProtocolEventHandler(MX_Get_SIM2_IMSI_Rsp, PRT_GET_IMSI_RSP);
kal_prompt_trace(MOD_WPS,">>>>>SIM2卡的获取IMSI请求<<<<<<<<");
}
void MX_Get_SIM2_IMSI_Rsp(void *info)
{
mmi_smu_get_imsi_rsp_struct *local_data = (mmi_smu_get_imsi_rsp_struct*) info;
kal_prompt_trace(MOD_WPS, "sim2_imsi_rsp-----");
if (local_data->result == 1)
{
memset(MX_IMSI2,0,sizeof(MX_IMSI2));
memcpy(MX_IMSI2,local_data->imsi, 16);
}
}
为什么 SetSlaveProtocolEventHandler(MX_Get_SIM2_IMSI_Rsp, PRT_GET_IMSI_RSP);没有执行。。没有得到卡2的IMSI啊? 而同样的卡1的发往MOD_L4C就可以得到1卡的SIMSI?
希望大虾指点~~6225的版本! |
|