diff options
Diffstat (limited to 'src/phHal4Nfc_ADD.c')
-rw-r--r-- | src/phHal4Nfc_ADD.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/phHal4Nfc_ADD.c b/src/phHal4Nfc_ADD.c index 4da45e4..e95d872 100644 --- a/src/phHal4Nfc_ADD.c +++ b/src/phHal4Nfc_ADD.c @@ -497,8 +497,19 @@ void phHal4Nfc_TargetDiscoveryComplete( (Hal4Ctxt->psADDCtxtInfo->sADDCfg.NfcIP_Mode & phHal_ePassive106)) { + if( Sak == 0x53 // Fudan card incompatible to ISO18092 + && psRemoteDevInfo->RemoteDevInfo.Iso14443A_Info.AtqA[0] == 0x04 + && psRemoteDevInfo->RemoteDevInfo.Iso14443A_Info.AtqA[1] == 0x00 + ) + { + aRemoteDevTypes[Count] = phHal_eISO14443_3A_PICC; + Count++; + } + else + { aRemoteDevTypes[Count] = phHal_eNfcIP1_Target; Count++; + } } }/*case phHal_eISO14443_A_PICC:*/ break; |