summaryrefslogtreecommitdiff
path: root/nfc
diff options
context:
space:
mode:
authorMartijn Coenen <maco@google.com>2014-06-09 10:45:46 -0700
committerMartijn Coenen <maco@google.com>2014-06-09 10:45:46 -0700
commit278a88f09a471befef81e5c6eb783888e5b635a5 (patch)
tree957e9a897ec101b51aeb83654df701c2913e28e0 /nfc
parent7a69db8e9c30181fdc39deab935c24a4a0c4dc69 (diff)
downloadmako-278a88f09a471befef81e5c6eb783888e5b635a5.tar.gz
Mako: NFC: Set presence check algorithm to RB.
Until we have firmware that allows for empty I-Block. Change-Id: I6748e2a2c33f2ac8305cbc7b61234190b6f55ff8
Diffstat (limited to 'nfc')
-rw-r--r--nfc/libnfc-brcm.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/nfc/libnfc-brcm.conf b/nfc/libnfc-brcm.conf
index d3d4e40..634f2e6 100644
--- a/nfc/libnfc-brcm.conf
+++ b/nfc/libnfc-brcm.conf
@@ -306,3 +306,13 @@ NFC_WRITE_DELAY=20
# Default poll duration (in ms)
# The defualt is 500ms if not set (see nfc_target.h)
#NFA_DM_DISC_DURATION_POLL=333
+
+###############################################################################
+# Choose the presence-check algorithm for type-4 tag. If not defined,
+# the default value is 1.
+# 0 NFA_RW_PRES_CHK_DEFAULT; Let stack selects an algorithm
+# 1 NFA_RW_PRES_CHK_I_BLOCK; ISO-DEP protocol's empty I-block
+# 2 NFA_RW_PRES_CHK_RESET; Deactivate to Sleep, then re-activate
+# 3 NFA_RW_PRES_CHK_RB_CH0; Type-4 tag protocol's ReadBinary command on channel 0
+# 4 NFA_RW_PRES_CHK_RB_CH3; Type-4 tag protocol's ReadBinary command on channel 3
+PRESENCE_CHECK_ALGORITHM=3