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