summaryrefslogtreecommitdiffstats
path: root/jni/com_android_nfc_NativeNfcManager.cpp
diff options
context:
space:
mode:
authorDaniel Tomas <dtomas.nxp@gmail.com>2011-07-25 17:25:16 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2011-07-25 17:25:16 -0700
commitc12429f9e194cda51767304f2fb26bab731df4fc (patch)
tree6602e3cc7c6f9364022a05a2e109ca7a2cec163f /jni/com_android_nfc_NativeNfcManager.cpp
parent5a0be107c26e6d0c6f2daf20ae087320a821bde4 (diff)
parente1e26c9d0f067b2e52bcbfc59a87eba489039fa2 (diff)
downloadpackages_apps_nfc-c12429f9e194cda51767304f2fb26bab731df4fc.zip
packages_apps_nfc-c12429f9e194cda51767304f2fb26bab731df4fc.tar.gz
packages_apps_nfc-c12429f9e194cda51767304f2fb26bab731df4fc.tar.bz2
am e1e26c9d: am 7aedb9c2: Patch to enable the Card Emulation detection mechanism
* commit 'e1e26c9d0f067b2e52bcbfc59a87eba489039fa2': Patch to enable the Card Emulation detection mechanism
Diffstat (limited to 'jni/com_android_nfc_NativeNfcManager.cpp')
-rw-r--r--jni/com_android_nfc_NativeNfcManager.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/jni/com_android_nfc_NativeNfcManager.cpp b/jni/com_android_nfc_NativeNfcManager.cpp
index de1627f..cbff102 100644
--- a/jni/com_android_nfc_NativeNfcManager.cpp
+++ b/jni/com_android_nfc_NativeNfcManager.cpp
@@ -26,7 +26,7 @@
#define ERROR_BUFFER_TOO_SMALL -12
#define ERROR_INSUFFICIENT_RESOURCES -9
-#define EEDATA_SETTINGS_NUMBER 28
+#define EEDATA_SETTINGS_NUMBER 29
static phLibNfc_sConfig_t gDrvCfg;
void *gHWRef;
@@ -106,6 +106,9 @@ uint8_t EEDATA_Settings[EEDATA_SETTINGS_NUMBER][4] = {
// Set NFCT ATQA
,{0x00, 0x98, 0x7D, 0x02}
,{0x00, 0x98, 0x7E, 0x00}
+
+ // Enable CEA detection mechanism
+ ,{0x00, 0x9F, 0xC8, 0x01}
};
/* Internal functions declaration */