libnfc-hal-st-disable.conf 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. ########################### Start of libnf-hal-st_aosp.conf ###########################
  2. ###############################################################################
  3. ###############################################################################
  4. # ST HAL trace log level
  5. STNFC_HAL_LOGLEVEL=4
  6. NFC_DEBUG_ENABLED=1
  7. ###############################################################################
  8. # Vendor specific mode to enable FW (RF & SWP) traces.
  9. STNFC_FW_DEBUG_ENABLED=0
  10. ###############################################################################
  11. # File used for NFA storage
  12. NFA_STORAGE="/data/nfc"
  13. ###############################################################################
  14. # Dev Node used for ST HAL
  15. ST_NFC_DEV_NODE="/dev/st_no_such_device"
  16. ###############################################################################
  17. # Keep the nfa storage file.
  18. PRESERVE_STORAGE=1
  19. ###############################################################################
  20. # In Switch OFF mode (phone switched-off), specify the desired CE mode to
  21. # the controller.
  22. # 0: No card-emulation; DEFAULT
  23. # 1: Switch-off card-emulation enabled
  24. CE_ON_SWITCH_OFF_STATE=1
  25. ###############################################################################
  26. # Vendor specific mode to support the USB charging mode if VPSIO=1 in switch off.
  27. STNFC_USB_CHARGING_MODE=1
  28. ###############################################################################
  29. # Vendor Specific Proprietary Protocol & Discovery Configuration
  30. # Set to 0xFF if unsupported
  31. # byte[0] NCI_PROTOCOL_18092_ACTIVE
  32. # byte[1] NCI_PROTOCOL_B_PRIME
  33. # byte[2] NCI_PROTOCOL_DUAL
  34. # byte[3] NCI_PROTOCOL_15693
  35. # byte[4] NCI_PROTOCOL_KOVIO
  36. # byte[5] NCI_PROTOCOL_MIFARE
  37. # byte[6] NCI_DISCOVERY_TYPE_POLL_KOVIO
  38. # byte[7] NCI_DISCOVERY_TYPE_POLL_B_PRIME
  39. # byte[8] NCI_DISCOVERY_TYPE_LISTEN_B_PRIME
  40. NFA_PROPRIETARY_CFG={05:FF:FF:06:8A:90:77:FF:FF}
  41. ###############################################################################
  42. # Choose the presence-check algorithm for type-4 tag. If not defined,
  43. # the default value is 1.
  44. # 0 NFA_RW_PRES_CHK_DEFAULT; Let stack selects an algorithm
  45. # 1 NFA_RW_PRES_CHK_I_BLOCK; ISO-DEP protocol's empty I-block
  46. # 2 NFA_RW_PRES_CHK_RESET; Deactivate to Sleep, then re-activate
  47. # 3 NFA_RW_PRES_CHK_RB_CH0; Type-4 tag protocol's ReadBinary command on channel 0
  48. # 4 NFA_RW_PRES_CHK_RB_CH3; Type-4 tag protocol's ReadBinary command on channel 3
  49. # 5 NFA_RW_PRES_CHK_ISO_DEP_NAK; presence check command ISO-DEP NAK as per NCI2.0
  50. PRESENCE_CHECK_ALGORITHM=5
  51. ###############################################################################
  52. # Name of the NCI HAL module to use
  53. # If unset, falls back to nfc_nci.bcm2079x
  54. NCI_HAL_MODULE="nfc_nci.st21nfc"
  55. ###############################################################################
  56. # White list to be set at startup.
  57. DEVICE_HOST_WHITE_LIST={02:C0}
  58. ###############################################################################
  59. # BAIL OUT value for P2P
  60. # Implements algorithm for NFC-DEP protocol priority over ISO-DEP protocol.
  61. POLL_BAIL_OUT_MODE=1
  62. ###############################################################################
  63. # Extended APDU length for ISO_DEP
  64. ISO_DEP_MAX_TRANSCEIVE=0xFEFF
  65. ###############################################################################
  66. # Configure the NFC Extras to open and use a static pipe. If the value is
  67. # not set or set to 0, then the default is use a dynamic pipe based on a
  68. # destination gate (see NFA_HCI_DEFAULT_DEST_GATE). Note there is a value
  69. # for each EE (ESE/SIM)
  70. OFF_HOST_ESE_PIPE_ID=0x5E
  71. OFF_HOST_SIM_PIPE_ID=0x3E
  72. ###############################################################################
  73. #Set the default Felica T3T System Code OffHost route Location :
  74. #This settings will be used when application does not set this parameter
  75. # host 0x00
  76. # eSE 0x82 (eSE), 0x86 (eUICC/SPI-SE)
  77. # UICC 0x81 (UICC_1), 0x85 (UICC_2)
  78. DEFAULT_SYS_CODE_ROUTE=0x86
  79. ###############################################################################
  80. #Set the Felica T3T System Code supported power state:
  81. DEFAULT_SYS_CODE_PWR_STATE=0x3B
  82. ###############################################################################
  83. # Path and Files used for FW update binaries storage
  84. STNFC_FW_PATH_STORAGE="/vendor/firmware"
  85. STNFC_FW_BIN_NAME="/st54j_fw.bin"
  86. STNFC_FW_CONF_NAME="/st54j_conf.bin"
  87. ###############################################################################
  88. # Default off-host route for Felica.
  89. # This settings will be used when application does not set this parameter
  90. # host 0x00
  91. # eSE 0x82 (eSE), 0x86 (eUICC/SPI-SE)
  92. # UICC 0x81 (UICC_1), 0x85 (UICC_2)
  93. DEFAULT_NFCF_ROUTE=0x86
  94. ###############################################################################
  95. # Configure the default off-host route.
  96. # used for technology A and B routing
  97. # eSE 0x82 (eSE), 0x86 (eUICC/SPI-SE)
  98. # UICC 0x81 (UICC_1), 0x85 (UICC_2)
  99. DEFAULT_OFFHOST_ROUTE=0x81
  100. ###############################################################################
  101. # Configure the default AID route.
  102. # host 0x00
  103. # eSE 0x82 (eSE), 0x86 (eUICC/SPI-SE)
  104. # UICC 0x81 (UICC_1), 0x85 (UICC_2)
  105. DEFAULT_ROUTE=0x00
  106. ###############################################################################
  107. # Configure the NFCEEIDs of offhost UICC.
  108. # UICC 0x81 (UICC_1), 0x85 (UICC_2)
  109. OFFHOST_ROUTE_UICC={81}
  110. ###############################################################################
  111. # Configure the NFCEEIDs of offhost eSEs.
  112. # eSE 0x82 (eSE), 0x86 (eUICC/SPI-SE)
  113. OFFHOST_ROUTE_ESE={86}
  114. ###############################################################################
  115. # Configure the list of NFCEE for the ISO-DEP routing.
  116. # host 0x00
  117. # eSE 0x82 (eSE), 0x86 (eUICC/SPI-SE)
  118. # UICC 0x81 (UICC_1), 0x85 (UICC_2)
  119. DEFAULT_ISODEP_ROUTE=0x81
  120. ###############################################################################
  121. # Core configuration settings
  122. CORE_CONF_PROP={ 20, 02, 0a, 03,
  123. a1, 01, 1e,
  124. a2, 01, 19,
  125. 80, 01, 01
  126. }