summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 e4544c3..cdbfa82 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 */