FreeCalypso > hg > fc-magnetite
comparison src/g23m-aci/aci/cmh_sims.c @ 480:41f2cc21bca9
hybrid fw: code change to support allowing GSM APDUs in AT+CSIM
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 19 Jun 2018 06:27:16 +0000 |
parents | 53929b40109c |
children |
comparison
equal
deleted
inserted
replaced
479:e9e72ec7b318 | 480:41f2cc21bca9 |
---|---|
1306 if( simEntStat.curCmd NEQ AT_CMD_NONE ) | 1306 if( simEntStat.curCmd NEQ AT_CMD_NONE ) |
1307 { | 1307 { |
1308 return( AT_BUSY ); | 1308 return( AT_BUSY ); |
1309 } | 1309 } |
1310 | 1310 |
1311 #ifndef ALLOW_CSIM_GSM | |
1311 if (data[0] EQ GSM_CLASS) | 1312 if (data[0] EQ GSM_CLASS) |
1312 { | 1313 { |
1313 /* GSM instruction class is not allowed */ | 1314 /* GSM instruction class is not allowed */ |
1314 TRACE_EVENT("GSM instruction class is not allowed"); | 1315 TRACE_EVENT("GSM instruction class is not allowed"); |
1315 ACI_ERR_DESC( ACI_ERR_CLASS_Cme, CME_ERR_OpNotAllow ); | 1316 ACI_ERR_DESC( ACI_ERR_CLASS_Cme, CME_ERR_OpNotAllow ); |
1316 return( AT_FAIL ); | 1317 return( AT_FAIL ); |
1317 } | 1318 } |
1319 #endif | |
1320 | |
1318 #if 0 /* do we really need the check for the ATP source ? */ | 1321 #if 0 /* do we really need the check for the ATP source ? */ |
1319 #ifdef _TARGET_ | 1322 #ifdef _TARGET_ |
1320 if (ati_is_src_type((UBYTE)srcId, ATI_SRC_TYPE_RIV) EQ FALSE) | 1323 if (ati_is_src_type((UBYTE)srcId, ATI_SRC_TYPE_RIV) EQ FALSE) |
1321 { | 1324 { |
1322 /* don't allow other source type than RIV */ | 1325 /* don't allow other source type than RIV */ |