summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordaniel_tomas <daniel.tomas@nxp.com>2011-01-05 12:09:56 -0800
committerJeff Hamilton <jham@android.com>2011-01-05 15:54:25 -0600
commit325757574e3fdca117f89c84d6db1766d8160b2a (patch)
tree98ba5d9dc57740ee20e21b3014cce0e6ea2303ae
parentc0bdf30e40dd60628bfafd5f93a3a911e3b91da9 (diff)
downloadexternal_libnfc-nxp-325757574e3fdca117f89c84d6db1766d8160b2a.zip
external_libnfc-nxp-325757574e3fdca117f89c84d6db1766d8160b2a.tar.gz
external_libnfc-nxp-325757574e3fdca117f89c84d6db1766d8160b2a.tar.bz2
Libnfc updated to just notify the JNI when a transaction event is detected
Change-Id: Id2991644e9a45a66172377d66b5dc3e99bbd6a39
-rw-r--r--inc/phNfcConfig.h2
-rw-r--r--src/phHciNfc_WI.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/inc/phNfcConfig.h b/inc/phNfcConfig.h
index e733557..5cf2fb1 100644
--- a/inc/phNfcConfig.h
+++ b/inc/phNfcConfig.h
@@ -141,7 +141,7 @@
/**< Default Session ID for Initialisation */
#ifndef DEFAULT_SESSION
-#define DEFAULT_SESSION "android4"
+#define DEFAULT_SESSION "android5"
#endif
diff --git a/src/phHciNfc_WI.c b/src/phHciNfc_WI.c
index 6790eb0..4da2078 100644
--- a/src/phHciNfc_WI.c
+++ b/src/phHciNfc_WI.c
@@ -54,7 +54,7 @@
#define NXP_SE_EVENTS_INDEX (0x05)
/* Set Bit 0 and Bit 1 to report Start of transaction and End of transaction*/
-#define WI_ENABLE_EVENTS (0x07)
+#define WI_ENABLE_EVENTS (0x04)
#define WI_VIRTUALMODE (0x01)
#define WI_OFFMODE (0x00)
#define AID_SIZE (0x20)