From 18516f4e58aad80815fb6efea22d217d39b90c10 Mon Sep 17 00:00:00 2001 From: daniel_tomas Date: Mon, 17 Jan 2011 19:08:56 +0100 Subject: 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 --- src/phHal4Nfc_Emulation.c | 1 + 1 file changed, 1 insertion(+) 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, -- cgit v1.2.3