• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1########################### Start of libnf-hal-cf.conf ###########################
2
3###############################################################################
4###############################################################################
5# CF HAL trace log level
6CFNFC_HAL_LOGLEVEL=4
7NFC_DEBUG_ENABLED=0
8
9###############################################################################
10# File used for NFA storage
11NFA_STORAGE="/data/nfc"
12
13###############################################################################
14# Keep the nfa storage file.
15PRESERVE_STORAGE=1
16
17###############################################################################
18# Vendor Specific Proprietary Protocol & Discovery Configuration
19# Set to 0xFF if unsupported
20#  byte[0] NCI_PROTOCOL_18092_ACTIVE
21#  byte[1] NCI_PROTOCOL_B_PRIME
22#  byte[2] NCI_PROTOCOL_DUAL
23#  byte[3] NCI_PROTOCOL_15693
24#  byte[4] NCI_PROTOCOL_KOVIO
25#  byte[5] NCI_PROTOCOL_MIFARE
26#  byte[6] NCI_DISCOVERY_TYPE_POLL_KOVIO
27#  byte[7] NCI_DISCOVERY_TYPE_POLL_B_PRIME
28#  byte[8] NCI_DISCOVERY_TYPE_LISTEN_B_PRIME
29NFA_PROPRIETARY_CFG={05:FF:FF:06:8A:90:77:FF:FF}
30
31###############################################################################
32# Choose the presence-check algorithm for type-4 tag.  If not defined,
33# the default value is 1.
34# 0  NFA_RW_PRES_CHK_DEFAULT; Let stack selects an algorithm
35# 1  NFA_RW_PRES_CHK_I_BLOCK; ISO-DEP protocol's empty I-block
36# 2  NFA_RW_PRES_CHK_RESET; Deactivate to Sleep, then re-activate
37# 3  NFA_RW_PRES_CHK_RB_CH0; Type-4 tag protocol's ReadBinary command on channel 0
38# 4  NFA_RW_PRES_CHK_RB_CH3; Type-4 tag protocol's ReadBinary command on channel 3
39# 5  NFA_RW_PRES_CHK_ISO_DEP_NAK; presence check command ISO-DEP NAK as per NCI2.0
40PRESENCE_CHECK_ALGORITHM=5
41
42###############################################################################
43# Name of the NCI HAL module to use
44# If unset, falls back to nfc_nci.bcm2079x
45NCI_HAL_MODULE="nfc_nci.st21nfc"
46
47###############################################################################
48# White list to be set at startup.
49DEVICE_HOST_ALLOW_LIST={02:C0}
50
51###############################################################################
52# BAIL OUT value for P2P
53# Implements algorithm for NFC-DEP protocol priority over ISO-DEP protocol.
54POLL_BAIL_OUT_MODE=1
55
56###############################################################################
57# Extended APDU length for ISO_DEP
58ISO_DEP_MAX_TRANSCEIVE=0xFEFF
59
60###############################################################################
61# Configure the NFC Extras to open and use a static pipe.  If the value is
62# not set or set to 0, then the default is use a dynamic pipe based on a
63# destination gate (see NFA_HCI_DEFAULT_DEST_GATE).  Note there is a value
64# for each EE (ESE/SIM)
65OFF_HOST_ESE_PIPE_ID=0x5E
66OFF_HOST_SIM_PIPE_ID=0x3E
67
68###############################################################################
69#Set the default Felica T3T System Code OffHost route Location :
70#This settings will be used when application does not set this parameter
71# host  0x00
72# eSE   0x82 (eSE),    0x86 (eUICC/SPI-SE)
73# UICC  0x81 (UICC_1), 0x85 (UICC_2)
74DEFAULT_SYS_CODE_ROUTE=0x86
75
76###############################################################################
77#Set the Felica T3T System Code supported power state:
78DEFAULT_SYS_CODE_PWR_STATE=0x3B
79
80###############################################################################
81# Default off-host route for Felica.
82# This settings will be used when application does not set this parameter
83# host  0x00
84# eSE   0x82 (eSE),    0x86 (eUICC/SPI-SE)
85# UICC  0x81 (UICC_1), 0x85 (UICC_2)
86DEFAULT_NFCF_ROUTE=0x86
87
88###############################################################################
89# Configure the default off-host route.
90# used for technology A and B routing
91# eSE   0x82 (eSE),    0x86 (eUICC/SPI-SE)
92# UICC  0x81 (UICC_1), 0x85 (UICC_2)
93DEFAULT_OFFHOST_ROUTE=0x81
94
95###############################################################################
96# Configure the default AID route.
97# host  0x00
98# eSE   0x82 (eSE),    0x86 (eUICC/SPI-SE)
99# UICC  0x81 (UICC_1), 0x85 (UICC_2)
100DEFAULT_ROUTE=0x00
101
102###############################################################################
103# Configure the NFCEEIDs of offhost UICC.
104# UICC  0x81 (UICC_1), 0x85 (UICC_2)
105OFFHOST_ROUTE_UICC={81}
106
107###############################################################################
108# Configure the NFCEEIDs of offhost eSEs.
109# eSE   0x82 (eSE),    0x86 (eUICC/SPI-SE)
110OFFHOST_ROUTE_ESE={86}
111
112###############################################################################
113# Configure the list of NFCEE for the ISO-DEP routing.
114# host  0x00
115# eSE   0x82 (eSE),    0x86 (eUICC/SPI-SE)
116# UICC  0x81 (UICC_1), 0x85 (UICC_2)
117DEFAULT_ISODEP_ROUTE=0x81
118
119
120
121