blueware.properties 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. #----------------------------------------------------------------------------------------
  2. # Feasycom Bluetooth Stack Configuration @20200417
  3. #----------------------------------------------------------------------------------------
  4. # support module list: BT805B/BT805C/BT805D/BT825B/BW101/BW121/BW161
  5. MODULE_TYPE=BW121
  6. # sepcial configuration for module
  7. MODULE_CFG=
  8. # dir for blueware cache files,such as log,phonebook database and etc.
  9. CACHE_PATH=/data/feasycom/
  10. # dir for blueware log files, don't generate log.txt if not set
  11. LOGCAT_PATH=/data/feasycom/
  12. # 0:disable
  13. # BIT[0]:ALOGD with TAG "blueware"
  14. # BIT[1]:fprintf(stdout,"...")
  15. # BIT[2]:BTSNOOP
  16. LOGCAT_TYPE=0
  17. # for chipset without build-in mac address
  18. BT_ADDR_PATH=
  19. # gpio for BT_ENABLE hardware pin control
  20. # available option:
  21. # gpioNUM (path:/sys/class/gpio/gpioNUM)
  22. # rfkill(path:/sys/class/rfkill)
  23. # gpioPATH,NUM for ioctl operation,e.g: /dev/gpio_imx6:123
  24. BTEN_INTERFACE=gpio5
  25. # uart interface & baudrate between host platform and module
  26. # available baudrate: 921600/1M/1.5M/2M/2.5M/3M/3.5M/4M
  27. UART_INTERFACE=/dev/ttyS2
  28. UART_BAUDRATE=1500000
  29. UART_FLOWCTL=0
  30. # voice type between host platform and module,PCM (recommended) or UART
  31. VOICE_TYPE=UART
  32. # pcm card,device id for voice call of btchipset
  33. # e.g: 1,0 means /dev/pcmC1D0c for capture,/dev/pcmC1D0p for playback
  34. # Do not set if platform control pcm directly (bypass bluetooth stack)
  35. BT_PCM_INTERFACE=
  36. # pcm card,device id for audio playback/capture of host platform
  37. # set proper value if target platform is linux+asound,otherwise value "default" will be used
  38. HOST_PCM_INTERFACE=
  39. # millionseconds between sco establishment and audio routing (mic/speaker setup)
  40. VOICE_ROUTE_DELAY=800
  41. # override default device name for BR/EDR classic mode [default:FSC-CARKIT]
  42. LOCAL_NAME=
  43. # override default device name for LE mode [default:FSC-CARKIT-LE]
  44. LOCAL_LENAME=
  45. # 0:legacy pairing, use LocalPin as pin code
  46. # 1:secure simple pairing, auto pair
  47. # 2:secure simple pairing, display yes/no [default]
  48. # 3:secure simple pairing, passkey compare, user need to accept/reject pair request
  49. PAIR_MODE=2
  50. # pairing pin code (only work for legacy pairing mode) [default:0000]
  51. LOCAL_PIN=
  52. # 0:auto remove earliest paired record when paired records full [default]
  53. # 1~8: stop enter pairing mode when paired records full
  54. PAIR_RECORDS=
  55. # use stdin terminal as AT command console, e.g. type "name" for command:AT+NAME\r\n
  56. CONSOLE_ENABLE=0
  57. # 0: auto enable/disable according to previous state (default DISABLE)
  58. # 1: auto enable/disable according to previous state (default ENABLE)
  59. # 2: always stay in disable
  60. BT_ENABLE=2
  61. # hfp profile enable [default:1]
  62. HFP_ENABLE=1
  63. # auto reconnect hfp profile after power on [default:1]
  64. HFP_PWR_REC=0
  65. # enable noise reduction and echo cancellation for voice call [default:1]
  66. HFP_NREC=
  67. # resampler hfp audio bewteen 8Khz & 44.1Khz/48Khz [default:0]
  68. HFP_RESAMPLER=
  69. # enable hfp three way calling [default:0]
  70. HFP_3WAY_CALLING=
  71. # play a specify stereo wav file when call incoming for phones without in-band-ring support
  72. # e.g: /data/misc/feasycom/ringtone.wav
  73. HFP_RING_PATH=
  74. # a2dp profile enable [default:1]
  75. A2DP_ENABLE=1
  76. # a2dp decoder selection [default:1]
  77. # BIT[0]:SBC (mandatory)
  78. # BIT[1]:AAC (optional)
  79. A2DP_DECODER=1
  80. # avrcp profile enable [default:1]
  81. AVRCP_ENABLE=1
  82. # music player id3 information (title,artist,album) enable [default:1]
  83. AVRCP_ID3=0
  84. # music player play progress report, 1~9 seconds per report [default:1]
  85. AVRCP_PLAYPROGRESS=0
  86. # music player file system folder browsing enable [default:0]
  87. AVRCP_BROWSING=0
  88. # music player cover art image automatic download enable [default:0]
  89. AVRCP_COVERART=0
  90. # dir for cover art image files, use $(CACHE_PATH)/cover by default if not set
  91. # pixel 200*200 jpg file will be placed in dir $(COVERART_PATH)
  92. # e.g /data/misc/feasycom/cover/1000435.jpg
  93. COVERART_PATH=
  94. # phonebook access profile enable [default:1]
  95. PB_ENABLE=0
  96. # phonebook build-in database enable
  97. # build-in database is recommended for application without database management [default:0]
  98. PB_DATABASE=0
  99. # dir for phonebook contacts photo image files, use $(CACHE_PATH)/photo by default if not set
  100. # jpg file will be placed in dir $(PHOTO_PATH)
  101. # e.g /data/misc/feasycom/photo/10086.jpg
  102. PHOTO_PATH=
  103. # dump raw vcard to $(CachePath)/vcard.vcf for debug purpose when enabled [default:0]
  104. PB_DUMP=0
  105. # serial port profile & interface(socket) [default:0]
  106. SPP_ENABLE=0
  107. # iAP2 profile & interface(socket) [default:0]
  108. IAP2_ENABLE=1
  109. # Android Auto Projection & interface(socket) [default:0]
  110. AAP_ENABLE=0
  111. # GATT profile profile enable.1:server(peripheral);2:client(central) [default:0]
  112. GATT_ENABLE=0
  113. #----------------------------------------------------------------------------------------