Kconfig.in 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008
  1. config BT_BTC_TASK_STACK_SIZE
  2. int "Bluetooth event (callback to application) task stack size"
  3. depends on BT_BLUEDROID_ENABLED
  4. default 3072
  5. help
  6. This select btc task stack size
  7. choice BT_BLUEDROID_PINNED_TO_CORE_CHOICE
  8. prompt "The cpu core which Bluedroid run"
  9. depends on BT_BLUEDROID_ENABLED && !FREERTOS_UNICORE
  10. help
  11. Which the cpu core to run Bluedroid. Can choose core0 and core1.
  12. Can not specify no-affinity.
  13. config BT_BLUEDROID_PINNED_TO_CORE_0
  14. bool "Core 0 (PRO CPU)"
  15. config BT_BLUEDROID_PINNED_TO_CORE_1
  16. bool "Core 1 (APP CPU)"
  17. depends on !FREERTOS_UNICORE
  18. endchoice
  19. config BT_BLUEDROID_PINNED_TO_CORE
  20. int
  21. depends on BT_BLUEDROID_ENABLED
  22. default 0 if BT_BLUEDROID_PINNED_TO_CORE_0
  23. default 1 if BT_BLUEDROID_PINNED_TO_CORE_1
  24. default 0
  25. config BT_BTU_TASK_STACK_SIZE
  26. int "Bluetooth Bluedroid Host Stack task stack size"
  27. depends on BT_BLUEDROID_ENABLED
  28. default 4096
  29. help
  30. This select btu task stack size
  31. config BT_BLUEDROID_MEM_DEBUG
  32. bool "Bluedroid memory debug"
  33. depends on BT_BLUEDROID_ENABLED
  34. default n
  35. help
  36. Bluedroid memory debug
  37. config BT_CLASSIC_ENABLED
  38. bool "Classic Bluetooth"
  39. depends on BT_BLUEDROID_ENABLED
  40. default n
  41. help
  42. For now this option needs "SMP_ENABLE" to be set to yes
  43. config BT_A2DP_ENABLE
  44. bool "A2DP"
  45. depends on BT_CLASSIC_ENABLED
  46. default n
  47. help
  48. Advanced Audio Distrubution Profile
  49. config BT_SPP_ENABLED
  50. bool "SPP"
  51. depends on BT_CLASSIC_ENABLED
  52. default n
  53. help
  54. This enables the Serial Port Profile
  55. config BT_HFP_ENABLE
  56. bool "Hands Free/Handset Profile"
  57. depends on BT_CLASSIC_ENABLED
  58. default n
  59. choice BT_HFP_ROLE
  60. prompt "Hands-free Profile Role configuration"
  61. depends on BT_HFP_ENABLE
  62. config BT_HFP_CLIENT_ENABLE
  63. bool "Hands Free Unit"
  64. config BT_HFP_AG_ENABLE
  65. bool "Audio Gateway"
  66. endchoice
  67. choice BT_HFP_AUDIO_DATA_PATH
  68. prompt "audio(SCO) data path"
  69. depends on BT_HFP_ENABLE
  70. help
  71. SCO data path, i.e. HCI or PCM. This option is set using API
  72. "esp_bredr_sco_datapath_set" in Bluetooth host. Default SCO data
  73. path can also be set in Bluetooth Controller.
  74. config BT_HFP_AUDIO_DATA_PATH_PCM
  75. bool "PCM"
  76. config BT_HFP_AUDIO_DATA_PATH_HCI
  77. bool "HCI"
  78. endchoice
  79. config BT_HFP_WBS_ENABLE
  80. bool "Wide Band Speech"
  81. depends on BT_HFP_AUDIO_DATA_PATH_HCI
  82. default y
  83. help
  84. This enables Wide Band Speech. Should disable it when SCO data path is PCM.
  85. Otherwise there will be no data transmited via GPIOs.
  86. config BT_HID_HOST_ENABLED
  87. bool "Classic BT HID Host"
  88. depends on BT_CLASSIC_ENABLED
  89. default n
  90. help
  91. This enables the BT HID Host
  92. config BT_SSP_ENABLED
  93. bool "Secure Simple Pairing"
  94. depends on BT_CLASSIC_ENABLED
  95. default y
  96. help
  97. This enables the Secure Simple Pairing. If disable this option,
  98. Bluedroid will only support Legacy Pairing
  99. config BT_BLE_ENABLED
  100. bool "Bluetooth Low Energy"
  101. depends on BT_BLUEDROID_ENABLED
  102. default y
  103. help
  104. This enables Bluetooth Low Energy
  105. config BT_GATTS_ENABLE
  106. bool "Include GATT server module(GATTS)"
  107. depends on BT_BLE_ENABLED
  108. default y
  109. help
  110. This option can be disabled when the app work only on gatt client mode
  111. config BT_GATTS_PPCP_CHAR_GAP
  112. bool "Enable Peripheral Preferred Connection Parameters characteristic in GAP service"
  113. depends on BT_GATTS_ENABLE
  114. default n
  115. help
  116. This enables "Peripheral Preferred Connection Parameters" characteristic (UUID: 0x2A04) in GAP service that has
  117. connection parameters like min/max connection interval, slave latency and supervision timeout multiplier
  118. config BT_BLE_BLUFI_ENABLE
  119. bool "Include blufi function"
  120. depends on BT_GATTS_ENABLE
  121. default n
  122. help
  123. This option can be close when the app does not require blufi function.
  124. choice BT_GATTS_SEND_SERVICE_CHANGE_MODE
  125. prompt "GATTS Service Change Mode"
  126. default BT_GATTS_SEND_SERVICE_CHANGE_AUTO
  127. depends on BT_GATTS_ENABLE
  128. help
  129. Service change indication mode for GATT Server.
  130. config BT_GATTS_SEND_SERVICE_CHANGE_MANUAL
  131. bool "GATTS manually send service change indication"
  132. help
  133. Manually send service change indication through API esp_ble_gatts_send_service_change_indication()
  134. config BT_GATTS_SEND_SERVICE_CHANGE_AUTO
  135. bool "GATTS automatically send service change indication"
  136. help
  137. Let Bluedroid handle the service change indication internally
  138. endchoice
  139. config BT_GATTS_SEND_SERVICE_CHANGE_MODE
  140. int
  141. depends on BT_GATTS_ENABLE
  142. default 0 if BT_GATTS_SEND_SERVICE_CHANGE_AUTO
  143. default 1 if BT_GATTS_SEND_SERVICE_CHANGE_MANUAL
  144. default 0
  145. config BT_GATTC_ENABLE
  146. bool "Include GATT client module(GATTC)"
  147. depends on BT_BLE_ENABLED
  148. default y
  149. help
  150. This option can be close when the app work only on gatt server mode
  151. config BT_GATTC_CACHE_NVS_FLASH
  152. bool "Save gattc cache data to nvs flash"
  153. depends on BT_GATTC_ENABLE
  154. default n
  155. help
  156. This select can save gattc cache data to nvs flash
  157. config BT_BLE_SMP_ENABLE
  158. bool "Include BLE security module(SMP)"
  159. depends on BT_BLE_ENABLED
  160. default y
  161. help
  162. This option can be close when the app not used the ble security connect.
  163. config BT_SMP_SLAVE_CON_PARAMS_UPD_ENABLE
  164. bool "Slave enable connection parameters update during pairing"
  165. depends on BT_BLE_SMP_ENABLE
  166. default n
  167. help
  168. In order to reduce the pairing time, slave actively initiates connection parameters
  169. update during pairing.
  170. config BT_STACK_NO_LOG
  171. bool "Disable BT debug logs (minimize bin size)"
  172. depends on BT_BLUEDROID_ENABLED
  173. default n
  174. help
  175. This select can save the rodata code size
  176. menu "BT DEBUG LOG LEVEL"
  177. depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
  178. choice BT_LOG_HCI_TRACE_LEVEL
  179. prompt "HCI layer"
  180. default BT_LOG_HCI_TRACE_LEVEL_WARNING
  181. depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
  182. help
  183. Define BT trace level for HCI layer
  184. config BT_LOG_HCI_TRACE_LEVEL_NONE
  185. bool "NONE"
  186. config BT_LOG_HCI_TRACE_LEVEL_ERROR
  187. bool "ERROR"
  188. config BT_LOG_HCI_TRACE_LEVEL_WARNING
  189. bool "WARNING"
  190. config BT_LOG_HCI_TRACE_LEVEL_API
  191. bool "API"
  192. config BT_LOG_HCI_TRACE_LEVEL_EVENT
  193. bool "EVENT"
  194. config BT_LOG_HCI_TRACE_LEVEL_DEBUG
  195. bool "DEBUG"
  196. config BT_LOG_HCI_TRACE_LEVEL_VERBOSE
  197. bool "VERBOSE"
  198. endchoice
  199. config BT_LOG_HCI_TRACE_LEVEL
  200. int
  201. depends on BT_BLUEDROID_ENABLED
  202. default 0 if BT_LOG_HCI_TRACE_LEVEL_NONE
  203. default 1 if BT_LOG_HCI_TRACE_LEVEL_ERROR
  204. default 2 if BT_LOG_HCI_TRACE_LEVEL_WARNING
  205. default 3 if BT_LOG_HCI_TRACE_LEVEL_API
  206. default 4 if BT_LOG_HCI_TRACE_LEVEL_EVENT
  207. default 5 if BT_LOG_HCI_TRACE_LEVEL_DEBUG
  208. default 6 if BT_LOG_HCI_TRACE_LEVEL_VERBOSE
  209. default 2
  210. choice BT_LOG_BTM_TRACE_LEVEL
  211. prompt "BTM layer"
  212. default BT_LOG_BTM_TRACE_LEVEL_WARNING
  213. depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
  214. help
  215. Define BT trace level for BTM layer
  216. config BT_LOG_BTM_TRACE_LEVEL_NONE
  217. bool "NONE"
  218. config BT_LOG_BTM_TRACE_LEVEL_ERROR
  219. bool "ERROR"
  220. config BT_LOG_BTM_TRACE_LEVEL_WARNING
  221. bool "WARNING"
  222. config BT_LOG_BTM_TRACE_LEVEL_API
  223. bool "API"
  224. config BT_LOG_BTM_TRACE_LEVEL_EVENT
  225. bool "EVENT"
  226. config BT_LOG_BTM_TRACE_LEVEL_DEBUG
  227. bool "DEBUG"
  228. config BT_LOG_BTM_TRACE_LEVEL_VERBOSE
  229. bool "VERBOSE"
  230. endchoice
  231. config BT_LOG_BTM_TRACE_LEVEL
  232. int
  233. depends on BT_BLUEDROID_ENABLED
  234. default 0 if BT_LOG_BTM_TRACE_LEVEL_NONE
  235. default 1 if BT_LOG_BTM_TRACE_LEVEL_ERROR
  236. default 2 if BT_LOG_BTM_TRACE_LEVEL_WARNING
  237. default 3 if BT_LOG_BTM_TRACE_LEVEL_API
  238. default 4 if BT_LOG_BTM_TRACE_LEVEL_EVENT
  239. default 5 if BT_LOG_BTM_TRACE_LEVEL_DEBUG
  240. default 6 if BT_LOG_BTM_TRACE_LEVEL_VERBOSE
  241. default 2
  242. choice BT_LOG_L2CAP_TRACE_LEVEL
  243. prompt "L2CAP layer"
  244. default BT_LOG_L2CAP_TRACE_LEVEL_WARNING
  245. depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
  246. help
  247. Define BT trace level for L2CAP layer
  248. config BT_LOG_L2CAP_TRACE_LEVEL_NONE
  249. bool "NONE"
  250. config BT_LOG_L2CAP_TRACE_LEVEL_ERROR
  251. bool "ERROR"
  252. config BT_LOG_L2CAP_TRACE_LEVEL_WARNING
  253. bool "WARNING"
  254. config BT_LOG_L2CAP_TRACE_LEVEL_API
  255. bool "API"
  256. config BT_LOG_L2CAP_TRACE_LEVEL_EVENT
  257. bool "EVENT"
  258. config BT_LOG_L2CAP_TRACE_LEVEL_DEBUG
  259. bool "DEBUG"
  260. config BT_LOG_L2CAP_TRACE_LEVEL_VERBOSE
  261. bool "VERBOSE"
  262. endchoice
  263. config BT_LOG_L2CAP_TRACE_LEVEL
  264. int
  265. depends on BT_BLUEDROID_ENABLED
  266. default 0 if BT_LOG_L2CAP_TRACE_LEVEL_NONE
  267. default 1 if BT_LOG_L2CAP_TRACE_LEVEL_ERROR
  268. default 2 if BT_LOG_L2CAP_TRACE_LEVEL_WARNING
  269. default 3 if BT_LOG_L2CAP_TRACE_LEVEL_API
  270. default 4 if BT_LOG_L2CAP_TRACE_LEVEL_EVENT
  271. default 5 if BT_LOG_L2CAP_TRACE_LEVEL_DEBUG
  272. default 6 if BT_LOG_L2CAP_TRACE_LEVEL_VERBOSE
  273. default 2
  274. choice BT_LOG_RFCOMM_TRACE_LEVEL
  275. prompt "RFCOMM layer"
  276. default BT_LOG_RFCOMM_TRACE_LEVEL_WARNING
  277. depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
  278. help
  279. Define BT trace level for RFCOMM layer
  280. config BT_LOG_RFCOMM_TRACE_LEVEL_NONE
  281. bool "NONE"
  282. config BT_LOG_RFCOMM_TRACE_LEVEL_ERROR
  283. bool "ERROR"
  284. config BT_LOG_RFCOMM_TRACE_LEVEL_WARNING
  285. bool "WARNING"
  286. config BT_LOG_RFCOMM_TRACE_LEVEL_API
  287. bool "API"
  288. config BT_LOG_RFCOMM_TRACE_LEVEL_EVENT
  289. bool "EVENT"
  290. config BT_LOG_RFCOMM_TRACE_LEVEL_DEBUG
  291. bool "DEBUG"
  292. config BT_LOG_RFCOMM_TRACE_LEVEL_VERBOSE
  293. bool "VERBOSE"
  294. endchoice
  295. config BT_LOG_RFCOMM_TRACE_LEVEL
  296. int
  297. depends on BT_BLUEDROID_ENABLED
  298. default 0 if BT_LOG_RFCOMM_TRACE_LEVEL_NONE
  299. default 1 if BT_LOG_RFCOMM_TRACE_LEVEL_ERROR
  300. default 2 if BT_LOG_RFCOMM_TRACE_LEVEL_WARNING
  301. default 3 if BT_LOG_RFCOMM_TRACE_LEVEL_API
  302. default 4 if BT_LOG_RFCOMM_TRACE_LEVEL_EVENT
  303. default 5 if BT_LOG_RFCOMM_TRACE_LEVEL_DEBUG
  304. default 6 if BT_LOG_RFCOMM_TRACE_LEVEL_VERBOSE
  305. default 2
  306. choice BT_LOG_SDP_TRACE_LEVEL
  307. prompt "SDP layer"
  308. default BT_LOG_SDP_TRACE_LEVEL_WARNING
  309. depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
  310. help
  311. Define BT trace level for SDP layer
  312. config BT_LOG_SDP_TRACE_LEVEL_NONE
  313. bool "NONE"
  314. config BT_LOG_SDP_TRACE_LEVEL_ERROR
  315. bool "ERROR"
  316. config BT_LOG_SDP_TRACE_LEVEL_WARNING
  317. bool "WARNING"
  318. config BT_LOG_SDP_TRACE_LEVEL_API
  319. bool "API"
  320. config BT_LOG_SDP_TRACE_LEVEL_EVENT
  321. bool "EVENT"
  322. config BT_LOG_SDP_TRACE_LEVEL_DEBUG
  323. bool "DEBUG"
  324. config BT_LOG_SDP_TRACE_LEVEL_VERBOSE
  325. bool "VERBOSE"
  326. endchoice
  327. config BT_LOG_SDP_TRACE_LEVEL
  328. int
  329. depends on BT_BLUEDROID_ENABLED
  330. default 0 if BT_LOG_SDP_TRACE_LEVEL_NONE
  331. default 1 if BT_LOG_SDP_TRACE_LEVEL_ERROR
  332. default 2 if BT_LOG_SDP_TRACE_LEVEL_WARNING
  333. default 3 if BT_LOG_SDP_TRACE_LEVEL_API
  334. default 4 if BT_LOG_SDP_TRACE_LEVEL_EVENT
  335. default 5 if BT_LOG_SDP_TRACE_LEVEL_DEBUG
  336. default 6 if BT_LOG_SDP_TRACE_LEVEL_VERBOSE
  337. default 2
  338. choice BT_LOG_GAP_TRACE_LEVEL
  339. prompt "GAP layer"
  340. default BT_LOG_GAP_TRACE_LEVEL_WARNING
  341. depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
  342. help
  343. Define BT trace level for GAP layer
  344. config BT_LOG_GAP_TRACE_LEVEL_NONE
  345. bool "NONE"
  346. config BT_LOG_GAP_TRACE_LEVEL_ERROR
  347. bool "ERROR"
  348. config BT_LOG_GAP_TRACE_LEVEL_WARNING
  349. bool "WARNING"
  350. config BT_LOG_GAP_TRACE_LEVEL_API
  351. bool "API"
  352. config BT_LOG_GAP_TRACE_LEVEL_EVENT
  353. bool "EVENT"
  354. config BT_LOG_GAP_TRACE_LEVEL_DEBUG
  355. bool "DEBUG"
  356. config BT_LOG_GAP_TRACE_LEVEL_VERBOSE
  357. bool "VERBOSE"
  358. endchoice
  359. config BT_LOG_GAP_TRACE_LEVEL
  360. int
  361. depends on BT_BLUEDROID_ENABLED
  362. default 0 if BT_LOG_GAP_TRACE_LEVEL_NONE
  363. default 1 if BT_LOG_GAP_TRACE_LEVEL_ERROR
  364. default 2 if BT_LOG_GAP_TRACE_LEVEL_WARNING
  365. default 3 if BT_LOG_GAP_TRACE_LEVEL_API
  366. default 4 if BT_LOG_GAP_TRACE_LEVEL_EVENT
  367. default 5 if BT_LOG_GAP_TRACE_LEVEL_DEBUG
  368. default 6 if BT_LOG_GAP_TRACE_LEVEL_VERBOSE
  369. default 2
  370. choice BT_LOG_BNEP_TRACE_LEVEL
  371. prompt "BNEP layer"
  372. default BT_LOG_BNEP_TRACE_LEVEL_WARNING
  373. depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
  374. help
  375. Define BT trace level for BNEP layer
  376. config BT_LOG_BNEP_TRACE_LEVEL_NONE
  377. bool "NONE"
  378. config BT_LOG_BNEP_TRACE_LEVEL_ERROR
  379. bool "ERROR"
  380. config BT_LOG_BNEP_TRACE_LEVEL_WARNING
  381. bool "WARNING"
  382. config BT_LOG_BNEP_TRACE_LEVEL_API
  383. bool "API"
  384. config BT_LOG_BNEP_TRACE_LEVEL_EVENT
  385. bool "EVENT"
  386. config BT_LOG_BNEP_TRACE_LEVEL_DEBUG
  387. bool "DEBUG"
  388. config BT_LOG_BNEP_TRACE_LEVEL_VERBOSE
  389. bool "VERBOSE"
  390. endchoice
  391. config BT_LOG_BNEP_TRACE_LEVEL
  392. int
  393. depends on BT_BLUEDROID_ENABLED
  394. default 0 if BT_LOG_BNEP_TRACE_LEVEL_NONE
  395. default 1 if BT_LOG_BNEP_TRACE_LEVEL_ERROR
  396. default 2 if BT_LOG_BNEP_TRACE_LEVEL_WARNING
  397. default 3 if BT_LOG_BNEP_TRACE_LEVEL_API
  398. default 4 if BT_LOG_BNEP_TRACE_LEVEL_EVENT
  399. default 5 if BT_LOG_BNEP_TRACE_LEVEL_DEBUG
  400. default 6 if BT_LOG_BNEP_TRACE_LEVEL_VERBOSE
  401. default 2
  402. choice BT_LOG_PAN_TRACE_LEVEL
  403. prompt "PAN layer"
  404. default BT_LOG_PAN_TRACE_LEVEL_WARNING
  405. depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
  406. help
  407. Define BT trace level for PAN layer
  408. config BT_LOG_PAN_TRACE_LEVEL_NONE
  409. bool "NONE"
  410. config BT_LOG_PAN_TRACE_LEVEL_ERROR
  411. bool "ERROR"
  412. config BT_LOG_PAN_TRACE_LEVEL_WARNING
  413. bool "WARNING"
  414. config BT_LOG_PAN_TRACE_LEVEL_API
  415. bool "API"
  416. config BT_LOG_PAN_TRACE_LEVEL_EVENT
  417. bool "EVENT"
  418. config BT_LOG_PAN_TRACE_LEVEL_DEBUG
  419. bool "DEBUG"
  420. config BT_LOG_PAN_TRACE_LEVEL_VERBOSE
  421. bool "VERBOSE"
  422. endchoice
  423. config BT_LOG_PAN_TRACE_LEVEL
  424. int
  425. depends on BT_BLUEDROID_ENABLED
  426. default 0 if BT_LOG_PAN_TRACE_LEVEL_NONE
  427. default 1 if BT_LOG_PAN_TRACE_LEVEL_ERROR
  428. default 2 if BT_LOG_PAN_TRACE_LEVEL_WARNING
  429. default 3 if BT_LOG_PAN_TRACE_LEVEL_API
  430. default 4 if BT_LOG_PAN_TRACE_LEVEL_EVENT
  431. default 5 if BT_LOG_PAN_TRACE_LEVEL_DEBUG
  432. default 6 if BT_LOG_PAN_TRACE_LEVEL_VERBOSE
  433. default 2
  434. choice BT_LOG_A2D_TRACE_LEVEL
  435. prompt "A2D layer"
  436. default BT_LOG_A2D_TRACE_LEVEL_WARNING
  437. depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
  438. help
  439. Define BT trace level for A2D layer
  440. config BT_LOG_A2D_TRACE_LEVEL_NONE
  441. bool "NONE"
  442. config BT_LOG_A2D_TRACE_LEVEL_ERROR
  443. bool "ERROR"
  444. config BT_LOG_A2D_TRACE_LEVEL_WARNING
  445. bool "WARNING"
  446. config BT_LOG_A2D_TRACE_LEVEL_API
  447. bool "API"
  448. config BT_LOG_A2D_TRACE_LEVEL_EVENT
  449. bool "EVENT"
  450. config BT_LOG_A2D_TRACE_LEVEL_DEBUG
  451. bool "DEBUG"
  452. config BT_LOG_A2D_TRACE_LEVEL_VERBOSE
  453. bool "VERBOSE"
  454. endchoice
  455. config BT_LOG_A2D_TRACE_LEVEL
  456. int
  457. depends on BT_BLUEDROID_ENABLED
  458. default 0 if BT_LOG_A2D_TRACE_LEVEL_NONE
  459. default 1 if BT_LOG_A2D_TRACE_LEVEL_ERROR
  460. default 2 if BT_LOG_A2D_TRACE_LEVEL_WARNING
  461. default 3 if BT_LOG_A2D_TRACE_LEVEL_API
  462. default 4 if BT_LOG_A2D_TRACE_LEVEL_EVENT
  463. default 5 if BT_LOG_A2D_TRACE_LEVEL_DEBUG
  464. default 6 if BT_LOG_A2D_TRACE_LEVEL_VERBOSE
  465. default 2
  466. choice BT_LOG_AVDT_TRACE_LEVEL
  467. prompt "AVDT layer"
  468. default BT_LOG_AVDT_TRACE_LEVEL_WARNING
  469. depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
  470. help
  471. Define BT trace level for AVDT layer
  472. config BT_LOG_AVDT_TRACE_LEVEL_NONE
  473. bool "NONE"
  474. config BT_LOG_AVDT_TRACE_LEVEL_ERROR
  475. bool "ERROR"
  476. config BT_LOG_AVDT_TRACE_LEVEL_WARNING
  477. bool "WARNING"
  478. config BT_LOG_AVDT_TRACE_LEVEL_API
  479. bool "API"
  480. config BT_LOG_AVDT_TRACE_LEVEL_EVENT
  481. bool "EVENT"
  482. config BT_LOG_AVDT_TRACE_LEVEL_DEBUG
  483. bool "DEBUG"
  484. config BT_LOG_AVDT_TRACE_LEVEL_VERBOSE
  485. bool "VERBOSE"
  486. endchoice
  487. config BT_LOG_AVDT_TRACE_LEVEL
  488. int
  489. depends on BT_BLUEDROID_ENABLED
  490. default 0 if BT_LOG_AVDT_TRACE_LEVEL_NONE
  491. default 1 if BT_LOG_AVDT_TRACE_LEVEL_ERROR
  492. default 2 if BT_LOG_AVDT_TRACE_LEVEL_WARNING
  493. default 3 if BT_LOG_AVDT_TRACE_LEVEL_API
  494. default 4 if BT_LOG_AVDT_TRACE_LEVEL_EVENT
  495. default 5 if BT_LOG_AVDT_TRACE_LEVEL_DEBUG
  496. default 6 if BT_LOG_AVDT_TRACE_LEVEL_VERBOSE
  497. default 2
  498. choice BT_LOG_AVCT_TRACE_LEVEL
  499. prompt "AVCT layer"
  500. default BT_LOG_AVCT_TRACE_LEVEL_WARNING
  501. depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
  502. help
  503. Define BT trace level for AVCT layer
  504. config BT_LOG_AVCT_TRACE_LEVEL_NONE
  505. bool "NONE"
  506. config BT_LOG_AVCT_TRACE_LEVEL_ERROR
  507. bool "ERROR"
  508. config BT_LOG_AVCT_TRACE_LEVEL_WARNING
  509. bool "WARNING"
  510. config BT_LOG_AVCT_TRACE_LEVEL_API
  511. bool "API"
  512. config BT_LOG_AVCT_TRACE_LEVEL_EVENT
  513. bool "EVENT"
  514. config BT_LOG_AVCT_TRACE_LEVEL_DEBUG
  515. bool "DEBUG"
  516. config BT_LOG_AVCT_TRACE_LEVEL_VERBOSE
  517. bool "VERBOSE"
  518. endchoice
  519. config BT_LOG_AVCT_TRACE_LEVEL
  520. int
  521. depends on BT_BLUEDROID_ENABLED
  522. default 0 if BT_LOG_AVCT_TRACE_LEVEL_NONE
  523. default 1 if BT_LOG_AVCT_TRACE_LEVEL_ERROR
  524. default 2 if BT_LOG_AVCT_TRACE_LEVEL_WARNING
  525. default 3 if BT_LOG_AVCT_TRACE_LEVEL_API
  526. default 4 if BT_LOG_AVCT_TRACE_LEVEL_EVENT
  527. default 5 if BT_LOG_AVCT_TRACE_LEVEL_DEBUG
  528. default 6 if BT_LOG_AVCT_TRACE_LEVEL_VERBOSE
  529. default 2
  530. choice BT_LOG_AVRC_TRACE_LEVEL
  531. prompt "AVRC layer"
  532. default BT_LOG_AVRC_TRACE_LEVEL_WARNING
  533. depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
  534. help
  535. Define BT trace level for AVRC layer
  536. config BT_LOG_AVRC_TRACE_LEVEL_NONE
  537. bool "NONE"
  538. config BT_LOG_AVRC_TRACE_LEVEL_ERROR
  539. bool "ERROR"
  540. config BT_LOG_AVRC_TRACE_LEVEL_WARNING
  541. bool "WARNING"
  542. config BT_LOG_AVRC_TRACE_LEVEL_API
  543. bool "API"
  544. config BT_LOG_AVRC_TRACE_LEVEL_EVENT
  545. bool "EVENT"
  546. config BT_LOG_AVRC_TRACE_LEVEL_DEBUG
  547. bool "DEBUG"
  548. config BT_LOG_AVRC_TRACE_LEVEL_VERBOSE
  549. bool "VERBOSE"
  550. endchoice
  551. config BT_LOG_AVRC_TRACE_LEVEL
  552. int
  553. depends on BT_BLUEDROID_ENABLED
  554. default 0 if BT_LOG_AVRC_TRACE_LEVEL_NONE
  555. default 1 if BT_LOG_AVRC_TRACE_LEVEL_ERROR
  556. default 2 if BT_LOG_AVRC_TRACE_LEVEL_WARNING
  557. default 3 if BT_LOG_AVRC_TRACE_LEVEL_API
  558. default 4 if BT_LOG_AVRC_TRACE_LEVEL_EVENT
  559. default 5 if BT_LOG_AVRC_TRACE_LEVEL_DEBUG
  560. default 6 if BT_LOG_AVRC_TRACE_LEVEL_VERBOSE
  561. default 2
  562. choice BT_LOG_MCA_TRACE_LEVEL
  563. prompt "MCA layer"
  564. default BT_LOG_MCA_TRACE_LEVEL_WARNING
  565. depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
  566. help
  567. Define BT trace level for MCA layer
  568. config BT_LOG_MCA_TRACE_LEVEL_NONE
  569. bool "NONE"
  570. config BT_LOG_MCA_TRACE_LEVEL_ERROR
  571. bool "ERROR"
  572. config BT_LOG_MCA_TRACE_LEVEL_WARNING
  573. bool "WARNING"
  574. config BT_LOG_MCA_TRACE_LEVEL_API
  575. bool "API"
  576. config BT_LOG_MCA_TRACE_LEVEL_EVENT
  577. bool "EVENT"
  578. config BT_LOG_MCA_TRACE_LEVEL_DEBUG
  579. bool "DEBUG"
  580. config BT_LOG_MCA_TRACE_LEVEL_VERBOSE
  581. bool "VERBOSE"
  582. endchoice
  583. config BT_LOG_MCA_TRACE_LEVEL
  584. int
  585. depends on BT_BLUEDROID_ENABLED
  586. default 0 if BT_LOG_MCA_TRACE_LEVEL_NONE
  587. default 1 if BT_LOG_MCA_TRACE_LEVEL_ERROR
  588. default 2 if BT_LOG_MCA_TRACE_LEVEL_WARNING
  589. default 3 if BT_LOG_MCA_TRACE_LEVEL_API
  590. default 4 if BT_LOG_MCA_TRACE_LEVEL_EVENT
  591. default 5 if BT_LOG_MCA_TRACE_LEVEL_DEBUG
  592. default 6 if BT_LOG_MCA_TRACE_LEVEL_VERBOSE
  593. default 2
  594. choice BT_LOG_HID_TRACE_LEVEL
  595. prompt "HID layer"
  596. default BT_LOG_HID_TRACE_LEVEL_WARNING
  597. depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
  598. help
  599. Define BT trace level for HID layer
  600. config BT_LOG_HID_TRACE_LEVEL_NONE
  601. bool "NONE"
  602. config BT_LOG_HID_TRACE_LEVEL_ERROR
  603. bool "ERROR"
  604. config BT_LOG_HID_TRACE_LEVEL_WARNING
  605. bool "WARNING"
  606. config BT_LOG_HID_TRACE_LEVEL_API
  607. bool "API"
  608. config BT_LOG_HID_TRACE_LEVEL_EVENT
  609. bool "EVENT"
  610. config BT_LOG_HID_TRACE_LEVEL_DEBUG
  611. bool "DEBUG"
  612. config BT_LOG_HID_TRACE_LEVEL_VERBOSE
  613. bool "VERBOSE"
  614. endchoice
  615. config BT_LOG_HID_TRACE_LEVEL
  616. int
  617. depends on BT_BLUEDROID_ENABLED
  618. default 0 if BT_LOG_HID_TRACE_LEVEL_NONE
  619. default 1 if BT_LOG_HID_TRACE_LEVEL_ERROR
  620. default 2 if BT_LOG_HID_TRACE_LEVEL_WARNING
  621. default 3 if BT_LOG_HID_TRACE_LEVEL_API
  622. default 4 if BT_LOG_HID_TRACE_LEVEL_EVENT
  623. default 5 if BT_LOG_HID_TRACE_LEVEL_DEBUG
  624. default 6 if BT_LOG_HID_TRACE_LEVEL_VERBOSE
  625. default 2
  626. choice BT_LOG_APPL_TRACE_LEVEL
  627. prompt "APPL layer"
  628. default BT_LOG_APPL_TRACE_LEVEL_WARNING
  629. depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
  630. help
  631. Define BT trace level for APPL layer
  632. config BT_LOG_APPL_TRACE_LEVEL_NONE
  633. bool "NONE"
  634. config BT_LOG_APPL_TRACE_LEVEL_ERROR
  635. bool "ERROR"
  636. config BT_LOG_APPL_TRACE_LEVEL_WARNING
  637. bool "WARNING"
  638. config BT_LOG_APPL_TRACE_LEVEL_API
  639. bool "API"
  640. config BT_LOG_APPL_TRACE_LEVEL_EVENT
  641. bool "EVENT"
  642. config BT_LOG_APPL_TRACE_LEVEL_DEBUG
  643. bool "DEBUG"
  644. config BT_LOG_APPL_TRACE_LEVEL_VERBOSE
  645. bool "VERBOSE"
  646. endchoice
  647. config BT_LOG_APPL_TRACE_LEVEL
  648. int
  649. depends on BT_BLUEDROID_ENABLED
  650. default 0 if BT_LOG_APPL_TRACE_LEVEL_NONE
  651. default 1 if BT_LOG_APPL_TRACE_LEVEL_ERROR
  652. default 2 if BT_LOG_APPL_TRACE_LEVEL_WARNING
  653. default 3 if BT_LOG_APPL_TRACE_LEVEL_API
  654. default 4 if BT_LOG_APPL_TRACE_LEVEL_EVENT
  655. default 5 if BT_LOG_APPL_TRACE_LEVEL_DEBUG
  656. default 6 if BT_LOG_APPL_TRACE_LEVEL_VERBOSE
  657. default 2
  658. choice BT_LOG_GATT_TRACE_LEVEL
  659. prompt "GATT layer"
  660. default BT_LOG_GATT_TRACE_LEVEL_WARNING
  661. depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
  662. help
  663. Define BT trace level for GATT layer
  664. config BT_LOG_GATT_TRACE_LEVEL_NONE
  665. bool "NONE"
  666. config BT_LOG_GATT_TRACE_LEVEL_ERROR
  667. bool "ERROR"
  668. config BT_LOG_GATT_TRACE_LEVEL_WARNING
  669. bool "WARNING"
  670. config BT_LOG_GATT_TRACE_LEVEL_API
  671. bool "API"
  672. config BT_LOG_GATT_TRACE_LEVEL_EVENT
  673. bool "EVENT"
  674. config BT_LOG_GATT_TRACE_LEVEL_DEBUG
  675. bool "DEBUG"
  676. config BT_LOG_GATT_TRACE_LEVEL_VERBOSE
  677. bool "VERBOSE"
  678. endchoice
  679. config BT_LOG_GATT_TRACE_LEVEL
  680. int
  681. depends on BT_BLUEDROID_ENABLED
  682. default 0 if BT_LOG_GATT_TRACE_LEVEL_NONE
  683. default 1 if BT_LOG_GATT_TRACE_LEVEL_ERROR
  684. default 2 if BT_LOG_GATT_TRACE_LEVEL_WARNING
  685. default 3 if BT_LOG_GATT_TRACE_LEVEL_API
  686. default 4 if BT_LOG_GATT_TRACE_LEVEL_EVENT
  687. default 5 if BT_LOG_GATT_TRACE_LEVEL_DEBUG
  688. default 6 if BT_LOG_GATT_TRACE_LEVEL_VERBOSE
  689. default 2
  690. choice BT_LOG_SMP_TRACE_LEVEL
  691. prompt "SMP layer"
  692. default BT_LOG_SMP_TRACE_LEVEL_WARNING
  693. depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
  694. help
  695. Define BT trace level for SMP layer
  696. config BT_LOG_SMP_TRACE_LEVEL_NONE
  697. bool "NONE"
  698. config BT_LOG_SMP_TRACE_LEVEL_ERROR
  699. bool "ERROR"
  700. config BT_LOG_SMP_TRACE_LEVEL_WARNING
  701. bool "WARNING"
  702. config BT_LOG_SMP_TRACE_LEVEL_API
  703. bool "API"
  704. config BT_LOG_SMP_TRACE_LEVEL_EVENT
  705. bool "EVENT"
  706. config BT_LOG_SMP_TRACE_LEVEL_DEBUG
  707. bool "DEBUG"
  708. config BT_LOG_SMP_TRACE_LEVEL_VERBOSE
  709. bool "VERBOSE"
  710. endchoice
  711. config BT_LOG_SMP_TRACE_LEVEL
  712. int
  713. depends on BT_BLUEDROID_ENABLED
  714. default 0 if BT_LOG_SMP_TRACE_LEVEL_NONE
  715. default 1 if BT_LOG_SMP_TRACE_LEVEL_ERROR
  716. default 2 if BT_LOG_SMP_TRACE_LEVEL_WARNING
  717. default 3 if BT_LOG_SMP_TRACE_LEVEL_API
  718. default 4 if BT_LOG_SMP_TRACE_LEVEL_EVENT
  719. default 5 if BT_LOG_SMP_TRACE_LEVEL_DEBUG
  720. default 6 if BT_LOG_SMP_TRACE_LEVEL_VERBOSE
  721. default 2
  722. choice BT_LOG_BTIF_TRACE_LEVEL
  723. prompt "BTIF layer"
  724. default BT_LOG_BTIF_TRACE_LEVEL_WARNING
  725. depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
  726. help
  727. Define BT trace level for BTIF layer
  728. config BT_LOG_BTIF_TRACE_LEVEL_NONE
  729. bool "NONE"
  730. config BT_LOG_BTIF_TRACE_LEVEL_ERROR
  731. bool "ERROR"
  732. config BT_LOG_BTIF_TRACE_LEVEL_WARNING
  733. bool "WARNING"
  734. config BT_LOG_BTIF_TRACE_LEVEL_API
  735. bool "API"
  736. config BT_LOG_BTIF_TRACE_LEVEL_EVENT
  737. bool "EVENT"
  738. config BT_LOG_BTIF_TRACE_LEVEL_DEBUG
  739. bool "DEBUG"
  740. config BT_LOG_BTIF_TRACE_LEVEL_VERBOSE
  741. bool "VERBOSE"
  742. endchoice
  743. config BT_LOG_BTIF_TRACE_LEVEL
  744. int
  745. depends on BT_BLUEDROID_ENABLED
  746. default 0 if BT_LOG_BTIF_TRACE_LEVEL_NONE
  747. default 1 if BT_LOG_BTIF_TRACE_LEVEL_ERROR
  748. default 2 if BT_LOG_BTIF_TRACE_LEVEL_WARNING
  749. default 3 if BT_LOG_BTIF_TRACE_LEVEL_API
  750. default 4 if BT_LOG_BTIF_TRACE_LEVEL_EVENT
  751. default 5 if BT_LOG_BTIF_TRACE_LEVEL_DEBUG
  752. default 6 if BT_LOG_BTIF_TRACE_LEVEL_VERBOSE
  753. default 2
  754. choice BT_LOG_BTC_TRACE_LEVEL
  755. prompt "BTC layer"
  756. default BT_LOG_BTC_TRACE_LEVEL_WARNING
  757. depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
  758. help
  759. Define BT trace level for BTC layer
  760. config BT_LOG_BTC_TRACE_LEVEL_NONE
  761. bool "NONE"
  762. config BT_LOG_BTC_TRACE_LEVEL_ERROR
  763. bool "ERROR"
  764. config BT_LOG_BTC_TRACE_LEVEL_WARNING
  765. bool "WARNING"
  766. config BT_LOG_BTC_TRACE_LEVEL_API
  767. bool "API"
  768. config BT_LOG_BTC_TRACE_LEVEL_EVENT
  769. bool "EVENT"
  770. config BT_LOG_BTC_TRACE_LEVEL_DEBUG
  771. bool "DEBUG"
  772. config BT_LOG_BTC_TRACE_LEVEL_VERBOSE
  773. bool "VERBOSE"
  774. endchoice
  775. config BT_LOG_BTC_TRACE_LEVEL
  776. int
  777. depends on BT_BLUEDROID_ENABLED
  778. default 0 if BT_LOG_BTC_TRACE_LEVEL_NONE
  779. default 1 if BT_LOG_BTC_TRACE_LEVEL_ERROR
  780. default 2 if BT_LOG_BTC_TRACE_LEVEL_WARNING
  781. default 3 if BT_LOG_BTC_TRACE_LEVEL_API
  782. default 4 if BT_LOG_BTC_TRACE_LEVEL_EVENT
  783. default 5 if BT_LOG_BTC_TRACE_LEVEL_DEBUG
  784. default 6 if BT_LOG_BTC_TRACE_LEVEL_VERBOSE
  785. default 2
  786. choice BT_LOG_OSI_TRACE_LEVEL
  787. prompt "OSI layer"
  788. default BT_LOG_OSI_TRACE_LEVEL_WARNING
  789. depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
  790. help
  791. Define BT trace level for OSI layer
  792. config BT_LOG_OSI_TRACE_LEVEL_NONE
  793. bool "NONE"
  794. config BT_LOG_OSI_TRACE_LEVEL_ERROR
  795. bool "ERROR"
  796. config BT_LOG_OSI_TRACE_LEVEL_WARNING
  797. bool "WARNING"
  798. config BT_LOG_OSI_TRACE_LEVEL_API
  799. bool "API"
  800. config BT_LOG_OSI_TRACE_LEVEL_EVENT
  801. bool "EVENT"
  802. config BT_LOG_OSI_TRACE_LEVEL_DEBUG
  803. bool "DEBUG"
  804. config BT_LOG_OSI_TRACE_LEVEL_VERBOSE
  805. bool "VERBOSE"
  806. endchoice
  807. config BT_LOG_OSI_TRACE_LEVEL
  808. int
  809. depends on BT_BLUEDROID_ENABLED
  810. default 0 if BT_LOG_OSI_TRACE_LEVEL_NONE
  811. default 1 if BT_LOG_OSI_TRACE_LEVEL_ERROR
  812. default 2 if BT_LOG_OSI_TRACE_LEVEL_WARNING
  813. default 3 if BT_LOG_OSI_TRACE_LEVEL_API
  814. default 4 if BT_LOG_OSI_TRACE_LEVEL_EVENT
  815. default 5 if BT_LOG_OSI_TRACE_LEVEL_DEBUG
  816. default 6 if BT_LOG_OSI_TRACE_LEVEL_VERBOSE
  817. default 2
  818. choice BT_LOG_BLUFI_TRACE_LEVEL
  819. prompt "BLUFI layer"
  820. default BT_LOG_BLUFI_TRACE_LEVEL_WARNING
  821. depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
  822. help
  823. Define BT trace level for BLUFI layer
  824. config BT_LOG_BLUFI_TRACE_LEVEL_NONE
  825. bool "NONE"
  826. config BT_LOG_BLUFI_TRACE_LEVEL_ERROR
  827. bool "ERROR"
  828. config BT_LOG_BLUFI_TRACE_LEVEL_WARNING
  829. bool "WARNING"
  830. config BT_LOG_BLUFI_TRACE_LEVEL_API
  831. bool "API"
  832. config BT_LOG_BLUFI_TRACE_LEVEL_EVENT
  833. bool "EVENT"
  834. config BT_LOG_BLUFI_TRACE_LEVEL_DEBUG
  835. bool "DEBUG"
  836. config BT_LOG_BLUFI_TRACE_LEVEL_VERBOSE
  837. bool "VERBOSE"
  838. endchoice
  839. config BT_LOG_BLUFI_TRACE_LEVEL
  840. int
  841. depends on BT_BLUEDROID_ENABLED
  842. default 0 if BT_LOG_BLUFI_TRACE_LEVEL_NONE
  843. default 1 if BT_LOG_BLUFI_TRACE_LEVEL_ERROR
  844. default 2 if BT_LOG_BLUFI_TRACE_LEVEL_WARNING
  845. default 3 if BT_LOG_BLUFI_TRACE_LEVEL_API
  846. default 4 if BT_LOG_BLUFI_TRACE_LEVEL_EVENT
  847. default 5 if BT_LOG_BLUFI_TRACE_LEVEL_DEBUG
  848. default 6 if BT_LOG_BLUFI_TRACE_LEVEL_VERBOSE
  849. default 2
  850. endmenu #BT DEBUG LOG LEVEL
  851. config BT_ACL_CONNECTIONS
  852. int "BT/BLE MAX ACL CONNECTIONS(1~7)"
  853. depends on BT_BLUEDROID_ENABLED
  854. range 1 7
  855. default 4
  856. help
  857. Maximum BT/BLE connection count
  858. config BT_ALLOCATION_FROM_SPIRAM_FIRST
  859. bool "BT/BLE will first malloc the memory from the PSRAM"
  860. depends on BT_BLUEDROID_ENABLED
  861. default n
  862. help
  863. This select can save the internal RAM if there have the PSRAM
  864. config BT_BLE_DYNAMIC_ENV_MEMORY
  865. bool "Use dynamic memory allocation in BT/BLE stack"
  866. depends on BT_BLUEDROID_ENABLED
  867. default n
  868. help
  869. This select can make the allocation of memory will become more flexible
  870. config BT_BLE_HOST_QUEUE_CONG_CHECK
  871. bool "BLE queue congestion check"
  872. depends on BT_BLUEDROID_ENABLED
  873. default n
  874. help
  875. When scanning and scan duplicate is not enabled, if there are a lot of adv packets around
  876. or application layer handling adv packets is slow, it will cause the controller memory
  877. to run out. if enabled, adv packets will be lost when host queue is congested.
  878. config BT_SMP_ENABLE
  879. bool
  880. depends on BT_BLUEDROID_ENABLED
  881. default BT_CLASSIC_ENABLED || BT_BLE_SMP_ENABLE
  882. config BT_BLE_ACT_SCAN_REP_ADV_SCAN
  883. bool "Report adv data and scan response individually when BLE active scan"
  884. depends on BT_BLUEDROID_ENABLED && (BTDM_CTRL_MODE_BTDM || BTDM_CTRL_MODE_BLE_ONLY)
  885. default n
  886. help
  887. Originally, when doing BLE active scan, Bluedroid will not report adv to application layer
  888. until receive scan response. This option is used to disable the behavior. When enable this option,
  889. Bluedroid will report adv data or scan response to application layer immediately.
  890. # Memory reserved at start of DRAM for Bluetooth stack
  891. config BT_BLE_ESTAB_LINK_CONN_TOUT
  892. int "Timeout of BLE connection establishment"
  893. depends on BT_BLUEDROID_ENABLED
  894. range 1 60
  895. default 30
  896. help
  897. Bluetooth Connection establishment maximum time, if connection time exceeds this value, the connection
  898. establishment fails, ESP_GATTC_OPEN_EVT or ESP_GATTS_OPEN_EVT is triggered.
  899. config BT_RESERVE_DRAM
  900. hex
  901. default 0xdb5c if BT_ENABLED
  902. default 0