libnfc-nci.conf 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. ###############################################################################
  2. # Application options
  3. NFC_DEBUG_ENABLED=0
  4. ###############################################################################
  5. # File used for NFA storage
  6. NFA_STORAGE="/data/nfc"
  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. ###############################################################################
  24. # When screen is turned off, specify the desired power state of the controller.
  25. # 0: power-off-sleep state; DEFAULT
  26. # 1: full-power state
  27. # 2: screen-off card-emulation (CE4/CE3/CE1 modes are used)
  28. SCREEN_OFF_POWER_STATE=1
  29. ###############################################################################
  30. # Force tag polling for the following technology(s).
  31. # The bits are defined as tNFA_TECHNOLOGY_MASK in nfa_api.h.
  32. # Default is NFA_TECHNOLOGY_MASK_A | NFA_TECHNOLOGY_MASK_B |
  33. # NFA_TECHNOLOGY_MASK_F | NFA_TECHNOLOGY_MASK_ISO15693 |
  34. # NFA_TECHNOLOGY_MASK_B_PRIME | NFA_TECHNOLOGY_MASK_KOVIO |
  35. # NFA_TECHNOLOGY_MASK_ACTIVE
  36. #
  37. # Notable bits:
  38. # NFA_TECHNOLOGY_MASK_A 0x01 /* NFC Technology A */
  39. # NFA_TECHNOLOGY_MASK_B 0x02 /* NFC Technology B */
  40. # NFA_TECHNOLOGY_MASK_F 0x04 /* NFC Technology F */
  41. # NFA_TECHNOLOGY_MASK_ISO15693 0x08 /* Proprietary Technology */
  42. # NFA_TECHNOLOGY_MASK_KOVIO 0x20 /* Proprietary Technology */
  43. # NFA_TECHNOLOGY_MASK_ACTIVE 0x40 /* NFC Technology Active */
  44. POLLING_TECH_MASK=0x2F
  45. ###############################################################################
  46. # Force P2P to only listen for the following technology(s).
  47. # The bits are defined as tNFA_TECHNOLOGY_MASK in nfa_api.h.
  48. # Default is NFA_TECHNOLOGY_MASK_A | NFA_TECHNOLOGY_MASK_F |
  49. # NFA_TECHNOLOGY_MASK_ACTIVE
  50. #
  51. # Notable bits:
  52. # NFA_TECHNOLOGY_MASK_A 0x01 /* NFC Technology A */
  53. # NFA_TECHNOLOGY_MASK_F 0x04 /* NFC Technology F */
  54. # NFA_TECHNOLOGY_MASK_ACTIVE 0x40 /* NFC Technology Active */
  55. P2P_LISTEN_TECH_MASK=0x00
  56. PRESERVE_STORAGE=0x01
  57. ###############################################################################
  58. # 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,
  60. # 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.
  62. # Maximum EE supported number
  63. # NXP PN547C2 0x02
  64. # NXP PN65T 0x03
  65. # NXP PN548C2 0x02
  66. # NXP PN66T 0x03
  67. NFA_MAX_EE_SUPPORTED=0x02
  68. ###############################################################################
  69. # AID_MATCHING constants
  70. # AID_MATCHING_EXACT_ONLY 0x00
  71. # AID_MATCHING_EXACT_OR_PREFIX 0x01
  72. # AID_MATCHING_PREFIX_ONLY 0x02
  73. # AID_MATCHING_EXACT_OR_SUBSET_OR_PREFIX 0x03
  74. AID_MATCHING_MODE=0x03
  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
  95. ###############################################################################
  96. # Nfc recovery implementation
  97. # 0: Crash Nfc Service
  98. # 1: Toggle Nfc state
  99. RECOVERY_OPTION=1
  100. ###############################################################################
  101. # NFCEE Power Supply and Communication Link Control Configuration
  102. # Set when SetAlwaysOn enabled
  103. # Default 0x00 when SetAlways on disabled
  104. ALWAYS_ON_SET_EE_POWER_AND_LINK_CONF=0x03