1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
|
###############################################################################
# NFC Configuration for NON-HAL component S3FWRN5
# Samsung Electronics, System LSI Division
# Update Date : 2015/01/05
# Region : All region
# F/W Version dependency : NONE
# This file contains below
# 1) Default routing information
# 2) Partial AID setting
# 3) UICC listen tech mask
# 4) Listen tech mask for P2P
# 5) Poll tech mask
# 6) eSE warm reset
# 7) Other Information
###############################################################################
# Application options
#APPL_TRACE_LEVEL=0xFF
#PROTOCOL_TRACE_LEVEL=0xFFFFFFFF
APPL_TRACE_LEVEL=0x05
PROTOCOL_TRACE_LEVEL=0x1FFFFF
###############################################################################
# File used for NFA storage
NFA_STORAGE="/data/nfc"
###############################################################################
# Maximum Number of Credits to be allowed by the NFCC
# This value overrides what the NFCC specifices allowing the host to have
# the control to work-around transport limitations. If this value does
# not exist or is set to 0, the NFCC will provide the number of credits.
MAX_RF_DATA_CREDITS=1
###############################################################################
# Allow UICC to be powered off if there is no traffic.
# Timeout is in ms. If set to 0, then UICC will not be powered off.
#UICC_IDLE_TIMEOUT=30000
UICC_IDLE_TIMEOUT=60000
###############################################################################
# Configure the maximum number of SE (UICC , eSE , DH)
#NFA_MAX_EE_SUPPORTED=3 (DH, UICC, eSE), 2 (DH, UICC)
NFA_MAX_EE_SUPPORTED=3
###############################################################################
# Configure the single default SE (mActiveSe) to use. The default is to use the first
# SE that is detected by the stack. This value might be used when the phone
# supports multiple SE (e.g. UICC : 0x03 and eSE : 0x02) but you want to force it to use
# one of them (e.g. 0x03).
ACTIVE_SE=0x02
###############################################################################
# Configure the default route (mDefaultEe) for ISODEP.
# supports multiple SE (e.g. DH : 0x00 , UICC : 0x03 and eSE : 0x02)
DEFAULT_ISODEP_ROUTE=0x03
#######################################################################################
# Configure the default "off-host" AID route. The default is 0x03
DEFAULT_OFFHOST_ROUTE=0x03
###############################################################################
# Configure the default Destination Gate & PIPE used by HCI (the default is 4, which
# is the ETSI loopback gate.
NFA_HCI_DEFAULT_DEST_GATE=4
NFA_HCI_DEFAULT_STATIC_PIPE_ID=0x72
NFA_HCI_SECONDARY_STATIC_PIPE_ID=0x71
###############################################################################
# Configure the NFC Extras to open and use a static pipe. If the value is
# not set or set to 0, then the default is use a dynamic pipe based on a
# destination gate (see NFA_HCI_DEFAULT_DEST_GATE). Note there is a value
# for each UICC (where F3="UICC0" and F4="UICC1")
# for each UICC (where 03="UICC0" and 02="UICC1 / eSE")
NFA_HCI_STATIC_PIPE_ID_02=0x72
NFA_HCI_STATIC_PIPE_ID_03=0x72
###############################################################################
# Force UICC to only listen to the following technology(s).
# The bits are defined as tNFA_TECHNOLOGY_MASK in nfa_api.h.
# Default is NFA_TECHNOLOGY_MASK_A | NFA_TECHNOLOGY_MASK_B.
#UICC_LISTEN_TECH_MASK=0x03
###############################################################################
# Force only poll to the following technology(s).
#POLLING_TECH_MASK= NFA_TECHNOLOGY_MASK_A | NFA_TECHNOLOGY_MASK_B
###############################################################################
# When disconnecting from Oberthur secure element, perform a warm-reset of
# the secure element to deselect the applet.
# The default hex value of the command is 0x3. If this variable is undefined, then
# this feature is not used.
#OBERTHUR_WARM_RESET_COMMAND=3
################################
# Select controller support for AID matching
# the default value is 0.
# 0 Exact matching only
# 1 Exact+Prefix matching
# 2 Prefix matching only
AID_MATCHING_MODE=0
###############################################################################
# Choose the presence-check algorithm for type-4 tag. If not defined,
# the default value is 1.
# 0 NFA_RW_PRES_CHK_DEFAULT; Let stack selects an algorithm
# 1 NFA_RW_PRES_CHK_I_BLOCK; ISO-DEP protocol's empty I-block
# 2 NFA_RW_PRES_CHK_RESET; Deactivate to Sleep, then re-activate
# 3 NFA_RW_PRES_CHK_RB_CH0; Type-4 tag protocol's ReadBinary command on channel 0
# 4 NFA_RW_PRES_CHK_RB_CH3; Type-4 tag protocol's ReadBinary command on channel 3
PRESENCE_CHECK_ALGORITHM=3
###############################################################################
# Vendor Specific Proprietary Protocol & Discovery Configuration
# Set to 0xFF if unsupported
# byte[0] NCI_PROTOCOL_18092_ACTIVE
# byte[1] NCI_PROTOCOL_B_PRIME
# byte[2] NCI_PROTOCOL_DUAL
# byte[3] NCI_PROTOCOL_15693
# byte[4] NCI_PROTOCOL_KOVIO
# byte[5] NCI_PROTOCOL_MIFARE */
# byte[7] NCI_PROTOCOL_CLT */
# byte[8] NCI_DISCOVERY_TYPE_POLL_KOVIO
# byte[9] NCI_DISCOVERY_TYPE_POLL_B_PRIME
# byte[10] NCI_DISCOVERY_TYPE_LISTEN_B_PRIME
NFA_PROPRIETARY_CFG={00:81:82:80:8A:81:90:70:74:F4}
|