## Clock option for X-Tal
FW_CFG_CLK_SPEED=0x12
+###############################################################################
+# Presence Check Method
+# PRESENCE_CHECK_ALGORITHM=0 : [default] Automatic select for below 4 method.
+# PRESENCE_CHECK_ALGORITHM=1 : Read Empty I block.
+# PRESENCE_CHECK_ALGORITHM=2 : Sleep/Wakeup Command
+# PRESENCE_CHECK_ALGORITHM=3 : Read binary for CH0(K version method)
+# PRESENCE_CHECK_ALGORITHM=4 : Read binary for CH3
+# Default : No use (AUTO)
+# For China Region : Use Method 3
+###############################################################################
+PRESENCE_CHECK_ALGORITHM=3
+
+#################################################################################
+# Set max transceive length for IsoDep frames
+# Standard 0x105 (261)
+# Extended 0xFEFF (65279)
+ISO_DEP_MAX_TRANSCEIVE=0xFEFF
# 6) OBERTHUR_WARM_RESET_COMMAND must be enabled for all eSE model
OBERTHUR_WARM_RESET_COMMAND=0x03
-###############################################################################
-# 7) Presence Check Method
-# PRESENCE_CHECK_ALGORITHM=0 : [default] Automatic select for below 4 method.
-# PRESENCE_CHECK_ALGORITHM=1 : Read Empty I block.
-# PRESENCE_CHECK_ALGORITHM=2 : Sleep/Wakeup Command
-# PRESENCE_CHECK_ALGORITHM=3 : Read binary for CH0(K version method)
-# PRESENCE_CHECK_ALGORITHM=4 : Read binary for CH3
-# Default : No use (AUTO)
-# For China Region : Use Method 3
-###############################################################################
-PRESENCE_CHECK_ALGORITHM=3
-
###############################################################################
# Application options
APPL_TRACE_LEVEL=0xFF
# 2: screen-off card-emulation (CE4/CE3/CE1 modes are used)
# 3: FPM CE in snooze mode, Switch Off, Battery Off still available.
SCREEN_OFF_POWER_STATE=3
-
-###############################################################################
-# NCI Hal Module name
-NCI_HAL_MODULE="nfc_nci"
-
-#################################################################################
-# Set max transceive length for IsoDep frames
-# Standard 0x105 (261)
-# Extended 0xFEFF (65279)
-ISO_DEP_MAX_TRANSCEIVE=0xFEFF
# NFC
PRODUCT_COPY_FILES += \
- $(LOCAL_PATH)/configs/nfc/libnfc-sec-hal.conf:system/etc/libnfc-sec-hal.conf \
+ $(LOCAL_PATH)/configs/nfc/libnfc-sec-hal.conf:system/etc/libnfc-sec-vendor.conf \
$(LOCAL_PATH)/configs/nfc/libnfc-sec.conf:system/etc/libnfc-nci.conf \
$(LOCAL_PATH)/configs/nfc/nfcee_access.xml:system/etc/nfcee_access.xml
NfcNci \
Tag \
com.android.nfc_extras \
- android.hardware.nfc@1.0-impl
+ android.hardware.nfc@1.2-service.samsung
# Permissions
PRODUCT_COPY_FILES += \
</hal>
<hal format="hidl">
<name>android.hardware.nfc</name>
- <transport arch="32">passthrough</transport>
- <version>1.0</version>
+ <transport>hwbinder</transport>
+ <version>1.2</version>
<interface>
<name>INfc</name>
<instance>default</instance>
</interface>
+ <fqname>@1.2::INfc/default</fqname>
</hal>
<hal format="hidl">
<name>android.hardware.power</name>
# NFC
etc/sec_s3fwrn7_rfreg.bin
-lib/hw/nfc_nci.universal7580.so
vendor/firmware/sec_s3fwrn7_firmware.bin
# cbd, from boot.img and pinned to stop removal when extracting from system image