1########################### Start of libnf-hal-st_aosp.conf ########################### 2 3############################################################################### 4############################################################################### 5# ST HAL trace log level 6STNFC_HAL_LOGLEVEL=1 7NFC_DEBUG_ENABLED=0 8 9############################################################################### 10# Vendor specific mode to enable FW (RF & SWP) traces. 11STNFC_FW_DEBUG_ENABLED=1 12 13############################################################################### 14# Vendor specific payload size for traces 15STNFC_FW_RF_LOG_SIZE=15 16STNFC_FW_SWP_LOG_SIZE=30 17 18############################################################################### 19# File used for NFA storage 20NFA_STORAGE="/data/nfc" 21 22############################################################################### 23# Keep the nfa storage file. 24PRESERVE_STORAGE=1 25 26############################################################################### 27# In Switch OFF mode (phone switched-off), specify the desired CE mode to 28# the controller. 29# 0: No card-emulation; DEFAULT 30# 1: Switch-off card-emulation enabled 31CE_ON_SWITCH_OFF_STATE=1 32 33############################################################################### 34# Vendor specific mode to support the USB charging mode if VPSIO=1 in switch off. 35STNFC_USB_CHARGING_MODE=1 36 37############################################################################### 38# Vendor Specific Proprietary Protocol & Discovery Configuration 39# Set to 0xFF if unsupported 40# byte[0] NCI_PROTOCOL_18092_ACTIVE 41# byte[1] NCI_PROTOCOL_B_PRIME 42# byte[2] NCI_PROTOCOL_DUAL 43# byte[3] NCI_PROTOCOL_15693 44# byte[4] NCI_PROTOCOL_KOVIO 45# byte[5] NCI_PROTOCOL_MIFARE 46# byte[6] NCI_DISCOVERY_TYPE_POLL_KOVIO 47# byte[7] NCI_DISCOVERY_TYPE_POLL_B_PRIME 48# byte[8] NCI_DISCOVERY_TYPE_LISTEN_B_PRIME 49NFA_PROPRIETARY_CFG={05:FF:FF:06:8A:90:77:FF:FF} 50 51############################################################################### 52# Choose the presence-check algorithm for type-4 tag. If not defined, 53# the default value is 1. 54# 0 NFA_RW_PRES_CHK_DEFAULT; Let stack selects an algorithm 55# 1 NFA_RW_PRES_CHK_I_BLOCK; ISO-DEP protocol's empty I-block 56# 2 NFA_RW_PRES_CHK_RESET; Deactivate to Sleep, then re-activate 57# 3 NFA_RW_PRES_CHK_RB_CH0; Type-4 tag protocol's ReadBinary command on channel 0 58# 4 NFA_RW_PRES_CHK_RB_CH3; Type-4 tag protocol's ReadBinary command on channel 3 59# 5 NFA_RW_PRES_CHK_ISO_DEP_NAK; presence check command ISO-DEP NAK as per NCI2.0 60PRESENCE_CHECK_ALGORITHM=5 61 62############################################################################### 63# Name of the NCI HAL module to use 64# If unset, falls back to nfc_nci.bcm2079x 65NCI_HAL_MODULE="nfc_nci.st21nfc" 66 67############################################################################### 68# White list to be set at startup. 69DEVICE_HOST_ALLOW_LIST={02:C0} 70 71############################################################################### 72# BAIL OUT value for P2P 73# Implements algorithm for NFC-DEP protocol priority over ISO-DEP protocol. 74POLL_BAIL_OUT_MODE=1 75 76############################################################################### 77# Extended APDU length for ISO_DEP 78ISO_DEP_MAX_TRANSCEIVE=0xFEFF 79 80############################################################################### 81# Configure the NFC Extras to open and use a static pipe. If the value is 82# not set or set to 0, then the default is use a dynamic pipe based on a 83# destination gate (see NFA_HCI_DEFAULT_DEST_GATE). Note there is a value 84# for each EE (ESE/SIM) 85OFF_HOST_ESE_PIPE_ID=0x5E 86OFF_HOST_SIM_PIPE_ID=0x3E 87 88############################################################################### 89#Set the default Felica T3T System Code OffHost route Location : 90#This settings will be used when application does not set this parameter 91# host 0x00 92# eSE 0x82 (eSE), 0x86 (eUICC/SPI-SE) 93# UICC 0x81 (UICC_1), 0x85 (UICC_2) 94DEFAULT_SYS_CODE_ROUTE=0x86 95 96############################################################################### 97#Set the Felica T3T System Code supported power state: 98DEFAULT_SYS_CODE_PWR_STATE=0x3B 99 100############################################################################### 101# Path and Files used for FW update binaries storage 102STNFC_FW_PATH_STORAGE="/vendor/firmware" 103STNFC_FW_BIN_NAME="/st54j_fw.bin" 104STNFC_FW_CONF_NAME="/st54j_conf.bin" 105 106############################################################################### 107# Default off-host route for Felica. 108# This settings will be used when application does not set this parameter 109# host 0x00 110# eSE 0x82 (eSE), 0x86 (eUICC/SPI-SE) 111# UICC 0x81 (UICC_1), 0x85 (UICC_2) 112DEFAULT_NFCF_ROUTE=0x86 113 114############################################################################### 115# Configure the default off-host route. 116# used for technology A and B routing 117# eSE 0x82 (eSE), 0x86 (eUICC/SPI-SE) 118# UICC 0x81 (UICC_1), 0x85 (UICC_2) 119DEFAULT_OFFHOST_ROUTE=0x81 120 121############################################################################### 122# Configure the default AID route. 123# host 0x00 124# eSE 0x82 (eSE), 0x86 (eUICC/SPI-SE) 125# UICC 0x81 (UICC_1), 0x85 (UICC_2) 126DEFAULT_ROUTE=0x00 127 128############################################################################### 129# Configure the NFCEEIDs of offhost UICC. 130# UICC 0x81 (UICC_1), 0x85 (UICC_2) 131OFFHOST_ROUTE_UICC={81} 132 133############################################################################### 134# Configure the NFCEEIDs of offhost eSEs. 135# eSE 0x82 (eSE), 0x86 (eUICC/SPI-SE) 136OFFHOST_ROUTE_ESE={86} 137 138############################################################################### 139# Configure the list of NFCEE for the ISO-DEP routing. 140# host 0x00 141# eSE 0x82 (eSE), 0x86 (eUICC/SPI-SE) 142# UICC 0x81 (UICC_1), 0x85 (UICC_2) 143DEFAULT_ISODEP_ROUTE=0x81 144 145############################################################################### 146# Configure the HAL Clock control 147# enable 0x01 148# disable 0x00 default value 149STNFC_CONTROL_CLK=0x01 150 151############################################################################### 152# Configure the ACTIVE_RW timer 153# Default 0x00, set 0x01 to enable it 154STNFC_ACTIVERW_TIMER=0x01 155 156############################################################################### 157# Core configuration settings 158CORE_CONF_PROP={ 20, 02, 0a, 03, 159 a1, 01, 1e, 160 a2, 01, 19, 161 80, 01, 01 162} 163 164 165