diff options
author | Nick Pelly <npelly@google.com> | 2011-03-18 11:27:49 -0700 |
---|---|---|
committer | Nick Pelly <npelly@google.com> | 2011-03-18 11:42:27 -0700 |
commit | 00c98d516cac9dcdad6c22400267a2fd2bea3adf (patch) | |
tree | 00919c0e9490c47690e4c14447612c2cd5e2b6ee /src/phHciNfc_Emulation.c | |
parent | d625fb631ee97e320400f0c763839d166048c54b (diff) | |
download | external_libnfc-nxp-00c98d516cac9dcdad6c22400267a2fd2bea3adf.zip external_libnfc-nxp-00c98d516cac9dcdad6c22400267a2fd2bea3adf.tar.gz external_libnfc-nxp-00c98d516cac9dcdad6c22400267a2fd2bea3adf.tar.bz2 |
Disable P2P target 106 passive mode.
P2P target 106 passive appears as an ISO 14443-3A target to reader/writers
in the field. This can confuse some terminals, especially when we also have
card emulation turned on, since it looks like we have two -3A targets in
the field.
P2P target 106 passive is just one of many P2P sub-modes. We do not know of any
P2P devices that only initiate using only 106 passive, so this should not
present inter-op issues.
Change-Id: I1cb84ed791a86a7f225a51806e99bab031dcb6ca
Diffstat (limited to 'src/phHciNfc_Emulation.c')
-rw-r--r-- | src/phHciNfc_Emulation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/phHciNfc_Emulation.c b/src/phHciNfc_Emulation.c index e01c540..5309f3a 100644 --- a/src/phHciNfc_Emulation.c +++ b/src/phHciNfc_Emulation.c @@ -453,7 +453,7 @@ phHciNfc_EmuMgmt_Initialise( #define NFCIP_ACTIVE_SHIFT 0x03U #define NFCIP_PASSIVE_MASK 0x07U uint8_t mode = ( NXP_NFCIP_ACTIVE_DEFAULT << NFCIP_ACTIVE_SHIFT ) | - ( DEFAULT_NFCIP_MODE_SUPPORT & NFCIP_PASSIVE_MASK ); + ( DEFAULT_NFCIP_TARGET_MODE_SUPPORT & NFCIP_PASSIVE_MASK ); status = phHciNfc_NfcIP_SetMode( psHciContext, pHwRef, NFCIP_TARGET, mode); if(status == NFCSTATUS_PENDING ) |