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