summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHamster Tian <haotia@gmail.com>2016-06-30 13:22:22 +0800
committerArian <arian.kulmer@web.de>2019-10-25 22:17:12 +0200
commit24ccec8057e710e6ed9be70ae49626923cb1cf1f (patch)
tree78514cb76f9ca2ee369b0425fb0bf1f1d17a867b
parentc64342ba46ccb0aa76433375a7322e97b415cbaf (diff)
shinano-common: pn54x: Fix NFC breakage
* NFC stack in Android M has native support for Mifare Classic, but default protocol number is wrong. This property will correct the number for PN547C2. * Mostly copied from sample configuration, with NCI_DISCOVERY_TYPE_POLL_KOVIO changed to 0x77. Any other value will cause errorneous commands sent to NFCC, and NFC stack will fall into infinite loop. * PSE and Android Beam is working. Change-Id: I84b32efd27316292aab753c308df62357677d543
-rw-r--r--pn54x/libnfc-brcm.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/pn54x/libnfc-brcm.conf b/pn54x/libnfc-brcm.conf
index 9d1d8af..d5ddcd2 100644
--- a/pn54x/libnfc-brcm.conf
+++ b/pn54x/libnfc-brcm.conf
@@ -187,7 +187,7 @@ DEFAULT_OFFHOST_ROUTE=0x02
# byte[6] NCI_DISCOVERY_TYPE_POLL_KOVIO
# byte[7] NCI_DISCOVERY_TYPE_POLL_B_PRIME
# byte[8] NCI_DISCOVERY_TYPE_LISTEN_B_PRIME
-NFA_PROPRIETARY_CFG={05:FF:FF:06:81:80:70:FF:FF}
+NFA_PROPRIETARY_CFG={05:FF:FF:06:81:80:77:FF:FF}
###############################################################################
# Bail out mode