summaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
authorNick Pelly <npelly@google.com>2011-03-18 11:27:49 -0700
committerNick Pelly <npelly@google.com>2011-03-18 11:42:27 -0700
commit00c98d516cac9dcdad6c22400267a2fd2bea3adf (patch)
tree00919c0e9490c47690e4c14447612c2cd5e2b6ee /inc
parentd625fb631ee97e320400f0c763839d166048c54b (diff)
downloadexternal_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 'inc')
-rw-r--r--inc/phNfcConfig.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/inc/phNfcConfig.h b/inc/phNfcConfig.h
index a346b8c..3f5a108 100644
--- a/inc/phNfcConfig.h
+++ b/inc/phNfcConfig.h
@@ -141,7 +141,7 @@
/**< Default Session ID for Initialisation */
#ifndef DEFAULT_SESSION
-#define DEFAULT_SESSION "android5"
+#define DEFAULT_SESSION "android6"
#endif
@@ -323,7 +323,8 @@
/**< Macro to Enable the Peer to Peer Feature */
#define ENABLE_P2P
-#define DEFAULT_NFCIP_MODE_SUPPORT 0x0FU
+#define DEFAULT_NFCIP_INITIATOR_MODE_SUPPORT 0x0FU
+#define DEFAULT_NFCIP_TARGET_MODE_SUPPORT 0x0EU
/**< Macro to Enable the ISO14443-B Feature */
#define TYPE_B