Skip to content

Commit

Permalink
Fix NFC
Browse files Browse the repository at this point in the history
Change-Id: I338ffc5f10ba86cdd81fc42780043b7364b840e3
  • Loading branch information
BigMajster authored and Quarx2k committed Dec 19, 2014
1 parent 726b205 commit 9e8865c
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
2 changes: 0 additions & 2 deletions BoardConfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,4 @@ USE_MINIKIN := true
EXTENDED_FONT_FOOTPRINT := true

# Nfc
BOARD_NFC_HAL_SUFFIX := w7
BOARD_NFC_CHIPSET := pn547

2 changes: 1 addition & 1 deletion device_w7.mk
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ PRODUCT_PROPERTY_OVERRIDES += \
PRODUCT_PACKAGES += \
NfcNci \
Tag \
nfc_nci.w7 \
nfc_nci.pn54x.default \
com.android.nfc_extras

NFCEE_ACCESS_PATH := device/lge/w7/prebuilt/etc/nfcee_access.xml
Expand Down
16 changes: 16 additions & 0 deletions prebuilt/etc/libnfc-brcm.conf
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,12 @@ OBERTHUR_WARM_RESET_COMMAND=0x03
# Default is NFA_TECHNOLOGY_MASK_A | NFA_TECHNOLOGY_MASK_B | NFA_TECHNOLOGY_MASK_F
UICC_LISTEN_TECH_MASK=0xC7

###############################################################################
# Force HOST listen feature enable or disable.
# 0: Disable
# 1: Enable
HOST_LISTEN_ENABLE=0x01

###############################################################################
# Allow UICC to be powered off if there is no traffic.
# Timeout is in ms. If set to 0, then UICC will not be powered off.
Expand Down Expand Up @@ -311,3 +317,13 @@ POLLING_TECH_MASK=0xEF
P2P_LISTEN_TECH_MASK=0xC4

PRESERVE_STORAGE=0x01

###############################################################################
# Maximum EE supported number
# NXP PN547C2 0x02
# NXP PN65T 0x03
NFA_MAX_EE_SUPPORTED=0x03

###############################################################################
# NCI Hal Module name
NCI_HAL_MODULE="nfc_nci.pn54x"

0 comments on commit 9e8865c

Please sign in to comment.