• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1###############################################################################
2# Debug options
3NFC_DEBUG_ENABLED=0
4
5###############################################################################
6# File used for NFA storage
7NFA_STORAGE="/data/nfc"
8PRESERVE_STORAGE=0x01
9
10###############################################################################
11# When screen is turned off, specify the desired power state of the controller.
12# 0: power-off-sleep state; DEFAULT
13# 1: full-power state
14# 2: screen-off card-emulation (CE4/CE3/CE1 modes are used)
15SCREEN_OFF_POWER_STATE=1
16
17###############################################################################
18# Default poll duration (in ms)
19#  The defualt is 500ms if not set (see nfc_target.h)
20#NFA_DM_DISC_DURATION_POLL=333
21
22###############################################################################
23# Force tag polling for the following technology(s).
24# The bits are defined as tNFA_TECHNOLOGY_MASK in nfa_api.h.
25# Default is NFA_TECHNOLOGY_MASK_A | NFA_TECHNOLOGY_MASK_B |
26#            NFA_TECHNOLOGY_MASK_F | NFA_TECHNOLOGY_MASK_ISO15693 |
27#            NFA_TECHNOLOGY_MASK_B_PRIME | NFA_TECHNOLOGY_MASK_KOVIO |
28#            NFA_TECHNOLOGY_MASK_A_ACTIVE | NFA_TECHNOLOGY_MASK_F_ACTIVE.
29#
30# Notable bits:
31# NFA_TECHNOLOGY_MASK_A             0x01    /* NFC Technology A             */
32# NFA_TECHNOLOGY_MASK_B             0x02    /* NFC Technology B             */
33# NFA_TECHNOLOGY_MASK_F             0x04    /* NFC Technology F             */
34# NFA_TECHNOLOGY_MASK_ISO15693      0x08    /* Proprietary Technology       */
35# NFA_TECHNOLOGY_MASK_KOVIO         0x20    /* Proprietary Technology       */
36# NFA_TECHNOLOGY_MASK_A_ACTIVE      0x40    /* NFC Technology A active mode */
37# NFA_TECHNOLOGY_MASK_F_ACTIVE      0x80    /* NFC Technology F active mode */
38POLLING_TECH_MASK=0x2F
39
40###############################################################################
41# Force P2P to only listen for the following technology(s).
42# The bits are defined as tNFA_TECHNOLOGY_MASK in nfa_api.h.
43# Default is NFA_TECHNOLOGY_MASK_A | NFA_TECHNOLOGY_MASK_F |
44#            NFA_TECHNOLOGY_MASK_A_ACTIVE | NFA_TECHNOLOGY_MASK_F_ACTIVE
45#
46# Notable bits:
47# NFA_TECHNOLOGY_MASK_A             0x01    /* NFC Technology A             */
48# NFA_TECHNOLOGY_MASK_F             0x04    /* NFC Technology F             */
49# NFA_TECHNOLOGY_MASK_A_ACTIVE      0x40    /* NFC Technology A active mode */
50# NFA_TECHNOLOGY_MASK_F_ACTIVE      0x80    /* NFC Technology F active mode */
51P2P_LISTEN_TECH_MASK=0x00
52
53###############################################################################
54# Force UICC to only listen to the following technology(s).
55# The bits are defined as tNFA_TECHNOLOGY_MASK in nfa_api.h.
56# Default is NFA_TECHNOLOGY_MASK_A | NFA_TECHNOLOGY_MASK_B | NFA_TECHNOLOGY_MASK_F
57UICC_LISTEN_TECH_MASK=0x07
58
59###############################################################################
60# Override the stack default for NFA_EE_MAX_EE_SUPPORTED set in nfc_target.h.
61# The value is set to 3 by default as it assumes we will discover 0xF2,
62# 0xF3, and 0xF4. If a platform will exclude and SE, this value can be reduced
63# so that the stack will not wait any longer than necessary.
64# Maximum EE supported number
65# NXP PN547C2 0x02
66# NXP PN65T 0x03
67# NXP PN548C2 0x02
68# NXP PN66T 0x03
69NFA_MAX_EE_SUPPORTED=0x02
70
71###############################################################################
72# AID for Empty Select command
73# If specified, this AID will be substituted when an Empty SELECT command is
74# detected.  The first byte is the length of the AID.  Maximum length is 16.
75AID_FOR_EMPTY_SELECT={08:A0:00:00:01:51:00:00:00}
76
77###############################################################################
78# AID_MATCHING constants
79# AID_MATCHING_EXACT_ONLY 0x00
80# AID_MATCHING_EXACT_OR_PREFIX 0x01
81# AID_MATCHING_PREFIX_ONLY 0x02
82AID_MATCHING_MODE=0x01
83