summaryrefslogtreecommitdiffstats
path: root/jni
diff options
context:
space:
mode:
authorMartijn Coenen <maco@google.com>2011-10-11 11:05:59 -0700
committerMartijn Coenen <maco@google.com>2011-10-11 11:05:59 -0700
commite59ab8f4cfcbfb2d17fe264dbaec65e6bd708e05 (patch)
treed9eacbda93896aad7bf1804759fb2fe4db10c4e0 /jni
parent96431890606b5c675922bb2326ef00da25d4cede (diff)
downloadpackages_apps_nfc-e59ab8f4cfcbfb2d17fe264dbaec65e6bd708e05.zip
packages_apps_nfc-e59ab8f4cfcbfb2d17fe264dbaec65e6bd708e05.tar.gz
packages_apps_nfc-e59ab8f4cfcbfb2d17fe264dbaec65e6bd708e05.tar.bz2
NFC: enable low-power RF polling feature.
Bug: 5430205 Change-Id: I2b6581cb54f49693744bd8739856877dec19f933
Diffstat (limited to 'jni')
-rw-r--r--jni/com_android_nfc_NativeNfcManager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/jni/com_android_nfc_NativeNfcManager.cpp b/jni/com_android_nfc_NativeNfcManager.cpp
index 20f7149..fc2b345 100644
--- a/jni/com_android_nfc_NativeNfcManager.cpp
+++ b/jni/com_android_nfc_NativeNfcManager.cpp
@@ -85,8 +85,8 @@ uint8_t EEDATA_Settings[EEDATA_SETTINGS_NUMBER][4] = {
// Change RF Level Detector ANARFLDWU
,{0x00,0x99,0x23,0x00} // Default Value is 0x01
- // Polling Loop Optimisation Detection - 0x86 to enable - 0x00 to disable
- ,{0x00,0x9E,0x74,0x00} // Default Value is 0x00, bits 0->2: sensitivity (0==maximal, 6==minimal), bits 3->6: RFU, bit 7: (0 -> disabled, 1 -> enabled)
+ // Low-power polling
+ ,{0x00,0x9E,0x74,0x80} // Default Value is 0x00, bits 0->2: sensitivity (0==maximal, 6==minimal), bits 3->6: RFU, bit 7: (0 -> disabled, 1 -> enabled)
// Polling Loop - Card Emulation Timeout
,{0x00,0x9F,0x35,0x14} // Time for which PN544 stays in Card Emulation mode after leaving RF field