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