Kconfig.in 39 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176
  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_BLUEDROID_ESP_COEX_VSC
  38. bool "Enable Espressif Vendor-specific HCI commands for coexist status configuration"
  39. depends on BT_BLUEDROID_ENABLED
  40. default y
  41. help
  42. Enable Espressif Vendor-specific HCI commands for coexist status configuration
  43. config BT_CLASSIC_ENABLED
  44. bool "Classic Bluetooth"
  45. depends on BT_BLUEDROID_ENABLED && ((BT_CONTROLLER_ENABLED && SOC_BT_CLASSIC_SUPPORTED) || BT_CONTROLLER_DISABLED)
  46. default n
  47. help
  48. For now this option needs "SMP_ENABLE" to be set to yes
  49. config BT_CLASSIC_BQB_ENABLED
  50. bool "Host Qualitifcation support for Classic Bluetooth"
  51. depends on BT_CLASSIC_ENABLED
  52. default n
  53. help
  54. This enables functionalities of Host qualification for Classic Bluetooth.
  55. config BT_A2DP_ENABLE
  56. bool "A2DP"
  57. depends on BT_CLASSIC_ENABLED
  58. default n
  59. help
  60. Advanced Audio Distrubution Profile
  61. config BT_SPP_ENABLED
  62. bool "SPP"
  63. depends on BT_CLASSIC_ENABLED
  64. default n
  65. help
  66. This enables the Serial Port Profile
  67. config BT_L2CAP_ENABLED
  68. bool "BT L2CAP"
  69. depends on BT_CLASSIC_ENABLED
  70. default n
  71. help
  72. This enables the Logical Link Control and Adaptation Layer Protocol.
  73. Only supported classic bluetooth.
  74. menuconfig BT_HFP_ENABLE
  75. bool "Hands Free/Handset Profile"
  76. depends on BT_CLASSIC_ENABLED
  77. default n
  78. help
  79. Hands Free Unit and Audio Gateway can be included simultaneously
  80. but they cannot run simultaneously due to internal limitations.
  81. config BT_HFP_CLIENT_ENABLE
  82. bool "Hands Free Unit"
  83. depends on BT_HFP_ENABLE
  84. default y
  85. config BT_HFP_AG_ENABLE
  86. bool "Audio Gateway"
  87. depends on BT_HFP_ENABLE
  88. default y
  89. choice BT_HFP_AUDIO_DATA_PATH
  90. prompt "audio(SCO) data path"
  91. depends on BT_HFP_ENABLE
  92. help
  93. SCO data path, i.e. HCI or PCM. This option is set using API
  94. "esp_bredr_sco_datapath_set" in Bluetooth host. Default SCO data
  95. path can also be set in Bluetooth Controller.
  96. config BT_HFP_AUDIO_DATA_PATH_PCM
  97. bool "PCM"
  98. config BT_HFP_AUDIO_DATA_PATH_HCI
  99. bool "HCI"
  100. endchoice
  101. config BT_HFP_WBS_ENABLE
  102. bool "Wide Band Speech"
  103. depends on BT_HFP_AUDIO_DATA_PATH_HCI
  104. default y
  105. help
  106. This enables Wide Band Speech. Should disable it when SCO data path is PCM.
  107. Otherwise there will be no data transmited via GPIOs.
  108. menuconfig BT_HID_ENABLED
  109. bool "Classic BT HID"
  110. depends on BT_CLASSIC_ENABLED
  111. default n
  112. help
  113. This enables the BT HID Host
  114. config BT_HID_HOST_ENABLED
  115. bool "Classic BT HID Host"
  116. depends on BT_HID_ENABLED
  117. default n
  118. help
  119. This enables the BT HID Host
  120. config BT_HID_DEVICE_ENABLED
  121. bool "Classic BT HID Device"
  122. depends on BT_HID_ENABLED
  123. help
  124. This enables the BT HID Device
  125. config BT_BLE_ENABLED
  126. bool "Bluetooth Low Energy"
  127. depends on BT_BLUEDROID_ENABLED
  128. default y
  129. help
  130. This enables Bluetooth Low Energy
  131. config BT_GATTS_ENABLE
  132. bool "Include GATT server module(GATTS)"
  133. depends on BT_BLE_ENABLED
  134. default y
  135. help
  136. This option can be disabled when the app work only on gatt client mode
  137. config BT_GATTS_PPCP_CHAR_GAP
  138. bool "Enable Peripheral Preferred Connection Parameters characteristic in GAP service"
  139. depends on BT_GATTS_ENABLE
  140. default n
  141. help
  142. This enables "Peripheral Preferred Connection Parameters" characteristic (UUID: 0x2A04) in GAP service that has
  143. connection parameters like min/max connection interval, slave latency and supervision timeout multiplier
  144. config BT_BLE_BLUFI_ENABLE
  145. bool "Include blufi function"
  146. depends on BT_GATTS_ENABLE
  147. default n
  148. help
  149. This option can be close when the app does not require blufi function.
  150. config BT_GATT_MAX_SR_PROFILES
  151. int "Max GATT Server Profiles"
  152. depends on BT_GATTS_ENABLE && BT_BLUEDROID_ENABLED
  153. range 1 32
  154. default 8
  155. help
  156. Maximum GATT Server Profiles Count
  157. config BT_GATT_MAX_SR_ATTRIBUTES
  158. int "Max GATT Service Attributes"
  159. depends on BT_GATTS_ENABLE && BT_BLUEDROID_ENABLED
  160. range 1 500
  161. default 100
  162. help
  163. Maximum GATT Service Attributes Count
  164. choice BT_GATTS_SEND_SERVICE_CHANGE_MODE
  165. prompt "GATTS Service Change Mode"
  166. default BT_GATTS_SEND_SERVICE_CHANGE_AUTO
  167. depends on BT_GATTS_ENABLE
  168. help
  169. Service change indication mode for GATT Server.
  170. config BT_GATTS_SEND_SERVICE_CHANGE_MANUAL
  171. bool "GATTS manually send service change indication"
  172. help
  173. Manually send service change indication through API esp_ble_gatts_send_service_change_indication()
  174. config BT_GATTS_SEND_SERVICE_CHANGE_AUTO
  175. bool "GATTS automatically send service change indication"
  176. help
  177. Let Bluedroid handle the service change indication internally
  178. endchoice
  179. config BT_GATTS_SEND_SERVICE_CHANGE_MODE
  180. int
  181. depends on BT_GATTS_ENABLE
  182. default 0 if BT_GATTS_SEND_SERVICE_CHANGE_AUTO
  183. default 1 if BT_GATTS_SEND_SERVICE_CHANGE_MANUAL
  184. default 0
  185. config BT_GATTS_ROBUST_CACHING_ENABLED
  186. bool "Enable Robust Caching on Server Side"
  187. depends on BT_GATTS_ENABLE
  188. default n
  189. help
  190. This option enable gatt robust caching feature on server
  191. config BT_GATTS_DEVICE_NAME_WRITABLE
  192. bool "Allow to write device name by GATT clients"
  193. depends on BT_GATTS_ENABLE
  194. default n
  195. help
  196. Enabling this option allows remote GATT clients to write device name
  197. config BT_GATTS_APPEARANCE_WRITABLE
  198. bool "Allow to write appearance by GATT clients"
  199. depends on BT_GATTS_ENABLE
  200. default n
  201. help
  202. Enabling this option allows remote GATT clients to write appearance
  203. config BT_GATTC_ENABLE
  204. bool "Include GATT client module(GATTC)"
  205. depends on BT_BLE_ENABLED
  206. default y
  207. help
  208. This option can be close when the app work only on gatt server mode
  209. config BT_GATTC_MAX_CACHE_CHAR
  210. int "Max gattc cache characteristic for discover"
  211. depends on BT_GATTC_ENABLE
  212. range 1 500
  213. default 40
  214. help
  215. Maximum GATTC cache characteristic count
  216. config BT_GATTC_NOTIF_REG_MAX
  217. int "Max gattc notify(indication) register number"
  218. depends on BT_GATTC_ENABLE
  219. range 1 64
  220. default 5
  221. help
  222. Maximum GATTC notify(indication) register number
  223. config BT_GATTC_CACHE_NVS_FLASH
  224. bool "Save gattc cache data to nvs flash"
  225. depends on BT_GATTC_ENABLE
  226. default n
  227. help
  228. This select can save gattc cache data to nvs flash
  229. config BT_GATTC_CONNECT_RETRY_COUNT
  230. int "The number of attempts to reconnect if the connection establishment failed"
  231. depends on BT_GATTC_ENABLE
  232. range 0 7
  233. default 3
  234. help
  235. The number of attempts to reconnect if the connection establishment failed
  236. config BT_BLE_SMP_ENABLE
  237. bool "Include BLE security module(SMP)"
  238. depends on BT_BLE_ENABLED
  239. default y
  240. help
  241. This option can be close when the app not used the ble security connect.
  242. config BT_SMP_SLAVE_CON_PARAMS_UPD_ENABLE
  243. bool "Slave enable connection parameters update during pairing"
  244. depends on BT_BLE_SMP_ENABLE
  245. default n
  246. help
  247. In order to reduce the pairing time, slave actively initiates connection parameters
  248. update during pairing.
  249. config BT_STACK_NO_LOG
  250. bool "Disable BT debug logs (minimize bin size)"
  251. depends on BT_BLUEDROID_ENABLED
  252. default n
  253. help
  254. This select can save the rodata code size
  255. menu "BT DEBUG LOG LEVEL"
  256. depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
  257. choice BT_LOG_HCI_TRACE_LEVEL
  258. prompt "HCI layer"
  259. default BT_LOG_HCI_TRACE_LEVEL_WARNING
  260. depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
  261. help
  262. Define BT trace level for HCI layer
  263. config BT_LOG_HCI_TRACE_LEVEL_NONE
  264. bool "NONE"
  265. config BT_LOG_HCI_TRACE_LEVEL_ERROR
  266. bool "ERROR"
  267. config BT_LOG_HCI_TRACE_LEVEL_WARNING
  268. bool "WARNING"
  269. config BT_LOG_HCI_TRACE_LEVEL_API
  270. bool "API"
  271. config BT_LOG_HCI_TRACE_LEVEL_EVENT
  272. bool "EVENT"
  273. config BT_LOG_HCI_TRACE_LEVEL_DEBUG
  274. bool "DEBUG"
  275. config BT_LOG_HCI_TRACE_LEVEL_VERBOSE
  276. bool "VERBOSE"
  277. endchoice
  278. config BT_LOG_HCI_TRACE_LEVEL
  279. int
  280. depends on BT_BLUEDROID_ENABLED
  281. default 0 if BT_LOG_HCI_TRACE_LEVEL_NONE
  282. default 1 if BT_LOG_HCI_TRACE_LEVEL_ERROR
  283. default 2 if BT_LOG_HCI_TRACE_LEVEL_WARNING
  284. default 3 if BT_LOG_HCI_TRACE_LEVEL_API
  285. default 4 if BT_LOG_HCI_TRACE_LEVEL_EVENT
  286. default 5 if BT_LOG_HCI_TRACE_LEVEL_DEBUG
  287. default 6 if BT_LOG_HCI_TRACE_LEVEL_VERBOSE
  288. default 2
  289. choice BT_LOG_BTM_TRACE_LEVEL
  290. prompt "BTM layer"
  291. default BT_LOG_BTM_TRACE_LEVEL_WARNING
  292. depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
  293. help
  294. Define BT trace level for BTM layer
  295. config BT_LOG_BTM_TRACE_LEVEL_NONE
  296. bool "NONE"
  297. config BT_LOG_BTM_TRACE_LEVEL_ERROR
  298. bool "ERROR"
  299. config BT_LOG_BTM_TRACE_LEVEL_WARNING
  300. bool "WARNING"
  301. config BT_LOG_BTM_TRACE_LEVEL_API
  302. bool "API"
  303. config BT_LOG_BTM_TRACE_LEVEL_EVENT
  304. bool "EVENT"
  305. config BT_LOG_BTM_TRACE_LEVEL_DEBUG
  306. bool "DEBUG"
  307. config BT_LOG_BTM_TRACE_LEVEL_VERBOSE
  308. bool "VERBOSE"
  309. endchoice
  310. config BT_LOG_BTM_TRACE_LEVEL
  311. int
  312. depends on BT_BLUEDROID_ENABLED
  313. default 0 if BT_LOG_BTM_TRACE_LEVEL_NONE
  314. default 1 if BT_LOG_BTM_TRACE_LEVEL_ERROR
  315. default 2 if BT_LOG_BTM_TRACE_LEVEL_WARNING
  316. default 3 if BT_LOG_BTM_TRACE_LEVEL_API
  317. default 4 if BT_LOG_BTM_TRACE_LEVEL_EVENT
  318. default 5 if BT_LOG_BTM_TRACE_LEVEL_DEBUG
  319. default 6 if BT_LOG_BTM_TRACE_LEVEL_VERBOSE
  320. default 2
  321. choice BT_LOG_L2CAP_TRACE_LEVEL
  322. prompt "L2CAP layer"
  323. default BT_LOG_L2CAP_TRACE_LEVEL_WARNING
  324. depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
  325. help
  326. Define BT trace level for L2CAP layer
  327. config BT_LOG_L2CAP_TRACE_LEVEL_NONE
  328. bool "NONE"
  329. config BT_LOG_L2CAP_TRACE_LEVEL_ERROR
  330. bool "ERROR"
  331. config BT_LOG_L2CAP_TRACE_LEVEL_WARNING
  332. bool "WARNING"
  333. config BT_LOG_L2CAP_TRACE_LEVEL_API
  334. bool "API"
  335. config BT_LOG_L2CAP_TRACE_LEVEL_EVENT
  336. bool "EVENT"
  337. config BT_LOG_L2CAP_TRACE_LEVEL_DEBUG
  338. bool "DEBUG"
  339. config BT_LOG_L2CAP_TRACE_LEVEL_VERBOSE
  340. bool "VERBOSE"
  341. endchoice
  342. config BT_LOG_L2CAP_TRACE_LEVEL
  343. int
  344. depends on BT_BLUEDROID_ENABLED
  345. default 0 if BT_LOG_L2CAP_TRACE_LEVEL_NONE
  346. default 1 if BT_LOG_L2CAP_TRACE_LEVEL_ERROR
  347. default 2 if BT_LOG_L2CAP_TRACE_LEVEL_WARNING
  348. default 3 if BT_LOG_L2CAP_TRACE_LEVEL_API
  349. default 4 if BT_LOG_L2CAP_TRACE_LEVEL_EVENT
  350. default 5 if BT_LOG_L2CAP_TRACE_LEVEL_DEBUG
  351. default 6 if BT_LOG_L2CAP_TRACE_LEVEL_VERBOSE
  352. default 2
  353. choice BT_LOG_RFCOMM_TRACE_LEVEL
  354. prompt "RFCOMM layer"
  355. default BT_LOG_RFCOMM_TRACE_LEVEL_WARNING
  356. depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
  357. help
  358. Define BT trace level for RFCOMM layer
  359. config BT_LOG_RFCOMM_TRACE_LEVEL_NONE
  360. bool "NONE"
  361. config BT_LOG_RFCOMM_TRACE_LEVEL_ERROR
  362. bool "ERROR"
  363. config BT_LOG_RFCOMM_TRACE_LEVEL_WARNING
  364. bool "WARNING"
  365. config BT_LOG_RFCOMM_TRACE_LEVEL_API
  366. bool "API"
  367. config BT_LOG_RFCOMM_TRACE_LEVEL_EVENT
  368. bool "EVENT"
  369. config BT_LOG_RFCOMM_TRACE_LEVEL_DEBUG
  370. bool "DEBUG"
  371. config BT_LOG_RFCOMM_TRACE_LEVEL_VERBOSE
  372. bool "VERBOSE"
  373. endchoice
  374. config BT_LOG_RFCOMM_TRACE_LEVEL
  375. int
  376. depends on BT_BLUEDROID_ENABLED
  377. default 0 if BT_LOG_RFCOMM_TRACE_LEVEL_NONE
  378. default 1 if BT_LOG_RFCOMM_TRACE_LEVEL_ERROR
  379. default 2 if BT_LOG_RFCOMM_TRACE_LEVEL_WARNING
  380. default 3 if BT_LOG_RFCOMM_TRACE_LEVEL_API
  381. default 4 if BT_LOG_RFCOMM_TRACE_LEVEL_EVENT
  382. default 5 if BT_LOG_RFCOMM_TRACE_LEVEL_DEBUG
  383. default 6 if BT_LOG_RFCOMM_TRACE_LEVEL_VERBOSE
  384. default 2
  385. choice BT_LOG_SDP_TRACE_LEVEL
  386. prompt "SDP layer"
  387. default BT_LOG_SDP_TRACE_LEVEL_WARNING
  388. depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
  389. help
  390. Define BT trace level for SDP layer
  391. config BT_LOG_SDP_TRACE_LEVEL_NONE
  392. bool "NONE"
  393. config BT_LOG_SDP_TRACE_LEVEL_ERROR
  394. bool "ERROR"
  395. config BT_LOG_SDP_TRACE_LEVEL_WARNING
  396. bool "WARNING"
  397. config BT_LOG_SDP_TRACE_LEVEL_API
  398. bool "API"
  399. config BT_LOG_SDP_TRACE_LEVEL_EVENT
  400. bool "EVENT"
  401. config BT_LOG_SDP_TRACE_LEVEL_DEBUG
  402. bool "DEBUG"
  403. config BT_LOG_SDP_TRACE_LEVEL_VERBOSE
  404. bool "VERBOSE"
  405. endchoice
  406. config BT_LOG_SDP_TRACE_LEVEL
  407. int
  408. depends on BT_BLUEDROID_ENABLED
  409. default 0 if BT_LOG_SDP_TRACE_LEVEL_NONE
  410. default 1 if BT_LOG_SDP_TRACE_LEVEL_ERROR
  411. default 2 if BT_LOG_SDP_TRACE_LEVEL_WARNING
  412. default 3 if BT_LOG_SDP_TRACE_LEVEL_API
  413. default 4 if BT_LOG_SDP_TRACE_LEVEL_EVENT
  414. default 5 if BT_LOG_SDP_TRACE_LEVEL_DEBUG
  415. default 6 if BT_LOG_SDP_TRACE_LEVEL_VERBOSE
  416. default 2
  417. choice BT_LOG_GAP_TRACE_LEVEL
  418. prompt "GAP layer"
  419. default BT_LOG_GAP_TRACE_LEVEL_WARNING
  420. depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
  421. help
  422. Define BT trace level for GAP layer
  423. config BT_LOG_GAP_TRACE_LEVEL_NONE
  424. bool "NONE"
  425. config BT_LOG_GAP_TRACE_LEVEL_ERROR
  426. bool "ERROR"
  427. config BT_LOG_GAP_TRACE_LEVEL_WARNING
  428. bool "WARNING"
  429. config BT_LOG_GAP_TRACE_LEVEL_API
  430. bool "API"
  431. config BT_LOG_GAP_TRACE_LEVEL_EVENT
  432. bool "EVENT"
  433. config BT_LOG_GAP_TRACE_LEVEL_DEBUG
  434. bool "DEBUG"
  435. config BT_LOG_GAP_TRACE_LEVEL_VERBOSE
  436. bool "VERBOSE"
  437. endchoice
  438. config BT_LOG_GAP_TRACE_LEVEL
  439. int
  440. depends on BT_BLUEDROID_ENABLED
  441. default 0 if BT_LOG_GAP_TRACE_LEVEL_NONE
  442. default 1 if BT_LOG_GAP_TRACE_LEVEL_ERROR
  443. default 2 if BT_LOG_GAP_TRACE_LEVEL_WARNING
  444. default 3 if BT_LOG_GAP_TRACE_LEVEL_API
  445. default 4 if BT_LOG_GAP_TRACE_LEVEL_EVENT
  446. default 5 if BT_LOG_GAP_TRACE_LEVEL_DEBUG
  447. default 6 if BT_LOG_GAP_TRACE_LEVEL_VERBOSE
  448. default 2
  449. choice BT_LOG_BNEP_TRACE_LEVEL
  450. prompt "BNEP layer"
  451. default BT_LOG_BNEP_TRACE_LEVEL_WARNING
  452. depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
  453. help
  454. Define BT trace level for BNEP layer
  455. config BT_LOG_BNEP_TRACE_LEVEL_NONE
  456. bool "NONE"
  457. config BT_LOG_BNEP_TRACE_LEVEL_ERROR
  458. bool "ERROR"
  459. config BT_LOG_BNEP_TRACE_LEVEL_WARNING
  460. bool "WARNING"
  461. config BT_LOG_BNEP_TRACE_LEVEL_API
  462. bool "API"
  463. config BT_LOG_BNEP_TRACE_LEVEL_EVENT
  464. bool "EVENT"
  465. config BT_LOG_BNEP_TRACE_LEVEL_DEBUG
  466. bool "DEBUG"
  467. config BT_LOG_BNEP_TRACE_LEVEL_VERBOSE
  468. bool "VERBOSE"
  469. endchoice
  470. config BT_LOG_BNEP_TRACE_LEVEL
  471. int
  472. depends on BT_BLUEDROID_ENABLED
  473. default 0 if BT_LOG_BNEP_TRACE_LEVEL_NONE
  474. default 1 if BT_LOG_BNEP_TRACE_LEVEL_ERROR
  475. default 2 if BT_LOG_BNEP_TRACE_LEVEL_WARNING
  476. default 3 if BT_LOG_BNEP_TRACE_LEVEL_API
  477. default 4 if BT_LOG_BNEP_TRACE_LEVEL_EVENT
  478. default 5 if BT_LOG_BNEP_TRACE_LEVEL_DEBUG
  479. default 6 if BT_LOG_BNEP_TRACE_LEVEL_VERBOSE
  480. default 2
  481. choice BT_LOG_PAN_TRACE_LEVEL
  482. prompt "PAN layer"
  483. default BT_LOG_PAN_TRACE_LEVEL_WARNING
  484. depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
  485. help
  486. Define BT trace level for PAN layer
  487. config BT_LOG_PAN_TRACE_LEVEL_NONE
  488. bool "NONE"
  489. config BT_LOG_PAN_TRACE_LEVEL_ERROR
  490. bool "ERROR"
  491. config BT_LOG_PAN_TRACE_LEVEL_WARNING
  492. bool "WARNING"
  493. config BT_LOG_PAN_TRACE_LEVEL_API
  494. bool "API"
  495. config BT_LOG_PAN_TRACE_LEVEL_EVENT
  496. bool "EVENT"
  497. config BT_LOG_PAN_TRACE_LEVEL_DEBUG
  498. bool "DEBUG"
  499. config BT_LOG_PAN_TRACE_LEVEL_VERBOSE
  500. bool "VERBOSE"
  501. endchoice
  502. config BT_LOG_PAN_TRACE_LEVEL
  503. int
  504. depends on BT_BLUEDROID_ENABLED
  505. default 0 if BT_LOG_PAN_TRACE_LEVEL_NONE
  506. default 1 if BT_LOG_PAN_TRACE_LEVEL_ERROR
  507. default 2 if BT_LOG_PAN_TRACE_LEVEL_WARNING
  508. default 3 if BT_LOG_PAN_TRACE_LEVEL_API
  509. default 4 if BT_LOG_PAN_TRACE_LEVEL_EVENT
  510. default 5 if BT_LOG_PAN_TRACE_LEVEL_DEBUG
  511. default 6 if BT_LOG_PAN_TRACE_LEVEL_VERBOSE
  512. default 2
  513. choice BT_LOG_A2D_TRACE_LEVEL
  514. prompt "A2D layer"
  515. default BT_LOG_A2D_TRACE_LEVEL_WARNING
  516. depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
  517. help
  518. Define BT trace level for A2D layer
  519. config BT_LOG_A2D_TRACE_LEVEL_NONE
  520. bool "NONE"
  521. config BT_LOG_A2D_TRACE_LEVEL_ERROR
  522. bool "ERROR"
  523. config BT_LOG_A2D_TRACE_LEVEL_WARNING
  524. bool "WARNING"
  525. config BT_LOG_A2D_TRACE_LEVEL_API
  526. bool "API"
  527. config BT_LOG_A2D_TRACE_LEVEL_EVENT
  528. bool "EVENT"
  529. config BT_LOG_A2D_TRACE_LEVEL_DEBUG
  530. bool "DEBUG"
  531. config BT_LOG_A2D_TRACE_LEVEL_VERBOSE
  532. bool "VERBOSE"
  533. endchoice
  534. config BT_LOG_A2D_TRACE_LEVEL
  535. int
  536. depends on BT_BLUEDROID_ENABLED
  537. default 0 if BT_LOG_A2D_TRACE_LEVEL_NONE
  538. default 1 if BT_LOG_A2D_TRACE_LEVEL_ERROR
  539. default 2 if BT_LOG_A2D_TRACE_LEVEL_WARNING
  540. default 3 if BT_LOG_A2D_TRACE_LEVEL_API
  541. default 4 if BT_LOG_A2D_TRACE_LEVEL_EVENT
  542. default 5 if BT_LOG_A2D_TRACE_LEVEL_DEBUG
  543. default 6 if BT_LOG_A2D_TRACE_LEVEL_VERBOSE
  544. default 2
  545. choice BT_LOG_AVDT_TRACE_LEVEL
  546. prompt "AVDT layer"
  547. default BT_LOG_AVDT_TRACE_LEVEL_WARNING
  548. depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
  549. help
  550. Define BT trace level for AVDT layer
  551. config BT_LOG_AVDT_TRACE_LEVEL_NONE
  552. bool "NONE"
  553. config BT_LOG_AVDT_TRACE_LEVEL_ERROR
  554. bool "ERROR"
  555. config BT_LOG_AVDT_TRACE_LEVEL_WARNING
  556. bool "WARNING"
  557. config BT_LOG_AVDT_TRACE_LEVEL_API
  558. bool "API"
  559. config BT_LOG_AVDT_TRACE_LEVEL_EVENT
  560. bool "EVENT"
  561. config BT_LOG_AVDT_TRACE_LEVEL_DEBUG
  562. bool "DEBUG"
  563. config BT_LOG_AVDT_TRACE_LEVEL_VERBOSE
  564. bool "VERBOSE"
  565. endchoice
  566. config BT_LOG_AVDT_TRACE_LEVEL
  567. int
  568. depends on BT_BLUEDROID_ENABLED
  569. default 0 if BT_LOG_AVDT_TRACE_LEVEL_NONE
  570. default 1 if BT_LOG_AVDT_TRACE_LEVEL_ERROR
  571. default 2 if BT_LOG_AVDT_TRACE_LEVEL_WARNING
  572. default 3 if BT_LOG_AVDT_TRACE_LEVEL_API
  573. default 4 if BT_LOG_AVDT_TRACE_LEVEL_EVENT
  574. default 5 if BT_LOG_AVDT_TRACE_LEVEL_DEBUG
  575. default 6 if BT_LOG_AVDT_TRACE_LEVEL_VERBOSE
  576. default 2
  577. choice BT_LOG_AVCT_TRACE_LEVEL
  578. prompt "AVCT layer"
  579. default BT_LOG_AVCT_TRACE_LEVEL_WARNING
  580. depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
  581. help
  582. Define BT trace level for AVCT layer
  583. config BT_LOG_AVCT_TRACE_LEVEL_NONE
  584. bool "NONE"
  585. config BT_LOG_AVCT_TRACE_LEVEL_ERROR
  586. bool "ERROR"
  587. config BT_LOG_AVCT_TRACE_LEVEL_WARNING
  588. bool "WARNING"
  589. config BT_LOG_AVCT_TRACE_LEVEL_API
  590. bool "API"
  591. config BT_LOG_AVCT_TRACE_LEVEL_EVENT
  592. bool "EVENT"
  593. config BT_LOG_AVCT_TRACE_LEVEL_DEBUG
  594. bool "DEBUG"
  595. config BT_LOG_AVCT_TRACE_LEVEL_VERBOSE
  596. bool "VERBOSE"
  597. endchoice
  598. config BT_LOG_AVCT_TRACE_LEVEL
  599. int
  600. depends on BT_BLUEDROID_ENABLED
  601. default 0 if BT_LOG_AVCT_TRACE_LEVEL_NONE
  602. default 1 if BT_LOG_AVCT_TRACE_LEVEL_ERROR
  603. default 2 if BT_LOG_AVCT_TRACE_LEVEL_WARNING
  604. default 3 if BT_LOG_AVCT_TRACE_LEVEL_API
  605. default 4 if BT_LOG_AVCT_TRACE_LEVEL_EVENT
  606. default 5 if BT_LOG_AVCT_TRACE_LEVEL_DEBUG
  607. default 6 if BT_LOG_AVCT_TRACE_LEVEL_VERBOSE
  608. default 2
  609. choice BT_LOG_AVRC_TRACE_LEVEL
  610. prompt "AVRC layer"
  611. default BT_LOG_AVRC_TRACE_LEVEL_WARNING
  612. depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
  613. help
  614. Define BT trace level for AVRC layer
  615. config BT_LOG_AVRC_TRACE_LEVEL_NONE
  616. bool "NONE"
  617. config BT_LOG_AVRC_TRACE_LEVEL_ERROR
  618. bool "ERROR"
  619. config BT_LOG_AVRC_TRACE_LEVEL_WARNING
  620. bool "WARNING"
  621. config BT_LOG_AVRC_TRACE_LEVEL_API
  622. bool "API"
  623. config BT_LOG_AVRC_TRACE_LEVEL_EVENT
  624. bool "EVENT"
  625. config BT_LOG_AVRC_TRACE_LEVEL_DEBUG
  626. bool "DEBUG"
  627. config BT_LOG_AVRC_TRACE_LEVEL_VERBOSE
  628. bool "VERBOSE"
  629. endchoice
  630. config BT_LOG_AVRC_TRACE_LEVEL
  631. int
  632. depends on BT_BLUEDROID_ENABLED
  633. default 0 if BT_LOG_AVRC_TRACE_LEVEL_NONE
  634. default 1 if BT_LOG_AVRC_TRACE_LEVEL_ERROR
  635. default 2 if BT_LOG_AVRC_TRACE_LEVEL_WARNING
  636. default 3 if BT_LOG_AVRC_TRACE_LEVEL_API
  637. default 4 if BT_LOG_AVRC_TRACE_LEVEL_EVENT
  638. default 5 if BT_LOG_AVRC_TRACE_LEVEL_DEBUG
  639. default 6 if BT_LOG_AVRC_TRACE_LEVEL_VERBOSE
  640. default 2
  641. choice BT_LOG_MCA_TRACE_LEVEL
  642. prompt "MCA layer"
  643. default BT_LOG_MCA_TRACE_LEVEL_WARNING
  644. depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
  645. help
  646. Define BT trace level for MCA layer
  647. config BT_LOG_MCA_TRACE_LEVEL_NONE
  648. bool "NONE"
  649. config BT_LOG_MCA_TRACE_LEVEL_ERROR
  650. bool "ERROR"
  651. config BT_LOG_MCA_TRACE_LEVEL_WARNING
  652. bool "WARNING"
  653. config BT_LOG_MCA_TRACE_LEVEL_API
  654. bool "API"
  655. config BT_LOG_MCA_TRACE_LEVEL_EVENT
  656. bool "EVENT"
  657. config BT_LOG_MCA_TRACE_LEVEL_DEBUG
  658. bool "DEBUG"
  659. config BT_LOG_MCA_TRACE_LEVEL_VERBOSE
  660. bool "VERBOSE"
  661. endchoice
  662. config BT_LOG_MCA_TRACE_LEVEL
  663. int
  664. depends on BT_BLUEDROID_ENABLED
  665. default 0 if BT_LOG_MCA_TRACE_LEVEL_NONE
  666. default 1 if BT_LOG_MCA_TRACE_LEVEL_ERROR
  667. default 2 if BT_LOG_MCA_TRACE_LEVEL_WARNING
  668. default 3 if BT_LOG_MCA_TRACE_LEVEL_API
  669. default 4 if BT_LOG_MCA_TRACE_LEVEL_EVENT
  670. default 5 if BT_LOG_MCA_TRACE_LEVEL_DEBUG
  671. default 6 if BT_LOG_MCA_TRACE_LEVEL_VERBOSE
  672. default 2
  673. choice BT_LOG_HID_TRACE_LEVEL
  674. prompt "HID layer"
  675. default BT_LOG_HID_TRACE_LEVEL_WARNING
  676. depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
  677. help
  678. Define BT trace level for HID layer
  679. config BT_LOG_HID_TRACE_LEVEL_NONE
  680. bool "NONE"
  681. config BT_LOG_HID_TRACE_LEVEL_ERROR
  682. bool "ERROR"
  683. config BT_LOG_HID_TRACE_LEVEL_WARNING
  684. bool "WARNING"
  685. config BT_LOG_HID_TRACE_LEVEL_API
  686. bool "API"
  687. config BT_LOG_HID_TRACE_LEVEL_EVENT
  688. bool "EVENT"
  689. config BT_LOG_HID_TRACE_LEVEL_DEBUG
  690. bool "DEBUG"
  691. config BT_LOG_HID_TRACE_LEVEL_VERBOSE
  692. bool "VERBOSE"
  693. endchoice
  694. config BT_LOG_HID_TRACE_LEVEL
  695. int
  696. depends on BT_BLUEDROID_ENABLED
  697. default 0 if BT_LOG_HID_TRACE_LEVEL_NONE
  698. default 1 if BT_LOG_HID_TRACE_LEVEL_ERROR
  699. default 2 if BT_LOG_HID_TRACE_LEVEL_WARNING
  700. default 3 if BT_LOG_HID_TRACE_LEVEL_API
  701. default 4 if BT_LOG_HID_TRACE_LEVEL_EVENT
  702. default 5 if BT_LOG_HID_TRACE_LEVEL_DEBUG
  703. default 6 if BT_LOG_HID_TRACE_LEVEL_VERBOSE
  704. default 2
  705. choice BT_LOG_APPL_TRACE_LEVEL
  706. prompt "APPL layer"
  707. default BT_LOG_APPL_TRACE_LEVEL_WARNING
  708. depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
  709. help
  710. Define BT trace level for APPL layer
  711. config BT_LOG_APPL_TRACE_LEVEL_NONE
  712. bool "NONE"
  713. config BT_LOG_APPL_TRACE_LEVEL_ERROR
  714. bool "ERROR"
  715. config BT_LOG_APPL_TRACE_LEVEL_WARNING
  716. bool "WARNING"
  717. config BT_LOG_APPL_TRACE_LEVEL_API
  718. bool "API"
  719. config BT_LOG_APPL_TRACE_LEVEL_EVENT
  720. bool "EVENT"
  721. config BT_LOG_APPL_TRACE_LEVEL_DEBUG
  722. bool "DEBUG"
  723. config BT_LOG_APPL_TRACE_LEVEL_VERBOSE
  724. bool "VERBOSE"
  725. endchoice
  726. config BT_LOG_APPL_TRACE_LEVEL
  727. int
  728. depends on BT_BLUEDROID_ENABLED
  729. default 0 if BT_LOG_APPL_TRACE_LEVEL_NONE
  730. default 1 if BT_LOG_APPL_TRACE_LEVEL_ERROR
  731. default 2 if BT_LOG_APPL_TRACE_LEVEL_WARNING
  732. default 3 if BT_LOG_APPL_TRACE_LEVEL_API
  733. default 4 if BT_LOG_APPL_TRACE_LEVEL_EVENT
  734. default 5 if BT_LOG_APPL_TRACE_LEVEL_DEBUG
  735. default 6 if BT_LOG_APPL_TRACE_LEVEL_VERBOSE
  736. default 2
  737. choice BT_LOG_GATT_TRACE_LEVEL
  738. prompt "GATT layer"
  739. default BT_LOG_GATT_TRACE_LEVEL_WARNING
  740. depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
  741. help
  742. Define BT trace level for GATT layer
  743. config BT_LOG_GATT_TRACE_LEVEL_NONE
  744. bool "NONE"
  745. config BT_LOG_GATT_TRACE_LEVEL_ERROR
  746. bool "ERROR"
  747. config BT_LOG_GATT_TRACE_LEVEL_WARNING
  748. bool "WARNING"
  749. config BT_LOG_GATT_TRACE_LEVEL_API
  750. bool "API"
  751. config BT_LOG_GATT_TRACE_LEVEL_EVENT
  752. bool "EVENT"
  753. config BT_LOG_GATT_TRACE_LEVEL_DEBUG
  754. bool "DEBUG"
  755. config BT_LOG_GATT_TRACE_LEVEL_VERBOSE
  756. bool "VERBOSE"
  757. endchoice
  758. config BT_LOG_GATT_TRACE_LEVEL
  759. int
  760. depends on BT_BLUEDROID_ENABLED
  761. default 0 if BT_LOG_GATT_TRACE_LEVEL_NONE
  762. default 1 if BT_LOG_GATT_TRACE_LEVEL_ERROR
  763. default 2 if BT_LOG_GATT_TRACE_LEVEL_WARNING
  764. default 3 if BT_LOG_GATT_TRACE_LEVEL_API
  765. default 4 if BT_LOG_GATT_TRACE_LEVEL_EVENT
  766. default 5 if BT_LOG_GATT_TRACE_LEVEL_DEBUG
  767. default 6 if BT_LOG_GATT_TRACE_LEVEL_VERBOSE
  768. default 2
  769. choice BT_LOG_SMP_TRACE_LEVEL
  770. prompt "SMP layer"
  771. default BT_LOG_SMP_TRACE_LEVEL_WARNING
  772. depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
  773. help
  774. Define BT trace level for SMP layer
  775. config BT_LOG_SMP_TRACE_LEVEL_NONE
  776. bool "NONE"
  777. config BT_LOG_SMP_TRACE_LEVEL_ERROR
  778. bool "ERROR"
  779. config BT_LOG_SMP_TRACE_LEVEL_WARNING
  780. bool "WARNING"
  781. config BT_LOG_SMP_TRACE_LEVEL_API
  782. bool "API"
  783. config BT_LOG_SMP_TRACE_LEVEL_EVENT
  784. bool "EVENT"
  785. config BT_LOG_SMP_TRACE_LEVEL_DEBUG
  786. bool "DEBUG"
  787. config BT_LOG_SMP_TRACE_LEVEL_VERBOSE
  788. bool "VERBOSE"
  789. endchoice
  790. config BT_LOG_SMP_TRACE_LEVEL
  791. int
  792. depends on BT_BLUEDROID_ENABLED
  793. default 0 if BT_LOG_SMP_TRACE_LEVEL_NONE
  794. default 1 if BT_LOG_SMP_TRACE_LEVEL_ERROR
  795. default 2 if BT_LOG_SMP_TRACE_LEVEL_WARNING
  796. default 3 if BT_LOG_SMP_TRACE_LEVEL_API
  797. default 4 if BT_LOG_SMP_TRACE_LEVEL_EVENT
  798. default 5 if BT_LOG_SMP_TRACE_LEVEL_DEBUG
  799. default 6 if BT_LOG_SMP_TRACE_LEVEL_VERBOSE
  800. default 2
  801. choice BT_LOG_BTIF_TRACE_LEVEL
  802. prompt "BTIF layer"
  803. default BT_LOG_BTIF_TRACE_LEVEL_WARNING
  804. depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
  805. help
  806. Define BT trace level for BTIF layer
  807. config BT_LOG_BTIF_TRACE_LEVEL_NONE
  808. bool "NONE"
  809. config BT_LOG_BTIF_TRACE_LEVEL_ERROR
  810. bool "ERROR"
  811. config BT_LOG_BTIF_TRACE_LEVEL_WARNING
  812. bool "WARNING"
  813. config BT_LOG_BTIF_TRACE_LEVEL_API
  814. bool "API"
  815. config BT_LOG_BTIF_TRACE_LEVEL_EVENT
  816. bool "EVENT"
  817. config BT_LOG_BTIF_TRACE_LEVEL_DEBUG
  818. bool "DEBUG"
  819. config BT_LOG_BTIF_TRACE_LEVEL_VERBOSE
  820. bool "VERBOSE"
  821. endchoice
  822. config BT_LOG_BTIF_TRACE_LEVEL
  823. int
  824. depends on BT_BLUEDROID_ENABLED
  825. default 0 if BT_LOG_BTIF_TRACE_LEVEL_NONE
  826. default 1 if BT_LOG_BTIF_TRACE_LEVEL_ERROR
  827. default 2 if BT_LOG_BTIF_TRACE_LEVEL_WARNING
  828. default 3 if BT_LOG_BTIF_TRACE_LEVEL_API
  829. default 4 if BT_LOG_BTIF_TRACE_LEVEL_EVENT
  830. default 5 if BT_LOG_BTIF_TRACE_LEVEL_DEBUG
  831. default 6 if BT_LOG_BTIF_TRACE_LEVEL_VERBOSE
  832. default 2
  833. choice BT_LOG_BTC_TRACE_LEVEL
  834. prompt "BTC layer"
  835. default BT_LOG_BTC_TRACE_LEVEL_WARNING
  836. depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
  837. help
  838. Define BT trace level for BTC layer
  839. config BT_LOG_BTC_TRACE_LEVEL_NONE
  840. bool "NONE"
  841. config BT_LOG_BTC_TRACE_LEVEL_ERROR
  842. bool "ERROR"
  843. config BT_LOG_BTC_TRACE_LEVEL_WARNING
  844. bool "WARNING"
  845. config BT_LOG_BTC_TRACE_LEVEL_API
  846. bool "API"
  847. config BT_LOG_BTC_TRACE_LEVEL_EVENT
  848. bool "EVENT"
  849. config BT_LOG_BTC_TRACE_LEVEL_DEBUG
  850. bool "DEBUG"
  851. config BT_LOG_BTC_TRACE_LEVEL_VERBOSE
  852. bool "VERBOSE"
  853. endchoice
  854. config BT_LOG_BTC_TRACE_LEVEL
  855. int
  856. depends on BT_BLUEDROID_ENABLED
  857. default 0 if BT_LOG_BTC_TRACE_LEVEL_NONE
  858. default 1 if BT_LOG_BTC_TRACE_LEVEL_ERROR
  859. default 2 if BT_LOG_BTC_TRACE_LEVEL_WARNING
  860. default 3 if BT_LOG_BTC_TRACE_LEVEL_API
  861. default 4 if BT_LOG_BTC_TRACE_LEVEL_EVENT
  862. default 5 if BT_LOG_BTC_TRACE_LEVEL_DEBUG
  863. default 6 if BT_LOG_BTC_TRACE_LEVEL_VERBOSE
  864. default 2
  865. choice BT_LOG_OSI_TRACE_LEVEL
  866. prompt "OSI layer"
  867. default BT_LOG_OSI_TRACE_LEVEL_WARNING
  868. depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
  869. help
  870. Define BT trace level for OSI layer
  871. config BT_LOG_OSI_TRACE_LEVEL_NONE
  872. bool "NONE"
  873. config BT_LOG_OSI_TRACE_LEVEL_ERROR
  874. bool "ERROR"
  875. config BT_LOG_OSI_TRACE_LEVEL_WARNING
  876. bool "WARNING"
  877. config BT_LOG_OSI_TRACE_LEVEL_API
  878. bool "API"
  879. config BT_LOG_OSI_TRACE_LEVEL_EVENT
  880. bool "EVENT"
  881. config BT_LOG_OSI_TRACE_LEVEL_DEBUG
  882. bool "DEBUG"
  883. config BT_LOG_OSI_TRACE_LEVEL_VERBOSE
  884. bool "VERBOSE"
  885. endchoice
  886. config BT_LOG_OSI_TRACE_LEVEL
  887. int
  888. depends on BT_BLUEDROID_ENABLED
  889. default 0 if BT_LOG_OSI_TRACE_LEVEL_NONE
  890. default 1 if BT_LOG_OSI_TRACE_LEVEL_ERROR
  891. default 2 if BT_LOG_OSI_TRACE_LEVEL_WARNING
  892. default 3 if BT_LOG_OSI_TRACE_LEVEL_API
  893. default 4 if BT_LOG_OSI_TRACE_LEVEL_EVENT
  894. default 5 if BT_LOG_OSI_TRACE_LEVEL_DEBUG
  895. default 6 if BT_LOG_OSI_TRACE_LEVEL_VERBOSE
  896. default 2
  897. choice BT_LOG_BLUFI_TRACE_LEVEL
  898. prompt "BLUFI layer"
  899. default BT_LOG_BLUFI_TRACE_LEVEL_WARNING
  900. depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
  901. help
  902. Define BT trace level for BLUFI layer
  903. config BT_LOG_BLUFI_TRACE_LEVEL_NONE
  904. bool "NONE"
  905. config BT_LOG_BLUFI_TRACE_LEVEL_ERROR
  906. bool "ERROR"
  907. config BT_LOG_BLUFI_TRACE_LEVEL_WARNING
  908. bool "WARNING"
  909. config BT_LOG_BLUFI_TRACE_LEVEL_API
  910. bool "API"
  911. config BT_LOG_BLUFI_TRACE_LEVEL_EVENT
  912. bool "EVENT"
  913. config BT_LOG_BLUFI_TRACE_LEVEL_DEBUG
  914. bool "DEBUG"
  915. config BT_LOG_BLUFI_TRACE_LEVEL_VERBOSE
  916. bool "VERBOSE"
  917. endchoice
  918. config BT_LOG_BLUFI_TRACE_LEVEL
  919. int
  920. depends on BT_BLUEDROID_ENABLED
  921. default 0 if BT_LOG_BLUFI_TRACE_LEVEL_NONE
  922. default 1 if BT_LOG_BLUFI_TRACE_LEVEL_ERROR
  923. default 2 if BT_LOG_BLUFI_TRACE_LEVEL_WARNING
  924. default 3 if BT_LOG_BLUFI_TRACE_LEVEL_API
  925. default 4 if BT_LOG_BLUFI_TRACE_LEVEL_EVENT
  926. default 5 if BT_LOG_BLUFI_TRACE_LEVEL_DEBUG
  927. default 6 if BT_LOG_BLUFI_TRACE_LEVEL_VERBOSE
  928. default 2
  929. endmenu #BT DEBUG LOG LEVEL
  930. config BT_ACL_CONNECTIONS
  931. int "BT/BLE MAX ACL CONNECTIONS(1~9)"
  932. depends on BT_BLUEDROID_ENABLED
  933. range 1 9
  934. default 4
  935. help
  936. Maximum BT/BLE connection count. The ESP32-C3/S3 chip supports a maximum of 10 instances,
  937. including ADV, SCAN and connections. The ESP32-C3/S3 chip can connect up to 9 devices if
  938. ADV or SCAN uses only one. If ADV and SCAN are both used, The ESP32-C3/S3 chip is connected
  939. to a maximum of 8 devices. Because Bluetooth cannot reclaim used instances once ADV or SCAN
  940. is used.
  941. config BT_MULTI_CONNECTION_ENBALE
  942. bool "Enable BLE multi-conections"
  943. depends on BT_BLUEDROID_ENABLED
  944. default y
  945. help
  946. Enable this option if there are multiple connections
  947. config BT_ALLOCATION_FROM_SPIRAM_FIRST
  948. bool "BT/BLE will first malloc the memory from the PSRAM"
  949. depends on BT_BLUEDROID_ENABLED
  950. default n
  951. help
  952. This select can save the internal RAM if there have the PSRAM
  953. config BT_BLE_DYNAMIC_ENV_MEMORY
  954. bool "Use dynamic memory allocation in BT/BLE stack"
  955. depends on BT_BLUEDROID_ENABLED
  956. default n
  957. help
  958. This select can make the allocation of memory will become more flexible
  959. config BT_BLE_HOST_QUEUE_CONG_CHECK
  960. bool "BLE queue congestion check"
  961. depends on BT_BLUEDROID_ENABLED
  962. default n
  963. help
  964. When scanning and scan duplicate is not enabled, if there are a lot of adv packets around
  965. or application layer handling adv packets is slow, it will cause the controller memory
  966. to run out. if enabled, adv packets will be lost when host queue is congested.
  967. config BT_SMP_ENABLE
  968. bool
  969. depends on BT_BLUEDROID_ENABLED
  970. default BT_CLASSIC_ENABLED || BT_BLE_SMP_ENABLE
  971. config BT_BLE_ACT_SCAN_REP_ADV_SCAN
  972. bool "Report adv data and scan response individually when BLE active scan"
  973. depends on BT_BLUEDROID_ENABLED && BT_BLE_ENABLED
  974. default n
  975. help
  976. Originally, when doing BLE active scan, Bluedroid will not report adv to application layer
  977. until receive scan response. This option is used to disable the behavior. When enable this option,
  978. Bluedroid will report adv data or scan response to application layer immediately.
  979. # Memory reserved at start of DRAM for Bluetooth stack
  980. config BT_BLE_ESTAB_LINK_CONN_TOUT
  981. int "Timeout of BLE connection establishment"
  982. depends on BT_BLUEDROID_ENABLED
  983. range 1 60
  984. default 30
  985. help
  986. Bluetooth Connection establishment maximum time, if connection time exceeds this value, the connection
  987. establishment fails, ESP_GATTC_OPEN_EVT or ESP_GATTS_OPEN_EVT is triggered.
  988. config BT_MAX_DEVICE_NAME_LEN
  989. int "length of bluetooth device name"
  990. depends on BT_BLUEDROID_ENABLED
  991. range 32 248
  992. default 32
  993. help
  994. Bluetooth Device name length shall be no larger than 248 octets, If the broadcast data cannot contain
  995. the complete device name, then only the shortname will be displayed, the rest parts that can't fit in
  996. will be truncated.
  997. config BT_BLE_RPA_SUPPORTED
  998. bool "Update RPA to Controller"
  999. depends on (BT_BLUEDROID_ENABLED && ((BT_CONTROLLER_ENABLED && !SOC_BLE_DEVICE_PRIVACY_SUPPORTED) || BT_CONTROLLER_DISABLED))
  1000. default n if (BT_CONTROLLER_ENABLED && !SOC_BLE_DEVICE_PRIVACY_SUPPORTED)
  1001. default y if BT_CONTROLLER_DISABLED
  1002. help
  1003. This enables controller RPA list function.
  1004. For ESP32, ESP32 only support network privacy mode. If this option is enabled, ESP32 will only accept
  1005. advertising packets from peer devices that contain private address, HW will not receive the advertising
  1006. packets contain identity address after IRK changed. If this option is disabled, address resolution will
  1007. be performed in the host, so the functions that require controller to resolve address in the white list
  1008. cannot be used. This option is disabled by default on ESP32, please enable or disable this option according
  1009. to your own needs.
  1010. For other BLE chips, devices support network privacy mode and device privacy mode,
  1011. users can switch the two modes according to their own needs. So this option is enabled by default.
  1012. config BT_BLE_RPA_TIMEOUT
  1013. int "Timeout of resolvable private address"
  1014. depends on BT_BLUEDROID_ENABLED
  1015. range 1 3600
  1016. default 900
  1017. help
  1018. This set RPA timeout of Controller and Host.
  1019. Default is 900 s (15 minutes). Range is 1 s to 1 hour (3600 s).
  1020. config BT_BLE_50_FEATURES_SUPPORTED
  1021. bool "Enable BLE 5.0 features"
  1022. depends on (BT_BLUEDROID_ENABLED && ((BT_CONTROLLER_ENABLED && SOC_BLE_50_SUPPORTED) || BT_CONTROLLER_DISABLED))
  1023. default y
  1024. help
  1025. This enables BLE 5.0 features, this option only support esp32c3/esp32s3 chip
  1026. config BT_BLE_42_FEATURES_SUPPORTED
  1027. bool "Enable BLE 4.2 features"
  1028. depends on (BT_BLUEDROID_ENABLED && ((BT_CONTROLLER_ENABLED && SOC_BLE_SUPPORTED) || BT_CONTROLLER_DISABLED))
  1029. default n
  1030. help
  1031. This enables BLE 4.2 features.
  1032. config BT_BLE_FEAT_PERIODIC_ADV_SYNC_TRANSFER
  1033. bool "Enable BLE periodic advertising sync transfer feature"
  1034. depends on (BT_BLUEDROID_ENABLED && BT_BLE_50_FEATURES_SUPPORTED && ((BT_CONTROLLER_ENABLED && SOC_ESP_NIMBLE_CONTROLLER) || BT_CONTROLLER_DISABLED))
  1035. default n
  1036. help
  1037. This enables BLE periodic advertising sync transfer feature
  1038. config BT_BLE_FEAT_PERIODIC_ADV_ENH
  1039. bool "Enable periodic adv enhancements(adi support)"
  1040. depends on (BT_BLUEDROID_ENABLED && BT_BLE_50_FEATURES_SUPPORTED && ((BT_CONTROLLER_ENABLED && SOC_ESP_NIMBLE_CONTROLLER) || BT_CONTROLLER_DISABLED))
  1041. default n
  1042. help
  1043. Enable the periodic advertising enhancements
  1044. config BT_BLE_HIGH_DUTY_ADV_INTERVAL
  1045. bool "Enable BLE high duty advertising interval feature"
  1046. depends on BT_BLUEDROID_ENABLED
  1047. default n
  1048. help
  1049. This enable BLE high duty advertising interval feature