diff options
author | daniel_tomas <daniel.tomas@nxp.com> | 2011-01-17 19:08:56 +0100 |
---|---|---|
committer | Nick Pelly <npelly@google.com> | 2011-02-16 09:29:10 -0800 |
commit | 18516f4e58aad80815fb6efea22d217d39b90c10 (patch) | |
tree | d6988a4a835ed236a340ee6743f04ed133fe82ae | |
parent | 64b2569ec9b3f607a41640500387698b9dc91238 (diff) | |
download | libnfc-nxp-18516f4e58aad80815fb6efea22d217d39b90c10.tar.gz |
Disable CardEmulation phase when we try to access the Secure Element in Wired Mode.
This fix permit to detect the Secure Element in Wired Mode, even we are in front of a RF Reader
Change-Id: I8f87e043ff24724addd179ce025cf3d038a82a5e
-rw-r--r-- | src/phHal4Nfc_Emulation.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/phHal4Nfc_Emulation.c b/src/phHal4Nfc_Emulation.c index 568427c..b231f1e 100644 --- a/src/phHal4Nfc_Emulation.c +++ b/src/phHal4Nfc_Emulation.c @@ -164,6 +164,7 @@ NFCSTATUS phHal4Nfc_Switch_SMX_Mode( Hal4Ctxt->psADDCtxtInfo->nbr_of_devices = 0; Hal4Ctxt->psADDCtxtInfo->smx_discovery = TRUE; sSmxCfg.PollDevInfo.PollCfgInfo.EnableIso14443A = TRUE; + sSmxCfg.PollDevInfo.PollCfgInfo.DisableCardEmulation = TRUE; /*Switch mode to wired*/ CfgStatus = phHciNfc_Switch_SmxMode ( Hal4Ctxt->psHciHandle, |