├── README ├── configs ├── security_nfc_profile.dat ├── libnfc-brcm.conf └── libnfc-nxp.conf ├── device-proprietary-files-tmo.txt ├── device-proprietary-files-vzw.txt ├── device-proprietary-files-can.txt ├── device-proprietary-files-usc.txt ├── superior.dependencies ├── Android.mk ├── AndroidProducts.mk ├── extract-files.sh ├── setup-makefiles.sh ├── init ├── Android.bp └── init_hltetmo.cpp ├── superior_hltetmo.mk ├── full_hltetmo.mk ├── BoardConfig.mk ├── overlay └── frameworks │ └── base │ └── core │ └── res │ └── res │ └── values │ └── config.xml └── device.mk /README: -------------------------------------------------------------------------------- 1 | Copyright 2014 - The CyanogenMod Project 2 | 3 | Device configuration for The T-Mobile(US) Samsung Galaxy Note 3 (GSM). 4 | -------------------------------------------------------------------------------- /configs/security_nfc_profile.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_samsung_hltetmo/ten/configs/security_nfc_profile.dat -------------------------------------------------------------------------------- /device-proprietary-files-tmo.txt: -------------------------------------------------------------------------------- 1 | # Radio - pinned to N900TUVUFQD2_N900TTMBFQD2_TMB 2 | lib/libsec-ril.so:vendor/lib/libsec-ril.tmo.so|3008534fba31ebe71f9690afe4bf8786a28cf8c8 3 | -------------------------------------------------------------------------------- /device-proprietary-files-vzw.txt: -------------------------------------------------------------------------------- 1 | # Radio - pinned to N900VVRSEPL1_N900VVZWEPL1_VZW 2 | lib/libsec-ril.so:vendor/lib/libsec-ril.vzw.so|baf2fc3b789fc540d1fb96170660d89dcb8ec083 3 | -------------------------------------------------------------------------------- /device-proprietary-files-can.txt: -------------------------------------------------------------------------------- 1 | # Radio - pinned to N900W8VLU2DPG1_N900W8OYADPG1_RWC 2 | lib/libsec-ril.so:vendor/lib/libsec-ril.can.so|5e39c98f1dde89b85af4fbcae0b41fa176ef3606 3 | -------------------------------------------------------------------------------- /device-proprietary-files-usc.txt: -------------------------------------------------------------------------------- 1 | # Radio - pinned to N900R4TYUDPE2_N900R4USCDPE2_USC 2 | lib/libsec-ril.so:vendor/lib/libsec-ril.usc.so|e1a1a50f7bd1f2f047def84b55178eb454fa2949 3 | -------------------------------------------------------------------------------- /superior.dependencies: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "remote": "github", 4 | "repository": "SuperiorOS-Devices/device_samsung_hlte-common", 5 | "target_path": "device/samsung/hlte-common", 6 | "branch": "ten" 7 | } 8 | ] 9 | -------------------------------------------------------------------------------- /Android.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2014 The Android Open-Source Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | LOCAL_PATH := $(call my-dir) 18 | 19 | ifeq ($(TARGET_DEVICE),hlte) 20 | include $(call all-subdir-makefiles,$(LOCAL_PATH)) 21 | endif 22 | -------------------------------------------------------------------------------- /AndroidProducts.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2018-2019 The LineageOS Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | PRODUCT_MAKEFILES := \ 17 | $(LOCAL_DIR)/superior_hltetmo.mk 18 | 19 | COMMON_LUNCH_CHOICES := \ 20 | superior_hltetmo-user \ 21 | superior_hltetmo-userdebug \ 22 | superior_hltetmo-eng 23 | -------------------------------------------------------------------------------- /extract-files.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Copyright (C) 2016 The CyanogenMod Project 4 | # Copyright (C) 2017 The LineageOS Project 5 | # 6 | # Licensed under the Apache License, Version 2.0 (the "License"); 7 | # you may not use this file except in compliance with the License. 8 | # You may obtain a copy of the License at 9 | # 10 | # http://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, software 13 | # distributed under the License is distributed on an "AS IS" BASIS, 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | # See the License for the specific language governing permissions and 16 | # limitations under the License. 17 | # 18 | 19 | set -e 20 | 21 | export DEVICE=hltetmo 22 | export DEVICE_COMMON=hlte-common 23 | export VENDOR=samsung 24 | 25 | ./../$DEVICE_COMMON/extract-files.sh $@ 26 | -------------------------------------------------------------------------------- /setup-makefiles.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Copyright (C) 2014 The CyanogenMod Project 4 | # Copyright (C) 2017 The LineageOS Project 5 | # 6 | # Licensed under the Apache License, Version 2.0 (the "License"); 7 | # you may not use this file except in compliance with the License. 8 | # You may obtain a copy of the License at 9 | # 10 | # http://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, software 13 | # distributed under the License is distributed on an "AS IS" BASIS, 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | # See the License for the specific language governing permissions and 16 | # limitations under the License. 17 | # 18 | 19 | set -e 20 | 21 | export DEVICE=hltetmo 22 | export DEVICE_COMMON=hlte-common 23 | export VENDOR=samsung 24 | 25 | ./../$DEVICE_COMMON/setup-makefiles.sh $@ 26 | -------------------------------------------------------------------------------- /init/Android.bp: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (C) 2019 The LineageOS Project 3 | // 4 | // Licensed under the Apache License, Version 2.0 (the "License"); 5 | // you may not use this file except in compliance with the License. 6 | // You may obtain a copy of the License at 7 | // 8 | // http://www.apache.org/licenses/LICENSE-2.0 9 | // 10 | // Unless required by applicable law or agreed to in writing, software 11 | // distributed under the License is distributed on an "AS IS" BASIS, 12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | // See the License for the specific language governing permissions and 14 | // limitations under the License. 15 | // 16 | 17 | cc_library_static { 18 | name: "libinit_hltetmo", 19 | recovery_available: true, 20 | srcs: ["init_hltetmo.cpp"], 21 | whole_static_libs: ["libbase"], 22 | include_dirs: [ 23 | "system/core/base/include", 24 | "system/core/init" 25 | ] 26 | } 27 | -------------------------------------------------------------------------------- /superior_hltetmo.mk: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2013-2016 The CyanogenMod Project 2 | # Copyright (C) 2017-2018 The LineageOS Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | # Inherit some common LineageOS stuff. 17 | $(call inherit-product, vendor/superior/config/common.mk) 18 | 19 | $(call inherit-product, device/samsung/hltetmo/full_hltetmo.mk) 20 | 21 | PRODUCT_DEVICE := hltetmo 22 | PRODUCT_NAME := superior_hltetmo 23 | -------------------------------------------------------------------------------- /full_hltetmo.mk: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2014 The CyanogenMod Project 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | # Inherit from those products. Most specific first. 16 | $(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk) 17 | 18 | # Inherit from hltetmo device 19 | $(call inherit-product, device/samsung/hltetmo/device.mk) 20 | 21 | # Set those variables here to overwrite the inherited values. 22 | PRODUCT_NAME := full_hltetmo 23 | PRODUCT_DEVICE := hltetmo 24 | PRODUCT_BRAND := samsung 25 | PRODUCT_MANUFACTURER := samsung 26 | PRODUCT_MODEL := hltetmo 27 | -------------------------------------------------------------------------------- /BoardConfig.mk: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2014-2016 The CyanogenMod Project 2 | # Copyright (C) 2017-2018 The LineageOS Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | # inherit from common hlte 17 | include device/samsung/hlte-common/BoardConfigCommon.mk 18 | 19 | TARGET_OTA_ASSERT_DEVICE := hlte,hltecan,hltetmo,hlteusc,hltevzw 20 | 21 | # Init 22 | TARGET_INIT_VENDOR_LIB := libinit_hltetmo 23 | TARGET_RECOVERY_DEVICE_MODULES := libinit_hltetmo 24 | 25 | # Kernel 26 | TARGET_KERNEL_CONFIG := lineage_hlte_pn547_defconfig 27 | 28 | # NFC 29 | BOARD_NFC_CHIPSET := pn547 30 | 31 | # Radio/RIL 32 | include $(COMMON_PATH)/radio/single/board.mk 33 | 34 | # inherit from the proprietary version 35 | -include vendor/samsung/hltetmo/BoardConfigVendor.mk 36 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 23 | 24 | 28 | LTE|CDMA|EVDO|GSM|WCDMA 29 | 30 | -------------------------------------------------------------------------------- /device.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2014 The CyanogenMod Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | $(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk) 18 | 19 | # Get non-open-source specific aspects 20 | $(call inherit-product-if-exists, vendor/samsung/hltetmo/hltetmo-vendor.mk) 21 | 22 | # NFC 23 | PRODUCT_PACKAGES += \ 24 | libpn547_fw \ 25 | nfc_nci.pn54x.default 26 | 27 | PRODUCT_COPY_FILES += \ 28 | $(LOCAL_PATH)/configs/security_nfc_profile.dat:system/etc/security_nfc_profile.dat \ 29 | $(LOCAL_PATH)/configs/libnfc-brcm.conf:system/etc/libnfc-brcm.conf \ 30 | $(LOCAL_PATH)/configs/libnfc-nxp.conf:system/etc/libnfc-nxp.conf 31 | 32 | # Overlays 33 | DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay 34 | 35 | # Common hlte 36 | $(call inherit-product, device/samsung/hlte-common/hlte.mk) 37 | -------------------------------------------------------------------------------- /init/init_hltetmo.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2013, The Linux Foundation. All rights reserved. 3 | Copyright (c) 2017-2018, The LineageOS Project. All rights reserved. 4 | 5 | Redistribution and use in source and binary forms, with or without 6 | modification, are permitted provided that the following conditions are 7 | met: 8 | * Redistributions of source code must retain the above copyright 9 | notice, this list of conditions and the following disclaimer. 10 | * Redistributions in binary form must reproduce the above 11 | copyright notice, this list of conditions and the following 12 | disclaimer in the documentation and/or other materials provided 13 | with the distribution. 14 | * Neither the name of The Linux Foundation nor the names of its 15 | contributors may be used to endorse or promote products derived 16 | from this software without specific prior written permission. 17 | 18 | THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED 19 | WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 20 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT 21 | ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS 22 | BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 23 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 24 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 25 | BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 26 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE 27 | OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN 28 | IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 | */ 30 | 31 | #include 32 | #include 33 | #include 34 | #include 35 | #include 36 | #include 37 | 38 | #include 39 | #include 40 | #include 41 | #include 42 | 43 | #define _REALLY_INCLUDE_SYS__SYSTEM_PROPERTIES_H_ 44 | #include 45 | 46 | #include "property_service.h" 47 | #include "vendor_init.h" 48 | 49 | using android::base::GetProperty; 50 | using android::init::property_set; 51 | 52 | // copied from build/tools/releasetools/ota_from_target_files.py 53 | // but with "." at the end and empty entry 54 | std::vector ro_product_props_default_source_order = { 55 | ".", 56 | "product.", 57 | "product_services.", 58 | "odm.", 59 | "vendor.", 60 | "system.", 61 | }; 62 | 63 | void property_override(char const prop[], char const value[], bool add = true) 64 | { 65 | auto pi = (prop_info *) __system_property_find(prop); 66 | 67 | if (pi != nullptr) { 68 | __system_property_update(pi, value, strlen(value)); 69 | } else if (add) { 70 | __system_property_add(prop, strlen(prop), value, strlen(value)); 71 | } 72 | } 73 | 74 | void set_rild_libpath(char const *variant) 75 | { 76 | std::string libpath("/system/vendor/lib/libsec-ril."); 77 | libpath += variant; 78 | libpath += ".so"; 79 | 80 | property_override("rild.libpath", libpath.c_str()); 81 | } 82 | 83 | void cdma_properties(char const *operator_alpha, 84 | char const *operator_numeric, 85 | char const *default_network, 86 | char const *cdma_sub, 87 | char const *rild_lib_variant) 88 | { 89 | /* Dynamic CDMA Properties */ 90 | property_set("ro.cdma.home.operator.alpha", operator_alpha); 91 | property_set("ro.cdma.home.operator.numeric", operator_numeric); 92 | property_set("ro.telephony.default_network", default_network); 93 | property_set("ro.telephony.default_cdma_sub", cdma_sub); 94 | set_rild_libpath(rild_lib_variant); 95 | 96 | /* Static CDMA Properties */ 97 | property_set("ril.subscription.types", "NV,RUIM"); 98 | property_set("telephony.lteOnCdmaDevice", "1"); 99 | } 100 | 101 | void gsm_properties(char const *rild_lib_variant) 102 | { 103 | set_rild_libpath(rild_lib_variant); 104 | 105 | property_set("ro.telephony.default_network", "9"); 106 | property_set("telephony.lteOnGsmDevice", "1"); 107 | } 108 | 109 | void vendor_load_properties() { 110 | 111 | std::string bootloader = GetProperty("ro.bootloader", ""); 112 | 113 | const auto set_ro_product_prop = [](const std::string &source, 114 | const std::string &prop, const std::string &value) { 115 | auto prop_name = "ro.product." + source + prop; 116 | property_override(prop_name.c_str(), value.c_str(), false); 117 | }; 118 | 119 | if (bootloader.find("N900R4") == 0) { 120 | /* hlteusc */ 121 | for (const auto &source : ro_product_props_default_source_order) { 122 | set_ro_product_prop(source, "fingerprint", "samsung/hlteusc/hlteusc:5.0/LRX21V/N900R4TYUDPE2:user/release-keys"); 123 | set_ro_product_prop(source, "device", "hlteusc"); 124 | set_ro_product_prop(source, "model", "SM-N900R4"); 125 | } 126 | property_override("ro.build.description", "hlteusc-user 5.0 LRX21V N900R4TYUDPE2 release-keys"); 127 | cdma_properties("U.S. Cellular", "311220", "10", "0", "usc"); 128 | } else if (bootloader.find("N900T") == 0) { 129 | /* hltetmo */ 130 | for (const auto &source : ro_product_props_default_source_order) { 131 | set_ro_product_prop(source, "fingerprint", "samsung/hltetmo/hltetmo:5.0/LRX21V/N900TUVUFQD2:user/release-keys"); 132 | set_ro_product_prop(source, "device", "hltetmo"); 133 | set_ro_product_prop(source, "model", "SM-N900T"); 134 | } 135 | property_override("ro.build.description", "hltetmo-user 5.0 LRX21V N900TUVUFQD2 release-keys"); 136 | gsm_properties("tmo"); 137 | } else if (bootloader.find("N900V") == 0) { 138 | /* hltevzw */ 139 | for (const auto &source : ro_product_props_default_source_order) { 140 | set_ro_product_prop(source, "fingerprint", "Verizon/hltevzw/hltevzw:5.0/LRX21V/N900VVRSEPL1:user/release-keys"); 141 | set_ro_product_prop(source, "device", "hltevzw"); 142 | set_ro_product_prop(source, "model", "SM-N900V"); 143 | } 144 | property_override("ro.build.description", "hltevzw-user 5.0 LRX21V N900VVRSEPL1 release-keys"); 145 | cdma_properties("Verizon", "311480", "10", "1", "vzw"); 146 | } else if (bootloader.find("N900W8") == 0) { 147 | /* hltecan */ 148 | for (const auto &source : ro_product_props_default_source_order) { 149 | set_ro_product_prop(source, "fingerprint", "samsung/hltevl/hltecan:5.0/LRX21V/N900W8VLU2DPG1:user/release-keys"); 150 | set_ro_product_prop(source, "device", "hltecan"); 151 | set_ro_product_prop(source, "model", "SM-N900W8"); 152 | } 153 | property_override("ro.build.description", "hltevl-user 5.0 LRX21V N900W8VLU2DPG1 release-keys"); 154 | gsm_properties("can"); 155 | } else { 156 | gsm_properties("tmo"); 157 | } 158 | 159 | std::string device = GetProperty("ro.product.device", ""); 160 | LOG(ERROR) << "Found bootloader id " << bootloader << " setting build properties for " 161 | << device << " device" << std::endl; 162 | } 163 | -------------------------------------------------------------------------------- /configs/libnfc-brcm.conf: -------------------------------------------------------------------------------- 1 | ############################################################################### 2 | # Application options 3 | APPL_TRACE_LEVEL=0xFF 4 | PROTOCOL_TRACE_LEVEL=0xFFFFFFFF 5 | 6 | ############################################################################### 7 | # Logging 8 | # Set USE_RAW_NCI_TRACE = 1 for protocol logging in a raw format 9 | # instead of decoded 10 | # Set LOG_TO_FILE = 1 to log protocol traces to a file on the sdcard 11 | # instead of to adb logcat 12 | # Set LOGCAT_FILTER to the filter string which is passed to logcat 13 | #USE_RAW_NCI_TRACE=0 14 | #LOG_TO_FILE=0 15 | #LOGCAT_FILTER="BrcmNciX:V BrcmNciR:V BrcmNote:V *:S" 16 | 17 | PRESERVE_STORAGE=1 18 | 19 | ############################################################################### 20 | # performance measurement 21 | # Change this setting to control how often USERIAL log the performance (throughput) 22 | # data on read/write/poll 23 | # defailt is to log performance dara for every 100 read or write 24 | #REPORT_PERFORMANCE_MEASURE=100 25 | 26 | ############################################################################### 27 | # File used for NFA storage 28 | NFA_STORAGE="/data/bcmnfc" 29 | 30 | ############################################################################### 31 | # Low Power Mode Settings 32 | # 33 | # If NFA_DM_LP_CFG is not provided, stack default settings are 34 | # used (see nfa_dm_brcm_cfg.c). They are as follows: 35 | # 1 Power cycle to full power mode from CEx 36 | # 5 Parameter for low power mode command 37 | # 0 Primary Threshold for battery monitor 38 | # 0-7 representing below voltages: 39 | # {2, 2.2, 2.7, 2.8, 2.9, 3, 3.1, 3.2} 40 | # 8 Secondary Threshold for battery monitor 41 | # 0-15 representing below voltages: 42 | # {5.2, 4.87, 4.54, 4.22, 3.9, 3.73, 3.57, 3.4, 43 | # 3.2, 3.1, 3.0, 2.9, 2.8, 2.7, 2.2, 2.0} 44 | # 45 | #NFA_DM_LP_CFG={01:05:00:08} 46 | # LPM Disable FW VBAT MON 47 | NFA_DM_LP_CFG={01:01:00:08} 48 | 49 | ############################################################################### 50 | # Insert a delay in milliseconds after NFC_WAKE and before write to NFCC 51 | NFC_WAKE_DELAY=20 52 | 53 | ############################################################################### 54 | # Various Delay settings (in ms) used in USERIAL 55 | # POWER_ON_DELAY 56 | # Delay after turning on chip, before writing to transport (default 300) 57 | # PRE_POWER_OFF_DELAY 58 | # Delay after deasserting NFC-Wake before turn off chip (default 0) 59 | # POST_POWER_OFF_DELAY 60 | # Delay after turning off chip, before USERIAL_close returns (default 0) 61 | # CE3_PRE_POWER_OFF_DELAY 62 | # Delay after deasserting NFC-Wake before turn off chip (default 1000) 63 | # when going to CE3 Switch Off mode 64 | # 65 | #POWER_ON_DELAY=300 66 | PRE_POWER_OFF_DELAY=1500 67 | #POST_POWER_OFF_DELAY=0 68 | #CE3_PRE_POWER_OFF_DELAY=1000 69 | 70 | 71 | ############################################################################### 72 | # Device Manager Config 73 | # 74 | # If NFA_DM_CFG is not provided, stack default settings are 75 | # used (see nfa_dm_cfg.c). They are as follows: 76 | # 0 (FALSE) Automatic NDEF detection when background polling 77 | # 0 (FALSE) Automatic NDEF read when background polling 78 | # 79 | #NFA_DM_CFG={00:00} 80 | 81 | ############################################################################### 82 | # Default poll duration (in ms) 83 | # The defualt is 500ms if not set (see nfc_target.h) same as M0 84 | NFA_DM_DISC_DURATION_POLL=500 85 | 86 | ############################################################################### 87 | # Startup Vendor Specific Configuration (100 bytes maximum); 88 | # byte[0] TLV total len = 0x5 89 | # byte[1] NCI_MTS_CMD|NCI_GID_PROP = 0x2f 90 | # byte[2] NCI_MSG_FRAME_LOG = 0x9 91 | # byte[3] 2 92 | # byte[4] 0=turn off RF frame logging; 1=turn on 93 | # byte[5] 0=turn off SWP frame logging; 1=turn on 94 | # NFA_DM_START_UP_VSC_CFG={05:2F:09:02:01:01} 95 | 96 | #HW FSM 97 | #NFA_DM_START_UP_VSC_CFG={04:2F:06:01:00} 98 | 99 | ############################################################################### 100 | # Configure crystal frequency when internal LPO can't detect the frequency. 101 | #XTAL_FREQUENCY=0 102 | 103 | ############################################################################### 104 | # Use Nexus S NXP RC work to allow our stack/firmware to work with a retail 105 | # Nexus S that causes IOP issues. Note, this will not pass conformance and 106 | # should be removed for production. 107 | #USE_NXP_P2P_RC_WORKAROUND=1 108 | 109 | ############################################################################### 110 | # Configure the default Destination Gate used by HCI (the default is 4, which 111 | # is the ETSI loopback gate. 112 | #NFA_HCI_DEFAULT_DEST_GATE=0x04 113 | 114 | ############################################################################### 115 | # Configure the single default SE to use. The default is to use the first 116 | # SE that is detected by the stack. This value might be used when the phone 117 | # supports multiple SE (e.g. 0xF3 and 0xF4) but you want to force it to use 118 | # one of them (e.g. 0xF4). 119 | ACTIVE_SE=0xF4 120 | 121 | ############################################################################### 122 | # Configure the NFC Extras to open and use a static pipe. If the value is 123 | # not set or set to 0, then the default is use a dynamic pipe based on a 124 | # destination gate (see NFA_HCI_DEFAULT_DEST_GATE). Note there is a value 125 | # for each UICC (where F3="UICC0" and F4="UICC1") 126 | NFA_HCI_STATIC_PIPE_ID_F3=0x71 127 | NFA_HCI_STATIC_PIPE_ID_F4=0x71 128 | 129 | ############################################################################### 130 | # When disconnecting from Oberthur secure element, perform a warm-reset of 131 | # the secure element to deselect the applet. 132 | # The default hex value of the command is 0x3. If this variable is undefined, 133 | # then this feature is not used. 134 | OBERTHUR_WARM_RESET_COMMAND=0x03 135 | 136 | ############################################################################### 137 | # Force UICC to only listen to the following technology(s). 138 | # The bits are defined as tNFA_TECHNOLOGY_MASK in nfa_api.h. 139 | # Default is NFA_TECHNOLOGY_MASK_A | NFA_TECHNOLOGY_MASK_B. 140 | #UICC_LISTEN_TECH_MASK=0x03 141 | 142 | ############################################################################### 143 | # AID for Empty Select command 144 | # If specified, this AID will be substituted when an Empty SELECT command is 145 | # detected. The first byte is the length of the AID. Maximum length is 16. 146 | AID_FOR_EMPTY_SELECT={08:A0:00:00:01:51:00:00:00} 147 | 148 | ############################################################################### 149 | # Force tag polling for the following technology(s). 150 | # The bits are defined as tNFA_TECHNOLOGY_MASK in nfa_api.h. 151 | # Default is NFA_TECHNOLOGY_MASK_A | NFA_TECHNOLOGY_MASK_B | 152 | # NFA_TECHNOLOGY_MASK_F | NFA_TECHNOLOGY_MASK_ISO15693 | 153 | # NFA_TECHNOLOGY_MASK_B_PRIME | NFA_TECHNOLOGY_MASK_A_ACTIVE | 154 | # NFA_TECHNOLOGY_MASK_F_ACTIVE. 155 | # 156 | # Notable bits: 157 | # NFA_TECHNOLOGY_MASK_A 0x01 158 | # NFA_TECHNOLOGY_MASK_B 0x02 159 | # NFA_TECHNOLOGY_MASK_F 0x04 160 | # NFA_TECHNOLOGY_MASK_ISO15693 0x08 161 | # NFA_TECHNOLOGY_MASK_B_PRIME 0x10 162 | # NFA_TECHNOLOGY_MASK_KOVIO 0x20 163 | # NFA_TECHNOLOGY_MASK_A_ACTIVE 0x40 164 | # NFA_TECHNOLOGY_MASK_F_ACTIVE 0x80 165 | POLLING_TECH_MASK=0xEF 166 | 167 | ############################################################################### 168 | # Force P2P to only listen for the following technology(s). 169 | # The bits are defined as tNFA_TECHNOLOGY_MASK in nfa_api.h. 170 | # Default is NFA_TECHNOLOGY_MASK_A | NFA_TECHNOLOGY_MASK_F | 171 | # NFA_TECHNOLOGY_MASK_A_ACTIVE | NFA_TECHNOLOGY_MASK_F_ACTIVE 172 | P2P_LISTEN_TECH_MASK=0xC4 173 | 174 | ############################################################################### 175 | # Maximum Number of Credits to be allowed by the NFCC 176 | # This value overrides what the NFCC specifices allowing the host to have 177 | # the control to work-around transport limitations. If this value does 178 | # not exist or is set to 0, the NFCC will provide the number of credits. 179 | MAX_RF_DATA_CREDITS=1 180 | 181 | ############################################################################### 182 | # This setting allows you to disable registering the T4t Virtual SE that causes 183 | # the NFCC to send PPSE requests to the DH. 184 | # The default setting is enabled (i.e. T4t Virtual SE is registered). 185 | #REGISTER_VIRTUAL_SE=1 186 | REGISTER_VIRTUAL_SE=0 187 | 188 | ############################################################################### 189 | # When screen is turned off, specify the desired power state of the controller. 190 | # 0: power-off-sleep state; DEFAULT 191 | # 1: full-power state 192 | # 2: screen-off card-emulation (CE4/CE3/CE1 modes are used) 193 | # 3: FPM CE in snooze mode, Switch Off, Battery Off still available. 194 | SCREEN_OFF_POWER_STATE=3 195 | 196 | ############################################################################### 197 | # SPD Debug mode 198 | # If set to 1, any failure of downloading a patch will trigger a hard-stop 199 | #SPD_DEBUG=0 200 | 201 | ############################################################################### 202 | # SPD Max Retry Count 203 | # The number of attempts to download a patch before giving up (defualt is 3). 204 | # Note, this resets after a power-cycle. 205 | #SPD_MAX_RETRY_COUNT=3 206 | 207 | ############################################################################### 208 | # Patch RAM Version Checking 209 | # By default the stack will reject any attempt to download a patch where major 210 | # version is < the one that is in NVM. If this config item is set to 1 then 211 | # this version check is skipped. 212 | # 213 | #SPD_IGNORE_VERSION=0 214 | 215 | ############################################################################### 216 | # transport driver 217 | # 218 | # TRANSPORT_DRIVER= 219 | # 220 | # where can be, for example: 221 | # "/dev/ttyS" (UART) 222 | # "/dev/bcmi2cnfc" (I2C) 223 | # "hwtun" (HW Tunnel) 224 | # "/dev/bcmspinfc" (SPI) 225 | # "/dev/btusb0" (BT USB) 226 | TRANSPORT_DRIVER="/dev/bcm2079x" 227 | 228 | ############################################################################### 229 | # power control driver 230 | # Specify a kernel driver that support ioctl commands to control NFC_EN and 231 | # NFC_WAKE gpio signals. 232 | # 233 | # POWER_CONTRL_DRIVER= 234 | # where can be, for example: 235 | # "/dev/nfcpower" 236 | # "/dev/bcmi2cnfc" (I2C) 237 | # "/dev/bcmspinfc" (SPI) 238 | # i2c and spi driver may be used to control NFC_EN and NFC_WAKE signal 239 | POWER_CONTROL_DRIVER="/dev/bcm2079x" 240 | 241 | ############################################################################### 242 | # I2C transport driver options 243 | # 244 | BCMI2CNFC_ADDRESS=0 245 | 246 | ############################################################################### 247 | # I2C transport driver try to read multiple packets in read() if data is available 248 | # remove the comment below to enable this feature 249 | #READ_MULTIPLE_PACKETS=1 250 | 251 | ############################################################################### 252 | # SPI transport driver options 253 | #SPI_NEGOTIATION={0A:F0:00:01:00:00:00:FF:FF:00:00} 254 | 255 | ############################################################################### 256 | # UART transport driver options 257 | # 258 | # PORT=1,2,3,... 259 | # BAUD=115200, 19200, 9600, 4800, 260 | # DATABITS=8, 7, 6, 5 261 | # PARITY="even" | "odd" | "none" 262 | # STOPBITS="0" | "1" | "1.5" | "2" 263 | 264 | #UART_PORT=2 265 | #UART_BAUD=115200 266 | #UART_DATABITS=8 267 | #UART_PARITY="none" 268 | #UART_STOPBITS="1" 269 | 270 | ############################################################################### 271 | # Insert a delay in microseconds per byte after a write to NFCC. 272 | # after writing a block of data to the NFCC, delay this an amopunt of time before 273 | # writing next block of data. the delay is calculated as below 274 | # NFC_WRITE_DELAY * (number of byte written) / 1000 milliseconds 275 | # e.g. after 259 bytes is written, delay (259 * 20 / 1000) 5 ms before next write 276 | NFC_WRITE_DELAY=20 277 | 278 | ############################################################################### 279 | # Configure the default NfcA/IsoDep techology and protocol route. Can be 280 | # either a secure element (e.g. 0xF4) or the host (0x00) 281 | DEFAULT_ISODEP_ROUTE=0xF3 282 | 283 | ############################################################################### 284 | # Configure the default "off-host" AID route. The default is 0xF4 285 | DEFAULT_OFFHOST_ROUTE=0xF4 286 | 287 | POWER_SAVER_WORKAROUND_1=0xF3 288 | 289 | PRESENCE_CHECK_ALGORITHM=1 290 | 291 | AID_MATCHING_MODE=2 292 | AUTO_ADJUST_ISO_BITRATE=1 293 | 294 | # NCI Hal Module name 295 | NCI_HAL_MODULE="nfc_nci.pn54x" 296 | -------------------------------------------------------------------------------- /configs/libnfc-nxp.conf: -------------------------------------------------------------------------------- 1 | ## This file is used by NFC NXP NCI HAL(external/libnfc-nci/halimpl/pn547) 2 | ## and NFC Service Java Native Interface Extensions (packages/apps/Nfc/nci/jni/extns/pn547) 3 | 4 | ############################################################################### 5 | # Application options 6 | # Logging Levels 7 | # NXPLOG_DEFAULT_LOGLEVEL 0x01 8 | # ANDROID_LOG_DEBUG 0x03 9 | # ANDROID_LOG_WARN 0x02 10 | # ANDROID_LOG_ERROR 0x01 11 | # ANDROID_LOG_SILENT 0x00 12 | # 13 | NXPLOG_EXTNS_LOGLEVEL=0x02 14 | NXPLOG_NCIHAL_LOGLEVEL=0x02 15 | NXPLOG_NCIX_LOGLEVEL=0x02 16 | NXPLOG_NCIR_LOGLEVEL=0x02 17 | NXPLOG_FWDNLD_LOGLEVEL=0x02 18 | NXPLOG_TML_LOGLEVEL=0x02 19 | 20 | ############################################################################### 21 | # Extension for Mifare reader enable 22 | # 0x00 - Disabled 23 | # 0x01 - Enabled 24 | MIFARE_READER_ENABLE=0x01 25 | 26 | ############################################################################### 27 | # File location for Firmware 28 | #FW_STORAGE="/vendor/firmware/libpn547_fw.so" 29 | 30 | ############################################################################### 31 | # Nfc Device Node name 32 | NXP_NFC_DEV_NODE="/dev/pn547" 33 | 34 | ############################################################################### 35 | # File name for Firmware 36 | NXP_FW_NAME="libpn547_fw.so" 37 | 38 | ############################################################################### 39 | # System clock source selection configuration 40 | # CLK_SRC_XTAL - 0x01 41 | # CLK_SRC_PLL - 0x02 42 | NXP_SYS_CLK_SRC_SEL=0x02 43 | 44 | ############################################################################### 45 | # System clock frequency selection configuration for PLL 46 | # CLK_FREQ_13MHZ - 0x01 47 | # CLK_FREQ_19_2MHZ - 0x02 48 | # CLK_FREQ_24MHZ - 0x03 49 | # CLK_FREQ_26MHZ - 0x04 50 | # CLK_FREQ_38_4MHZ - 0x05 51 | # CLK_FREQ_52MHZ - 0x06 52 | NXP_SYS_CLK_FREQ_SEL=0x02 53 | 54 | ############################################################################### 55 | # The timeout value to be used for clock request acknowledgment 56 | # min value = 0x01 to max = 0x0A 57 | NXP_SYS_CLOCK_TO_CFG=0x0A 58 | 59 | ############################################################################### 60 | # NXP proprietary settings 61 | NXP_ACT_PROP_EXTN={2F, 02, 00} 62 | 63 | ############################################################################### 64 | # NFC forum profile settings 65 | NXP_NFC_PROFILE_EXTN={20, 02, 05, 01, A0, 44, 01, 00} 66 | 67 | ############################################################################### 68 | # Standby enable settings 69 | # 0x00 - Disabled 70 | # 0x01 - Enabled 71 | NXP_CORE_STANDBY={2F, 00, 01, 01} 72 | 73 | 74 | ############################################################################### 75 | # NXP RF ALM (NO BOOSTER) configuration settings for FW VERSION = 08.01.15 76 | ############################################################################### 77 | # A0, 0D, 03, 00, 40, 02 RF_CLIF_BOOT CLIF_ANA_NFCLD_REG 78 | # A0, 0D, 03, 04, 43, 20 RF_CLIF_CFG_INITIATOR CLIF_ANA_PBF_CONTROL_REG 79 | # A0, 0D, 03, 04, FF, 05 RF_CLIF_CFG_INITIATOR SMU_PMU_REG (0x40024010) 80 | # A0, 0D, 06, 06, 44, A3, 90, 03, 00 RF_CLIF_CFG_TARGET CLIF_ANA_RX_REG 81 | # A0, 0D, 06, 06, 30, CF, 00, 08, 00 RF_CLIF_CFG_TARGET CLIF_SIGPRO_ADCBCM_THRESHOLD_REG 82 | # A0, 0D, 06, 06, 2F, 8F, 05, 80, 0C RF_CLIF_CFG_TARGET CLIF_SIGPRO_ADCBCM_CONFIG_REG 83 | # A0, 0D, 04, 06, 03, 00, 6E RF_CLIF_CFG_TARGET CLIF_TRANSCEIVE_CONTROL_REG 84 | # A0, 0D, 03, 06, 48, 1F RF_CLIF_CFG_TARGET CLIF_ANA_CLK_MAN_REG 85 | # A0, 0D, 03, 06, 43, A0 RF_CLIF_CFG_TARGET CLIF_ANA_PBF_CONTROL_REG 86 | # A0, 0D, 06, 06, 42, 00, 00, FF, FF RF_CLIF_CFG_TARGET CLIF_ANA_TX_AMPLITUDE_REG 87 | # A0, 0D, 06, 06, 41, 80, 00, 00, 00 RF_CLIF_CFG_TARGET CLIF_ANA_TX_CLK_CONTROL_REG 88 | # A0, 0D, 03, 06, 37, 18 RF_CLIF_CFG_TARGET CLIF_TX_CONTROL_REG 89 | # A0, 0D, 03, 06, 16, 00 RF_CLIF_CFG_TARGET CLIF_TX_UNDERSHOOT_CONFIG_REG 90 | # A0, 0D, 03, 06, 15, 00 RF_CLIF_CFG_TARGET CLIF_TX_OVERSHOOT_CONFIG_REG 91 | # A0, 0D, 06, 06, FF, 05, 00, 00, 00 RF_CLIF_CFG_TARGET SMU_PMU_REG (0x40024010) 92 | # A0, 0D, 06, 08, 44, 00, 00, 00, 00 RF_CLIF_CFG_I_PASSIVE CLIF_ANA_RX_REG 93 | # A0, 0D, 06, 20, 4A, 00, 00, 00, 00 RF_CLIF_CFG_TECHNO_I_TX15693CLIF_ANA_TX_SHAPE_CONTROL_REG 94 | # A0, 0D, 06, 20, 42, 88, 10, FF, FF RF_CLIF_CFG_TECHNO_I_TX15693CLIF_ANA_TX_AMPLITUDE_REG 95 | # A0, 0D, 03, 20, 16, 00 RF_CLIF_CFG_TECHNO_I_TX15693CLIF_TX_UNDERSHOOT_CONFIG_REG 96 | # A0, 0D, 03, 20, 15, 00 RF_CLIF_CFG_TECHNO_I_TX15693CLIF_TX_OVERSHOOT_CONFIG_REG 97 | # A0, 0D, 06, 22, 44, 22, 00, 02, 00 RF_CLIF_CFG_TECHNO_I_RX15693CLIF_ANA_RX_REG 98 | # A0, 0D, 06, 22, 2D, 50, 44, 0C, 00 RF_CLIF_CFG_TECHNO_I_RX15693CLIF_SIGPRO_RM_CONFIG1_REG 99 | # A0, 0D, 04, 32, 03, 40, 3D RF_CLIF_CFG_BR_106_I_TXA CLIF_TRANSCEIVE_CONTROL_REG 100 | # A0, 0D, 06, 32, 42, F8, 10, FF, FF RF_CLIF_CFG_BR_106_I_TXA CLIF_ANA_TX_AMPLITUDE_REG 101 | # A0, 0D, 03, 32, 16, 00 RF_CLIF_CFG_BR_106_I_TXA CLIF_TX_UNDERSHOOT_CONFIG_REG 102 | # A0, 0D, 03, 32, 15, 01 RF_CLIF_CFG_BR_106_I_TXA CLIF_TX_OVERSHOOT_CONFIG_REG 103 | # A0, 0D, 03, 32, 0D, 22 RF_CLIF_CFG_BR_106_I_TXA CLIF_TX_DATA_MOD_REG 104 | # A0, 0D, 03, 32, 14, 22 RF_CLIF_CFG_BR_106_I_TXA CLIF_TX_SYMBOL23_MOD_REG 105 | # A0, 0D, 06, 32, 4A, 30, 0F, 01, 1F RF_CLIF_CFG_BR_106_I_TXA CLIF_ANA_TX_SHAPE_CONTROL_REG 106 | # A0, 0D, 06, 34, 2D, 24, 77, 0C, 00 RF_CLIF_CFG_BR_106_I_RXA_P CLIF_SIGPRO_RM_CONFIG1_REG 107 | # A0, 0D, 06, 34, 44, 21, 00, 02, 00 RF_CLIF_CFG_BR_106_I_RXA_P CLIF_ANA_RX_REG 108 | # A0, 0D, 06, 35, 44, 21, 00, 02, 00 RF_CLIF_CFG_BR_106_I_RXA_P CLIF_ANA_RX_REG 109 | # A0, 0D, 06, 38, 4A, 53, 07, 01, 1B RF_CLIF_CFG_BR_212_I_TXA CLIF_ANA_TX_SHAPE_CONTROL_REG 110 | # A0, 0D, 06, 38, 42, 68, 10, FF, FF RF_CLIF_CFG_BR_212_I_TXA CLIF_ANA_TX_AMPLITUDE_REG 111 | # A0, 0D, 03, 38, 16, 00 RF_CLIF_CFG_BR_212_I_TXA CLIF_TX_UNDERSHOOT_CONFIG_REG 112 | # A0, 0D, 03, 38, 15, 00 RF_CLIF_CFG_BR_212_I_TXA CLIF_TX_OVERSHOOT_CONFIG_REG 113 | # A0, 0D, 06, 3A, 2D, 15, 47, 0D, 00 RF_CLIF_CFG_BR_212_I_RXA CLIF_SIGPRO_RM_CONFIG1_REG 114 | # A0, 0D, 06, 3C, 4A, 52, 07, 01, 1B RF_CLIF_CFG_BR_424_I_TXA CLIF_ANA_TX_SHAPE_CONTROL_REG 115 | # A0, 0D, 06, 3C, 42, 68, 10, FF, FF RF_CLIF_CFG_BR_424_I_TXA CLIF_ANA_TX_AMPLITUDE_REG 116 | # A0, 0D, 03, 3C, 16, 00 RF_CLIF_CFG_BR_424_I_TXA CLIF_TX_UNDERSHOOT_CONFIG_REG 117 | # A0, 0D, 03, 3C, 15, 00 RF_CLIF_CFG_BR_424_I_TXA CLIF_TX_OVERSHOOT_CONFIG_REG 118 | # A0, 0D, 06, 3E, 2D, 15, 47, 0D, 00 RF_CLIF_CFG_BR_424_I_RXA CLIF_SIGPRO_RM_CONFIG1_REG 119 | # A0, 0D, 06, 40, 42, F0, 10, FF, FF RF_CLIF_CFG_BR_848_I_TXA CLIF_ANA_TX_AMPLITUDE_REG 120 | # A0, 0D, 03, 40, 0D, 02 RF_CLIF_CFG_BR_848_I_TXA CLIF_TX_DATA_MOD_REG 121 | # A0, 0D, 03, 40, 14, 02 RF_CLIF_CFG_BR_848_I_TXA CLIF_TX_SYMBOL23_MOD_REG 122 | # A0, 0D, 06, 40, 4A, 12, 07, 00, 00 RF_CLIF_CFG_BR_848_I_TXA CLIF_ANA_TX_SHAPE_CONTROL_REG 123 | # A0, 0D, 03, 40, 16, 00 RF_CLIF_CFG_BR_848_I_TXA CLIF_TX_UNDERSHOOT_CONFIG_REG 124 | # A0, 0D, 03, 40, 15, 00 RF_CLIF_CFG_BR_848_I_TXA CLIF_TX_OVERSHOOT_CONFIG_REG 125 | # A0, 0D, 06, 42, 2D, 15, 47, 0D, 00 RF_CLIF_CFG_BR_848_I_RXA CLIF_SIGPRO_RM_CONFIG1_REG 126 | # A0, 0D, 06, 46, 44, 21, 00, 02, 00 RF_CLIF_CFG_BR_106_I_RXB CLIF_ANA_RX_REG 127 | # A0, 0D, 06, 46, 2D, 05, 47, 0E, 00 RF_CLIF_CFG_BR_106_I_RXB CLIF_SIGPRO_RM_CONFIG1_REG 128 | # A0, 0D, 06, 44, 4A, 33, 07, 01, 07 RF_CLIF_CFG_BR_106_I_TXB CLIF_ANA_TX_SHAPE_CONTROL_REG 129 | # A0, 0D, 06, 44, 42, 88, 10, FF, FF RF_CLIF_CFG_BR_106_I_TXB CLIF_ANA_TX_AMPLITUDE_REG 130 | # A0, 0D, 03, 44, 16, 00 RF_CLIF_CFG_BR_106_I_TXB CLIF_TX_UNDERSHOOT_CONFIG_REG 131 | # A0, 0D, 03, 44, 15, 00 RF_CLIF_CFG_BR_106_I_TXB CLIF_TX_OVERSHOOT_CONFIG_REG 132 | # A0, 0D, 06, 4A, 44, 22, 00, 02, 00 RF_CLIF_CFG_BR_212_I_RXB CLIF_ANA_RX_REG 133 | # A0, 0D, 06, 4A, 2D, 05, 37, 0C, 00 RF_CLIF_CFG_BR_212_I_RXB CLIF_SIGPRO_RM_CONFIG1_REG 134 | # A0, 0D, 06, 48, 4A, 33, 07, 01, 07 RF_CLIF_CFG_BR_212_I_TXB CLIF_ANA_TX_SHAPE_CONTROL_REG 135 | # A0, 0D, 06, 48, 42, 88, 10, FF, FF RF_CLIF_CFG_BR_212_I_TXB CLIF_ANA_TX_AMPLITUDE_REG 136 | # A0, 0D, 03, 48, 16, 00 RF_CLIF_CFG_BR_212_I_TXB CLIF_TX_UNDERSHOOT_CONFIG_REG 137 | # A0, 0D, 03, 48, 15, 00 RF_CLIF_CFG_BR_212_I_TXB CLIF_TX_OVERSHOOT_CONFIG_REG 138 | # A0, 0D, 06, 4E, 44, 22, 00, 02, 00 RF_CLIF_CFG_BR_424_I_RXB CLIF_ANA_RX_REG 139 | # A0, 0D, 06, 4E, 2D, 05, 37, 0C, 00 RF_CLIF_CFG_BR_424_I_RXB CLIF_SIGPRO_RM_CONFIG1_REG 140 | # A0, 0D, 06, 4C, 4A, 33, 07, 01, 07 RF_CLIF_CFG_BR_424_I_TXB CLIF_ANA_TX_SHAPE_CONTROL_REG 141 | # A0, 0D, 06, 4C, 42, 88, 10, FF, FF RF_CLIF_CFG_BR_424_I_TXB CLIF_ANA_TX_AMPLITUDE_REG 142 | # A0, 0D, 03, 4C, 16, 00 RF_CLIF_CFG_BR_424_I_TXB CLIF_TX_UNDERSHOOT_CONFIG_REG 143 | # A0, 0D, 03, 4C, 15, 00 RF_CLIF_CFG_BR_424_I_TXB CLIF_TX_OVERSHOOT_CONFIG_REG 144 | # A0, 0D, 06, 52, 44, 22, 00, 02, 00 RF_CLIF_CFG_BR_848_I_RXB CLIF_ANA_RX_REG 145 | # A0, 0D, 06, 52, 2D, 05, 25, 0C, 00 RF_CLIF_CFG_BR_848_I_RXB CLIF_SIGPRO_RM_CONFIG1_REG 146 | # A0, 0D, 06, 50, 42, 90, 10, FF, FF RF_CLIF_CFG_BR_848_I_TXB CLIF_ANA_TX_AMPLITUDE_REG 147 | # A0, 0D, 06, 50, 4A, 11, 0F, 01, 07 RF_CLIF_CFG_BR_848_I_TXB CLIF_ANA_TX_SHAPE_CONTROL_REG 148 | # A0, 0D, 03, 50, 16, 00 RF_CLIF_CFG_BR_848_I_TXB CLIF_TX_UNDERSHOOT_CONFIG_REG 149 | # A0, 0D, 03, 50, 15, 00 RF_CLIF_CFG_BR_848_I_TXB CLIF_TX_OVERSHOOT_CONFIG_REG 150 | # A0, 0D, 06, 56, 2D, 05, 9E, 0C, 00 RF_CLIF_CFG_BR_212_I_RXF_P CLIF_SIGPRO_RM_CONFIG1_REG 151 | # A0, 0D, 06, 56, 44, 22, 00, 02, 00 RF_CLIF_CFG_BR_212_I_RXF_P CLIF_ANA_RX_REG 152 | # A0, 0D, 06, 5C, 2D, 05, 69, 0C, 00 RF_CLIF_CFG_BR_424_I_RXF_P CLIF_SIGPRO_RM_CONFIG1_REG 153 | # A0, 0D, 06, 5C, 44, 21, 00, 02, 00 RF_CLIF_CFG_BR_424_I_RXF_P CLIF_ANA_RX_REG 154 | # A0, 0D, 06, 54, 42, 88, 10, FF, FF RF_CLIF_CFG_BR_212_I_TXF CLIF_ANA_TX_AMPLITUDE_REG 155 | # A0, 0D, 06, 54, 4A, 33, 07, 01, 07 RF_CLIF_CFG_BR_212_I_TXF CLIF_ANA_TX_SHAPE_CONTROL_REG 156 | # A0, 0D, 03, 54, 16, 00 RF_CLIF_CFG_BR_212_I_TXF CLIF_TX_UNDERSHOOT_CONFIG_REG 157 | # A0, 0D, 03, 54, 15, 00 RF_CLIF_CFG_BR_212_I_TXF CLIF_TX_OVERSHOOT_CONFIG_REG 158 | # A0, 0D, 06, 5A, 42, 90, 10, FF, FF RF_CLIF_CFG_BR_424_I_TXF CLIF_ANA_TX_AMPLITUDE_REG 159 | # A0, 0D, 06, 5A, 4A, 31, 07, 01, 07 RF_CLIF_CFG_BR_424_I_TXF CLIF_ANA_TX_SHAPE_CONTROL_REG 160 | # A0, 0D, 03, 5A, 16, 00 RF_CLIF_CFG_BR_424_I_TXF CLIF_TX_UNDERSHOOT_CONFIG_REG 161 | # A0, 0D, 03, 5A, 15, 00 RF_CLIF_CFG_BR_424_I_TXF CLIF_TX_OVERSHOOT_CONFIG_REG 162 | # A0, 0D, 06, 98, 2F, AF, 05, 80, 0F RF_CLIF_GTM_B CLIF_SIGPRO_ADCBCM_CONFIG_REG 163 | # A0, 0D, 06, 9A, 42, 00, 00, FF, FF RF_CLIF_GTM_FELICA CLIF_ANA_TX_AMPLITUDE_REG 164 | # A0, 0D, 06, 30, 44, A3, 90, 03, 00 RF_CLIF_CFG_TECHNO_T_RXF CLIF_ANA_RX_REG 165 | # A0, 0D, 06, 6C, 44, A3, 90, 03, 00 RF_CLIF_CFG_BR_106_T_RXA CLIF_ANA_RX_REG 166 | # A0, 0D, 06, 6C, 30, CF, 00, 08, 00 RF_CLIF_CFG_BR_106_T_RXA CLIF_SIGPRO_ADCBCM_THRESHOLD_REG 167 | # A0, 0D, 06, 6C, 2F, 8F, 05, 80, 0C RF_CLIF_CFG_BR_106_T_RXA CLIF_SIGPRO_ADCBCM_CONFIG_REG 168 | # A0, 0D, 06, 70, 2F, 8F, 05, 80, 12 RF_CLIF_CFG_BR_212_T_RXA CLIF_SIGPRO_ADCBCM_CONFIG_REG 169 | # A0, 0D, 06, 70, 30, CF, 00, 08, 00 RF_CLIF_CFG_BR_212_T_RXA CLIF_SIGPRO_ADCBCM_THRESHOLD_REG 170 | # A0, 0D, 06, 74, 2F, 8F, 05, 80, 12 RF_CLIF_CFG_BR_424_T_RXA CLIF_SIGPRO_ADCBCM_CONFIG_REG 171 | # A0, 0D, 06, 74, 30, DF, 00, 07, 00 RF_CLIF_CFG_BR_424_T_RXA CLIF_SIGPRO_ADCBCM_THRESHOLD_REG 172 | # A0, 0D, 06, 78, 2F, 1F, 06, 80, 01 RF_CLIF_CFG_BR_848_T_RXA CLIF_SIGPRO_ADCBCM_CONFIG_REG 173 | # A0, 0D, 06, 78, 30, 3F, 00, 04, 00 RF_CLIF_CFG_BR_848_T_RXA CLIF_SIGPRO_ADCBCM_THRESHOLD_REG 174 | # A0, 0D, 06, 78, 44, A2, 90, 03, 00 RF_CLIF_CFG_BR_848_T_RXA CLIF_ANA_RX_REG 175 | # A0, 0D, 03, 78, 47, 00 RF_CLIF_CFG_BR_848_T_RXA CLIF_ANA_AGC_REG 176 | # A0, 0D, 06, 7C, 2F, AF, 05, 80, 0F RF_CLIF_CFG_BR_106_T_RXB CLIF_SIGPRO_ADCBCM_CONFIG_REG 177 | # A0, 0D, 06, 7C, 30, CF, 00, 07, 00 RF_CLIF_CFG_BR_106_T_RXB CLIF_SIGPRO_ADCBCM_THRESHOLD_REG 178 | # A0, 0D, 06, 7C, 44, A3, 90, 03, 00 RF_CLIF_CFG_BR_106_T_RXB CLIF_ANA_RX_REG 179 | # A0, 0D, 06, 7D, 30, CF, 00, 08, 00 RF_CLIF_CFG_BR_106_T_RXB CLIF_SIGPRO_ADCBCM_THRESHOLD_REG 180 | # A0, 0D, 06, 80, 2F, AF, 05, 80, 90 RF_CLIF_CFG_BR_212_T_RXB CLIF_SIGPRO_ADCBCM_CONFIG_REG 181 | # A0, 0D, 06, 80, 44, A3, 90, 03, 00 RF_CLIF_CFG_BR_212_T_RXB CLIF_ANA_RX_REG 182 | # A0, 0D, 06, 84, 2F, AF, 05, 80, 92 RF_CLIF_CFG_BR_424_T_RXB CLIF_SIGPRO_ADCBCM_CONFIG_REG 183 | # A0, 0D, 06, 84, 44, A3, 90, 03, 00 RF_CLIF_CFG_BR_424_T_RXB CLIF_ANA_RX_REG 184 | # A0, 0D, 06, 88, 2F, 7F, 04, 80, 10 RF_CLIF_CFG_BR_848_T_RXB CLIF_SIGPRO_ADCBCM_CONFIG_REG 185 | # A0, 0D, 06, 88, 30, 5F, 00, 16, 00 RF_CLIF_CFG_BR_848_T_RXB CLIF_SIGPRO_ADCBCM_THRESHOLD_REG 186 | # A0, 0D, 03, 88, 47, 00 RF_CLIF_CFG_BR_848_T_RXB CLIF_ANA_AGC_REG 187 | # A0, 0D, 06, 88, 44, A1, 90, 03, 00 RF_CLIF_CFG_BR_848_T_RXB CLIF_ANA_RX_REG 188 | # A0, 0D, 03, 0C, 48, 1F RF_CLIF_CFG_T_PASSIVE CLIF_ANA_CLK_MAN_REG 189 | # A0, 0D, 03, 10, 43, 20 RF_CLIF_CFG_T_ACTIVE CLIF_ANA_PBF_CONTROL_REG 190 | # A0, 0D, 06, 6A, 42, F8, 10, FF, FF RF_CLIF_CFG_BR_106_T_TXA_A CLIF_ANA_TX_AMPLITUDE_REG 191 | # A0, 0D, 03, 6A, 16, 00 RF_CLIF_CFG_BR_106_T_TXA_A CLIF_TX_UNDERSHOOT_CONFIG_REG 192 | # A0, 0D, 03, 6A, 15, 01 RF_CLIF_CFG_BR_106_T_TXA_A CLIF_TX_OVERSHOOT_CONFIG_REG 193 | # A0, 0D, 06, 6A, 4A, 30, 0F, 01, 1F RF_CLIF_CFG_BR_106_T_TXA_A CLIF_ANA_TX_SHAPE_CONTROL_REG 194 | # A0, 0D, 06, 8C, 42, 88, 10, FF, FF RF_CLIF_CFG_BR_212_T_TXF_A CLIF_ANA_TX_AMPLITUDE_REG 195 | # A0, 0D, 06, 8C, 4A, 33, 07, 01, 07 RF_CLIF_CFG_BR_212_T_TXF_A CLIF_ANA_TX_SHAPE_CONTROL_REG 196 | # A0, 0D, 03, 8C, 16, 00 RF_CLIF_CFG_BR_212_T_TXF_A CLIF_TX_UNDERSHOOT_CONFIG_REG 197 | # A0, 0D, 03, 8C, 15, 00 RF_CLIF_CFG_BR_212_T_TXF_A CLIF_TX_OVERSHOOT_CONFIG_REG 198 | # A0, 0D, 06, 92, 42, 90, 10, FF, FF RF_CLIF_CFG_BR_424_T_TXF_A CLIF_ANA_TX_AMPLITUDE_REG 199 | # A0, 0D, 06, 92, 4A, 31, 07, 01, 07 RF_CLIF_CFG_BR_424_T_TXF_A CLIF_ANA_TX_SHAPE_CONTROL_REG 200 | # A0, 0D, 03, 92, 16, 00 RF_CLIF_CFG_BR_424_T_TXF_A CLIF_TX_UNDERSHOOT_CONFIG_REG 201 | # A0, 0D, 03, 92, 15, 00 RF_CLIF_CFG_BR_424_T_TXF_A CLIF_TX_OVERSHOOT_CONFIG_REG 202 | # A0, 0D, 06, 0A, 30, CF, 00, 08, 00 RF_CLIF_CFG_I_ACTIVE CLIF_SIGPRO_ADCBCM_THRESHOLD_REG 203 | # A0, 0D, 06, 0A, 2F, 8F, 05, 80, 0C RF_CLIF_CFG_I_ACTIVE CLIF_SIGPRO_ADCBCM_CONFIG_REG 204 | # A0, 0D, 03, 0A, 48, 10 RF_CLIF_CFG_I_ACTIVE CLIF_ANA_CLK_MAN_REG 205 | # A0, 0D, 06, 0A, 44, A3, 90, 03, 00 RF_CLIF_CFG_I_ACTIVE CLIF_ANA_RX_REG 206 | 207 | # *** ALM(NO BOOSTER) FW VERSION = 08.01.15 *** 208 | NXP_RF_CONF_BLK_1={ 209 | 20, 02, F3, 20, 210 | A0, 0D, 03, 00, 40, 03, 211 | A0, 0D, 03, 04, 43, 20, 212 | A0, 0D, 03, 04, FF, 05, 213 | A0, 0D, 06, 06, 44, A3, 90, 03, 00, 214 | A0, 0D, 06, 06, 30, CF, 00, 08, 00, 215 | A0, 0D, 06, 06, 2F, 8F, 05, 80, 0C, 216 | A0, 0D, 04, 06, 03, 00, 71, 217 | A0, 0D, 03, 06, 48, 18, 218 | A0, 0D, 03, 06, 43, A0, 219 | A0, 0D, 06, 06, 42, 00, 00, F1, F6, 220 | A0, 0D, 06, 06, 41, 80, 00, 00, 00, 221 | A0, 0D, 03, 06, 37, 18, 222 | A0, 0D, 03, 06, 16, 00, 223 | A0, 0D, 03, 06, 15, 00, 224 | A0, 0D, 06, 06, FF, 05, 00, 00, 00, 225 | A0, 0D, 06, 08, 44, 00, 00, 00, 00, 226 | A0, 0D, 06, 20, 4A, 00, 00, 00, 00, 227 | A0, 0D, 06, 20, 42, 88, 10, FF, FF, 228 | A0, 0D, 03, 20, 16, 00, 229 | A0, 0D, 03, 20, 15, 00, 230 | A0, 0D, 06, 22, 44, 22, 00, 02, 00, 231 | A0, 0D, 06, 22, 2D, 50, 44, 0C, 00, 232 | A0, 0D, 04, 32, 03, 40, 3D, 233 | A0, 0D, 06, 32, 42, F8, 10, FF, FF, 234 | A0, 0D, 03, 32, 16, 00, 235 | A0, 0D, 03, 32, 15, 01, 236 | A0, 0D, 03, 32, 0D, 22, 237 | A0, 0D, 03, 32, 14, 22, 238 | A0, 0D, 06, 32, 4A, 30, 0F, 01, 1F, 239 | A0, 0D, 06, 34, 2D, 24, 77, 0C, 00, 240 | A0, 0D, 06, 34, 44, 21, 00, 02, 00, 241 | A0, 0D, 06, 35, 44, 21, 00, 02, 00 242 | } 243 | # *** ALM(NO BOOSTER) FW VERSION = 08.01.15 *** 244 | NXP_RF_CONF_BLK_2={ 245 | 20, 02, F4, 1F, 246 | A0, 0D, 06, 38, 4A, 53, 07, 01, 1B, 247 | A0, 0D, 06, 38, 42, 68, 10, FF, FF, 248 | A0, 0D, 03, 38, 16, 00, 249 | A0, 0D, 03, 38, 15, 00, 250 | A0, 0D, 06, 3A, 2D, 15, 47, 0D, 00, 251 | A0, 0D, 06, 3C, 4A, 52, 07, 01, 1B, 252 | A0, 0D, 06, 3C, 42, 68, 10, FF, FF, 253 | A0, 0D, 03, 3C, 16, 00, 254 | A0, 0D, 03, 3C, 15, 00, 255 | A0, 0D, 06, 3E, 2D, 15, 47, 0D, 00, 256 | A0, 0D, 06, 40, 42, F0, 10, FF, FF, 257 | A0, 0D, 03, 40, 0D, 02, 258 | A0, 0D, 03, 40, 14, 02, 259 | A0, 0D, 06, 40, 4A, 12, 07, 00, 00, 260 | A0, 0D, 03, 40, 16, 00, 261 | A0, 0D, 03, 40, 15, 00, 262 | A0, 0D, 06, 42, 2D, 15, 47, 0D, 00, 263 | A0, 0D, 06, 46, 44, 21, 00, 02, 00, 264 | A0, 0D, 06, 46, 2D, 05, 47, 0E, 00, 265 | A0, 0D, 06, 44, 4A, 33, 07, 01, 07, 266 | A0, 0D, 06, 44, 42, 88, 10, FF, FF, 267 | A0, 0D, 03, 44, 16, 00, 268 | A0, 0D, 03, 44, 15, 00, 269 | A0, 0D, 06, 4A, 44, 22, 00, 02, 00, 270 | A0, 0D, 06, 4A, 2D, 05, 37, 0C, 00, 271 | A0, 0D, 06, 48, 4A, 33, 07, 01, 07, 272 | A0, 0D, 06, 48, 42, 88, 10, FF, FF, 273 | A0, 0D, 03, 48, 16, 00, 274 | A0, 0D, 03, 48, 15, 00, 275 | A0, 0D, 06, 4E, 44, 22, 00, 02, 00, 276 | A0, 0D, 06, 4E, 2D, 05, 37, 0C, 00 277 | } 278 | # *** ALM(NO BOOSTER) FW VERSION = 08.01.15 *** 279 | NXP_RF_CONF_BLK_3={ 280 | 20, 02, F7, 1E, 281 | A0, 0D, 06, 4C, 4A, 33, 07, 01, 07, 282 | A0, 0D, 06, 4C, 42, 88, 10, FF, FF, 283 | A0, 0D, 03, 4C, 16, 00, 284 | A0, 0D, 03, 4C, 15, 00, 285 | A0, 0D, 06, 52, 44, 22, 00, 02, 00, 286 | A0, 0D, 06, 52, 2D, 05, 25, 0C, 00, 287 | A0, 0D, 06, 50, 42, 90, 10, FF, FF, 288 | A0, 0D, 06, 50, 4A, 11, 0F, 01, 07, 289 | A0, 0D, 03, 50, 16, 00, 290 | A0, 0D, 03, 50, 15, 00, 291 | A0, 0D, 06, 56, 2D, 05, 9E, 0C, 00, 292 | A0, 0D, 06, 56, 44, 22, 00, 02, 00, 293 | A0, 0D, 06, 5C, 2D, 05, 69, 0C, 00, 294 | A0, 0D, 06, 5C, 44, 21, 00, 02, 00, 295 | A0, 0D, 06, 54, 42, 88, 10, FF, FF, 296 | A0, 0D, 06, 54, 4A, 33, 07, 01, 07, 297 | A0, 0D, 03, 54, 16, 00, 298 | A0, 0D, 03, 54, 15, 00, 299 | A0, 0D, 06, 5A, 42, 90, 10, FF, FF, 300 | A0, 0D, 06, 5A, 4A, 31, 07, 01, 07, 301 | A0, 0D, 03, 5A, 16, 00, 302 | A0, 0D, 03, 5A, 15, 00, 303 | A0, 0D, 06, 98, 2F, AF, 05, 80, 0F, 304 | A0, 0D, 06, 9A, 42, 00, 00, F1, F6, 305 | A0, 0D, 06, 30, 44, A3, 90, 03, 00, 306 | A0, 0D, 06, 6C, 44, A3, 90, 03, 00, 307 | A0, 0D, 06, 6C, 30, CF, 00, 08, 00, 308 | A0, 0D, 06, 6C, 2F, 8F, 05, 80, 0C, 309 | A0, 0D, 06, 70, 2F, 8F, 05, 80, 12, 310 | A0, 0D, 06, 70, 30, CF, 00, 08, 00 311 | } 312 | # *** ALM(NO BOOSTER) FW VERSION = 08.01.15 *** 313 | NXP_RF_CONF_BLK_4={ 314 | 20, 02, F7, 1E, 315 | A0, 0D, 06, 74, 2F, 8F, 05, 80, 12, 316 | A0, 0D, 06, 74, 30, DF, 00, 07, 00, 317 | A0, 0D, 06, 78, 2F, 1F, 06, 80, 01, 318 | A0, 0D, 06, 78, 30, 3F, 00, 04, 00, 319 | A0, 0D, 06, 78, 44, A2, 90, 03, 00, 320 | A0, 0D, 03, 78, 47, 00, 321 | A0, 0D, 06, 7C, 2F, AF, 05, 80, 0F, 322 | A0, 0D, 06, 7C, 30, CF, 00, 07, 00, 323 | A0, 0D, 06, 7C, 44, A3, 90, 03, 00, 324 | A0, 0D, 06, 7D, 30, CF, 00, 08, 00, 325 | A0, 0D, 06, 80, 2F, AF, 05, 80, 90, 326 | A0, 0D, 06, 80, 44, A3, 90, 03, 00, 327 | A0, 0D, 06, 84, 2F, AF, 05, 80, 92, 328 | A0, 0D, 06, 84, 44, A3, 90, 03, 00, 329 | A0, 0D, 06, 88, 2F, 7F, 04, 80, 10, 330 | A0, 0D, 06, 88, 30, 5F, 00, 16, 00, 331 | A0, 0D, 03, 88, 47, 00, 332 | A0, 0D, 06, 88, 44, A1, 90, 03, 00, 333 | A0, 0D, 03, 0C, 48, 18, 334 | A0, 0D, 03, 10, 43, 20, 335 | A0, 0D, 06, 6A, 42, F8, 10, FF, FF, 336 | A0, 0D, 03, 6A, 16, 00, 337 | A0, 0D, 03, 6A, 15, 01, 338 | A0, 0D, 06, 6A, 4A, 30, 0F, 01, 1F, 339 | A0, 0D, 06, 8C, 42, 88, 10, FF, FF, 340 | A0, 0D, 06, 8C, 4A, 33, 07, 01, 07, 341 | A0, 0D, 03, 8C, 16, 00, 342 | A0, 0D, 03, 8C, 15, 00, 343 | A0, 0D, 06, 92, 42, 90, 10, FF, FF, 344 | A0, 0D, 06, 92, 4A, 31, 07, 01, 07 345 | } 346 | 347 | ############################################################################### 348 | # Core configuration extensions 349 | # It includes 350 | # A002 - Clock Request 351 | # 0x00 - Disabled 352 | # 0x01 - Enabled 353 | # A003 - Clock Selection 354 | # Please refer to User Manual 355 | # A004 - Clock Time Out 356 | # Defined in ms 357 | # A00E - Load Modulation Mode 358 | # 0x00 - PLM 359 | # 0x01 - ALM 360 | # A011 - Clock specific configuration 361 | # Please refer to User Manual 362 | # A012 - NFCEE interface 2 configuration 363 | # 0x00 - SWP 2 interface is used 364 | # 0x02 - DWP interface is used 365 | # A013 - TVdd configuration 366 | # 0x00 - TVdd is set to 3.1V in Poll mode 367 | # 0x02 - TVdd is set to 2.7V in Poll mode 368 | # A040-A043 - Low Power Card Detector 369 | # Please refer to Application Note of LPCD 370 | # A05E - Jewel Reader 371 | # 0x00 - RID is not sent during activation 372 | # 0x01 - RID is sent during activation 373 | # A061 - Retry after LPCD 374 | # 0b0000XXXX - Number of retry if activation failed 375 | # 0bXXXX0000 - Duration to wait before retry (10ms per step) 376 | # Please refer to User Manual 377 | # A0CD - SWP interface 1: S1 line behavior 378 | # Defined S1 High time-out during Activation sequence 379 | # A0EC - SWP1 interface 380 | # 0x00 - Disabled 381 | # 0x01 - Enabled 382 | # A0ED - SWP2 interface 383 | # 0x00 - Disabled 384 | # 0x01 - Enabled 385 | NXP_CORE_CONF_EXTN={20, 02, 40, 0F, 386 | A0, 02, 01, 01, 387 | A0, 04, 01, 0A, 388 | A0, 0E, 01, 01, 389 | A0, 11, 04, 01, 22, 67, CD, 390 | A0, 12, 01, 00, 391 | A0, 13, 01, 00, 392 | A0, 40, 01, 01, 393 | A0, 41, 01, 02, 394 | A0, 42, 01, 19, 395 | A0, 43, 01, 00, 396 | A0, 5E, 01, 01, 397 | A0, 61, 01, 00, 398 | A0, CD, 01, 0F, 399 | A0, EC, 01, 01, 400 | A0, ED, 01, 00 401 | } 402 | 403 | ############################################################################### 404 | # Core configuration settings 405 | # It includes 406 | # 18 - Poll Mode NFC-F: PF_BIT_RATE 407 | # 21 - Poll Mode ISO-DEP: PI_BIT_RATE 408 | # 28 - Poll Mode NFC-DEP: PN_NFC_DEP_SPEED 409 | # 30 - Lis. Mode NFC-A: LA_BIT_FRAME_SDD 410 | # 31 - Lis. Mode NFC-A: LA_PLATFORM_CONFIG 411 | # 33 - Lis. Mode NFC-A: LA_SEL_INFO 412 | # 50 - Lis. Mode NFC-F: LF_PROTOCOL_TYPE 413 | # 54 - Lis. Mode NFC-F: LF_CON_BITR_F 414 | # 5B - Lis. Mode ISO-DEP: LI_BIT_RATE 415 | # 60 - Lis. Mode NFC-DEP: LN_WT 416 | # 80 - Other Param.: RF_FIELD_INFO 417 | # 81 - Other Param.: RF_NFCEE_ACTION 418 | # 82 - Other Param.: NFCDEP_OP 419 | NXP_CORE_CONF={ 20, 02, 2B, 0D, 420 | 18, 01, 01, 421 | 21, 01, 00, 422 | 28, 01, 01, 423 | 30, 01, 08, 424 | 31, 01, 03, 425 | 33, 04, 01, 02, 03, 04, 426 | 50, 01, 02, 427 | 54, 01, 06, 428 | 5B, 01, 02, 429 | 60, 01, 0E, 430 | 80, 01, 01, 431 | 81, 01, 01, 432 | 82, 01, 0E 433 | } 434 | 435 | ############################################################################### 436 | # Mifare Classic Key settings 437 | #NXP_CORE_MFCKEY_SETTING={20, 02, 25,04, A0, 51, 06, A0, A1, A2, A3, A4, A5, 438 | # A0, 52, 06, D3, F7, D3, F7, D3, F7, 439 | # A0, 53, 06, FF, FF, FF, FF, FF, FF, 440 | # A0, 54, 06, 00, 00, 00, 00, 00, 00} 441 | 442 | ############################################################################### 443 | # Default SE Options 444 | # No secure element 0x00 445 | # eSE 0x01 446 | # UICC 0x02 447 | # MULTI_SE 0x03 448 | NXP_DEFAULT_SE=0x02 449 | 450 | ############################################################################### 451 | NXP_DEFAULT_NFCEE_TIMEOUT=0x06 452 | 453 | ############################################################################### 454 | #Enable SWP full power mode when phone is power off 455 | NXP_SWP_FULL_PWR_ON=0x00 456 | 457 | ############################################################################### 458 | #Chip type 459 | #PN547C2 0x01 460 | #PN65T 0x02 461 | NXP_NFC_CHIP=0x01 462 | --------------------------------------------------------------------------------