Kconfig.in 50 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181
  1. if BLE_MESH
  2. config BLE_MESH_HCI_5_0
  3. bool "Support sending 20ms non-connectable adv packets"
  4. default y
  5. help
  6. It is a temporary solution and needs further modifications.
  7. config BLE_MESH_USE_DUPLICATE_SCAN
  8. bool "Support Duplicate Scan in BLE Mesh"
  9. depends on BT_BLUEDROID_ENABLED
  10. select BTDM_BLE_SCAN_DUPL
  11. select BTDM_BLE_MESH_SCAN_DUPL_EN
  12. default y
  13. help
  14. Enable this option to allow using specific duplicate scan filter
  15. in BLE Mesh, and Scan Duplicate Type must be set by choosing the
  16. option in the Bluetooth Controller section in menuconfig, which is
  17. "Scan Duplicate By Device Address and Advertising Data".
  18. choice BLE_MESH_MEM_ALLOC_MODE
  19. prompt "Memory allocation strategy"
  20. default BLE_MESH_MEM_ALLOC_MODE_INTERNAL
  21. help
  22. Allocation strategy for BLE Mesh stack, essentially provides ability to
  23. allocate all required dynamic allocations from,
  24. - Internal DRAM memory only
  25. - External SPIRAM memory only
  26. - Either internal or external memory based on default malloc()
  27. behavior in ESP-IDF
  28. - Internal IRAM memory wherever applicable else internal DRAM
  29. Recommended mode here is always internal, since that is most preferred
  30. from security perspective. But if application requirement does not allow
  31. sufficient free internal memory then alternate mode can be selected.
  32. config BLE_MESH_MEM_ALLOC_MODE_INTERNAL
  33. bool "Internal DRAM"
  34. config BLE_MESH_MEM_ALLOC_MODE_EXTERNAL
  35. bool "External SPIRAM"
  36. depends on ESP32_SPIRAM_SUPPORT
  37. config BLE_MESH_MEM_ALLOC_MODE_DEFAULT
  38. bool "Default alloc mode"
  39. depends on ESP32_SPIRAM_SUPPORT
  40. help
  41. Enable this option to use the default memory allocation strategy when
  42. external SPIRAM is enabled. See the SPIRAM options for more details.
  43. config BLE_MESH_MEM_ALLOC_MODE_IRAM_8BIT
  44. bool "Internal IRAM"
  45. depends on ESP32_IRAM_AS_8BIT_ACCESSIBLE_MEMORY
  46. help
  47. Allows to use IRAM memory region as 8bit accessible region. Every
  48. unaligned (8bit or 16bit) access will result in an exception and
  49. incur penalty of certain clock cycles per unaligned read/write.
  50. endchoice # BLE_MESH_MEM_ALLOC_MODE
  51. config BLE_MESH_FREERTOS_STATIC_ALLOC
  52. bool "Enable FreeRTOS static allocation"
  53. depends on FREERTOS_SUPPORT_STATIC_ALLOCATION && (ESP32_SPIRAM_SUPPORT || ESP32_IRAM_AS_8BIT_ACCESSIBLE_MEMORY)
  54. default n
  55. help
  56. Enable this option to use FreeRTOS static allocation APIs for BLE Mesh,
  57. which provides the ability to use different dynamic memory (i.e. SPIRAM
  58. or IRAM) for FreeRTOS objects.
  59. If this option is disabled, the FreeRTOS static allocation APIs will not
  60. be used, and internal DRAM will be allocated for FreeRTOS objects.
  61. choice BLE_MESH_FREERTOS_STATIC_ALLOC_MODE
  62. prompt "Memory allocation for FreeRTOS objects"
  63. depends on BLE_MESH_FREERTOS_STATIC_ALLOC
  64. help
  65. Choose the memory to be used for FreeRTOS objects.
  66. config BLE_MESH_FREERTOS_STATIC_ALLOC_EXTERNAL
  67. bool "External SPIRAM"
  68. depends on ESP32_SPIRAM_SUPPORT
  69. help
  70. If enabled, BLE Mesh allocates dynamic memory from external SPIRAM for
  71. FreeRTOS objects, i.e. mutex, queue, and task stack. External SPIRAM
  72. can only be used for task stack when SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY
  73. is enabled. See the SPIRAM options for more details.
  74. config BLE_MESH_FREERTOS_STATIC_ALLOC_IRAM_8BIT
  75. bool "Internal IRAM"
  76. depends on ESP32_IRAM_AS_8BIT_ACCESSIBLE_MEMORY
  77. help
  78. If enabled, BLE Mesh allocates dynamic memory from internal IRAM for
  79. FreeRTOS objects, i.e. mutex, queue. Note: IRAM region cannot be used
  80. as task stack.
  81. endchoice # BLE_MESH_FREERTOS_STATIC_ALLOC_MODE
  82. config BLE_MESH_DEINIT
  83. bool "Support de-initialize BLE Mesh stack"
  84. default y
  85. help
  86. If enabled, users can use the function esp_ble_mesh_deinit() to de-initialize
  87. the whole BLE Mesh stack.
  88. menu "BLE Mesh and BLE coexistence support"
  89. config BLE_MESH_SUPPORT_BLE_ADV
  90. bool "Support sending normal BLE advertising packets"
  91. default n
  92. help
  93. When selected, users can send normal BLE advertising packets
  94. with specific API.
  95. if BLE_MESH_SUPPORT_BLE_ADV
  96. config BLE_MESH_BLE_ADV_BUF_COUNT
  97. int "Number of advertising buffers for BLE advertising packets"
  98. default 3
  99. range 1 255
  100. help
  101. Number of advertising buffers for BLE packets available.
  102. endif # BLE_MESH_SUPPORT_BLE_ADV
  103. config BLE_MESH_SUPPORT_BLE_SCAN
  104. bool "Support scanning normal BLE advertising packets"
  105. default n
  106. help
  107. When selected, users can register a callback and receive normal BLE
  108. advertising packets in the application layer.
  109. endmenu # BLE Mesh and BLE coexistence support
  110. config BLE_MESH_FAST_PROV
  111. bool "Enable BLE Mesh Fast Provisioning"
  112. select BLE_MESH_NODE
  113. select BLE_MESH_PROVISIONER
  114. select BLE_MESH_PB_ADV
  115. default n
  116. help
  117. Enable this option to allow BLE Mesh fast provisioning solution to be used.
  118. When there are multiple unprovisioned devices around, fast provisioning can
  119. greatly reduce the time consumption of the whole provisioning process.
  120. When this option is enabled, and after an unprovisioned device is provisioned
  121. into a node successfully, it can be changed to a temporary Provisioner.
  122. config BLE_MESH_NODE
  123. bool "Support for BLE Mesh Node"
  124. help
  125. Enable the device to be provisioned into a node. This option should be
  126. enabled when an unprovisioned device is going to be provisioned into a
  127. node and communicate with other nodes in the BLE Mesh network.
  128. config BLE_MESH_PROVISIONER
  129. bool "Support for BLE Mesh Provisioner"
  130. help
  131. Enable the device to be a Provisioner. The option should be enabled when
  132. a device is going to act as a Provisioner and provision unprovisioned
  133. devices into the BLE Mesh network.
  134. if BLE_MESH_PROVISIONER
  135. config BLE_MESH_WAIT_FOR_PROV_MAX_DEV_NUM
  136. int "Maximum number of unprovisioned devices that can be added to device queue"
  137. default 10
  138. range 1 100
  139. help
  140. This option specifies how many unprovisioned devices can be added to device
  141. queue for provisioning. Users can use this option to define the size of the
  142. queue in the bottom layer which is used to store unprovisioned device
  143. information (e.g. Device UUID, address).
  144. config BLE_MESH_MAX_PROV_NODES
  145. int "Maximum number of devices that can be provisioned by Provisioner"
  146. default 10
  147. range 1 1000
  148. help
  149. This option specifies how many devices can be provisioned by a Provisioner.
  150. This value indicates the maximum number of unprovisioned devices which can be
  151. provisioned by a Provisioner. For instance, if the value is 6, it means the
  152. Provisioner can provision up to 6 unprovisioned devices.
  153. Theoretically a Provisioner without the limitation of its memory can provision
  154. up to 32766 unprovisioned devices, here we limit the maximum number to 100
  155. just to limit the memory used by a Provisioner. The bigger the value is, the
  156. more memory it will cost by a Provisioner to store the information of nodes.
  157. if BLE_MESH_PB_ADV
  158. config BLE_MESH_PBA_SAME_TIME
  159. int "Maximum number of PB-ADV running at the same time by Provisioner"
  160. default 2
  161. range 1 10
  162. help
  163. This option specifies how many devices can be provisioned at the same time
  164. using PB-ADV. For examples, if the value is 2, it means a Provisioner can
  165. provision two unprovisioned devices with PB-ADV at the same time.
  166. endif # BLE_MESH_PB_ADV
  167. if BLE_MESH_PB_GATT
  168. config BLE_MESH_PBG_SAME_TIME
  169. int "Maximum number of PB-GATT running at the same time by Provisioner"
  170. default 1
  171. range 1 5
  172. help
  173. This option specifies how many devices can be provisioned at the same
  174. time using PB-GATT. For example, if the value is 2, it means a Provisioner
  175. can provision two unprovisioned devices with PB-GATT at the same time.
  176. endif # BLE_MESH_PB_GATT
  177. config BLE_MESH_PROVISIONER_SUBNET_COUNT
  178. int "Maximum number of mesh subnets that can be created by Provisioner"
  179. default 3
  180. range 1 4096
  181. help
  182. This option specifies how many subnets per network a Provisioner can create.
  183. Indeed, this value decides the number of network keys which can be added by a Provisioner.
  184. config BLE_MESH_PROVISIONER_APP_KEY_COUNT
  185. int "Maximum number of application keys that can be owned by Provisioner"
  186. default 3
  187. range 1 4096
  188. help
  189. This option specifies how many application keys the Provisioner can have.
  190. Indeed, this value decides the number of the application keys which can be added by a Provisioner.
  191. config BLE_MESH_PROVISIONER_RECV_HB
  192. bool "Support receiving Heartbeat messages"
  193. default n
  194. help
  195. When this option is enabled, Provisioner can call specific functions to enable
  196. or disable receiving Heartbeat messages and notify them to the application layer.
  197. if BLE_MESH_PROVISIONER_RECV_HB
  198. config BLE_MESH_PROVISIONER_RECV_HB_FILTER_SIZE
  199. int "Maximum number of filter entries for receiving Heartbeat messages"
  200. default 3
  201. range 1 1000
  202. help
  203. This option specifies how many heartbeat filter entries Provisioner supports.
  204. The heartbeat filter (acceptlist or rejectlist) entries are used to store a
  205. list of SRC and DST which can be used to decide if a heartbeat message will
  206. be processed and notified to the application layer by Provisioner.
  207. Note: The filter is an empty rejectlist by default.
  208. endif # BLE_MESH_PROVISIONER_RECV_HB
  209. endif # BLE_MESH_PROVISIONER
  210. # Virtual option enabled whenever Generic Provisioning layer is needed
  211. config BLE_MESH_PROV
  212. bool "BLE Mesh Provisioning support"
  213. default y
  214. help
  215. Enable this option to support BLE Mesh Provisioning functionality. For
  216. BLE Mesh, this option should be always enabled.
  217. config BLE_MESH_PB_ADV
  218. bool "Provisioning support using the advertising bearer (PB-ADV)"
  219. select BLE_MESH_PROV
  220. default y
  221. help
  222. Enable this option to allow the device to be provisioned over the
  223. advertising bearer. This option should be enabled if PB-ADV is
  224. going to be used during provisioning procedure.
  225. config BLE_MESH_PB_GATT
  226. bool "Provisioning support using GATT (PB-GATT)"
  227. select BLE_MESH_PROXY
  228. select BLE_MESH_PROV
  229. help
  230. Enable this option to allow the device to be provisioned over GATT.
  231. This option should be enabled if PB-GATT is going to be used during
  232. provisioning procedure.
  233. # Virtual option enabled whenever any Proxy protocol is needed
  234. config BLE_MESH_PROXY
  235. bool "BLE Mesh Proxy protocol support"
  236. default y
  237. help
  238. Enable this option to support BLE Mesh Proxy protocol used by PB-GATT
  239. and other proxy pdu transmission.
  240. config BLE_MESH_GATT_PROXY_SERVER
  241. bool "BLE Mesh GATT Proxy Server"
  242. select BLE_MESH_PROXY
  243. depends on BLE_MESH_NODE
  244. default y
  245. help
  246. This option enables support for Mesh GATT Proxy Service, i.e. the
  247. ability to act as a proxy between a Mesh GATT Client and a Mesh network.
  248. This option should be enabled if a node is going to be a Proxy Server.
  249. config BLE_MESH_NODE_ID_TIMEOUT
  250. int "Node Identity advertising timeout"
  251. depends on BLE_MESH_GATT_PROXY_SERVER
  252. range 1 60
  253. default 60
  254. help
  255. This option determines for how long the local node advertises using
  256. Node Identity. The given value is in seconds. The specification limits
  257. this to 60 seconds and lists it as the recommended value as well.
  258. So leaving the default value is the safest option.
  259. When an unprovisioned device is provisioned successfully and becomes a
  260. node, it will start to advertise using Node Identity during the time
  261. set by this option. And after that, Network ID will be advertised.
  262. config BLE_MESH_PROXY_FILTER_SIZE
  263. int "Maximum number of filter entries per Proxy Client"
  264. depends on BLE_MESH_GATT_PROXY_SERVER
  265. default 4
  266. range 1 32767
  267. help
  268. This option specifies how many Proxy Filter entries the local node supports.
  269. The entries of Proxy filter (whitelist or blacklist) are used to store a
  270. list of addresses which can be used to decide which messages will be forwarded
  271. to the Proxy Client by the Proxy Server.
  272. config BLE_MESH_GATT_PROXY_CLIENT
  273. bool "BLE Mesh GATT Proxy Client"
  274. select BLE_MESH_PROXY
  275. default n
  276. help
  277. This option enables support for Mesh GATT Proxy Client. The Proxy Client
  278. can use the GATT bearer to send mesh messages to a node that supports the
  279. advertising bearer.
  280. config BLE_MESH_NET_BUF_POOL_USAGE
  281. bool
  282. default y
  283. help
  284. Enable BLE Mesh net buffer pool tracking. This option is used to introduce another
  285. variable in the bottom layer to record the usage of advertising buffers of BLE Mesh
  286. devices. Recommend to enable this option as default.
  287. config BLE_MESH_SETTINGS
  288. bool "Store BLE Mesh configuration persistently"
  289. default n
  290. help
  291. When selected, the BLE Mesh stack will take care of storing/restoring the BLE
  292. Mesh configuration persistently in flash.
  293. If the device is a BLE Mesh node, when this option is enabled, the configuration
  294. of the device will be stored persistently, including unicast address, NetKey,
  295. AppKey, etc.
  296. And if the device is a BLE Mesh Provisioner, the information of the device will
  297. be stored persistently, including the information of provisioned nodes, NetKey,
  298. AppKey, etc.
  299. if BLE_MESH_SETTINGS
  300. config BLE_MESH_STORE_TIMEOUT
  301. int "Delay (in seconds) before storing anything persistently"
  302. range 0 1000000
  303. default 0
  304. help
  305. This value defines in seconds how soon any pending changes are actually
  306. written into persistent storage (flash) after a change occurs.
  307. The option allows nodes to delay a certain period of time to save proper
  308. information to flash. The default value is 0, which means information
  309. will be stored immediately once there are updates.
  310. config BLE_MESH_SEQ_STORE_RATE
  311. int "How often the sequence number gets updated in storage"
  312. range 0 1000000
  313. default 0
  314. help
  315. This value defines how often the local sequence number gets updated in
  316. persistent storage (i.e. flash). e.g. a value of 100 means that the
  317. sequence number will be stored to flash on every 100th increment.
  318. If the node sends messages very frequently a higher value makes more
  319. sense, whereas if the node sends infrequently a value as low as 0
  320. (update storage for every increment) can make sense. When the stack
  321. gets initialized it will add sequence number to the last stored one,
  322. so that it starts off with a value that's guaranteed to be larger than
  323. the last one used before power off.
  324. config BLE_MESH_RPL_STORE_TIMEOUT
  325. int "Minimum frequency that the RPL gets updated in storage"
  326. range 0 1000000
  327. default 0
  328. help
  329. This value defines in seconds how soon the RPL (Replay Protection List)
  330. gets written to persistent storage after a change occurs. If the node
  331. receives messages frequently, then a large value is recommended. If the
  332. node receives messages rarely, then the value can be as low as 0 (which
  333. means the RPL is written into the storage immediately).
  334. Note that if the node operates in a security-sensitive case, and there is
  335. a risk of sudden power-off, then a value of 0 is strongly recommended.
  336. Otherwise, a power loss before RPL being written into the storage may
  337. introduce message replay attacks and system security will be in a
  338. vulnerable state.
  339. config BLE_MESH_SETTINGS_BACKWARD_COMPATIBILITY
  340. bool "A specific option for settings backward compatibility"
  341. depends on BLE_MESH_NODE
  342. default n
  343. help
  344. This option is created to solve the issue of failure in recovering
  345. node information after mesh stack updates. In the old version mesh
  346. stack, there is no key of "mesh/role" in nvs. In the new version
  347. mesh stack, key of "mesh/role" is added in nvs, recovering node
  348. information needs to check "mesh/role" key in nvs and implements
  349. selective recovery of mesh node information. Therefore, there may
  350. be failure in recovering node information during node restarting
  351. after OTA.
  352. The new version mesh stack adds the option of "mesh/role" because
  353. we have added the support of storing Provisioner information, while
  354. the old version only supports storing node information.
  355. If users are updating their nodes from old version to new version,
  356. we recommend enabling this option, so that system could set the flag
  357. in advance before recovering node information and make sure the node
  358. information recovering could work as expected.
  359. config BLE_MESH_SPECIFIC_PARTITION
  360. bool "Use a specific NVS partition for BLE Mesh"
  361. default n
  362. help
  363. When selected, the mesh stack will use a specified NVS partition instead of
  364. default NVS partition. Note that the specified partition must be registered
  365. with NVS using nvs_flash_init_partition() API, and the partition must exists
  366. in the csv file.
  367. When Provisioner needs to store a large amount of nodes' information in the
  368. flash (e.g. more than 20), this option is recommended to be enabled.
  369. config BLE_MESH_PARTITION_NAME
  370. string "Name of the NVS partition for BLE Mesh"
  371. depends on BLE_MESH_SPECIFIC_PARTITION
  372. default "ble_mesh"
  373. help
  374. This value defines the name of the specified NVS partition used by the
  375. mesh stack.
  376. config BLE_MESH_USE_MULTIPLE_NAMESPACE
  377. bool "Support using multiple NVS namespaces by Provisioner"
  378. depends on BLE_MESH_PROVISIONER
  379. default n
  380. help
  381. When selected, Provisioner can use different NVS namespaces to store
  382. different instances of mesh information.
  383. For example, if in the first room, Provisioner uses NetKey A, AppKey
  384. A and provisions three devices, these information will be treated as
  385. mesh information instance A. When the Provisioner moves to the second
  386. room, it uses NetKey B, AppKey B and provisions two devices, then the
  387. information will be treated as mesh information instance B.
  388. Here instance A and instance B will be stored in different namespaces.
  389. With this option enabled, Provisioner needs to use specific functions
  390. to open the corresponding NVS namespace, restore the mesh information,
  391. release the mesh information or erase the mesh information.
  392. config BLE_MESH_MAX_NVS_NAMESPACE
  393. int "Maximum number of NVS namespaces"
  394. depends on BLE_MESH_USE_MULTIPLE_NAMESPACE
  395. default 2
  396. range 1 255
  397. help
  398. This option specifies the maximum NVS namespaces supported by Provisioner.
  399. endif # if BLE_MESH_SETTINGS
  400. config BLE_MESH_SUBNET_COUNT
  401. int "Maximum number of mesh subnets per network"
  402. default 3
  403. range 1 4096
  404. help
  405. This option specifies how many subnets a Mesh network can have at the same time.
  406. Indeed, this value decides the number of the network keys which can be owned by a node.
  407. config BLE_MESH_APP_KEY_COUNT
  408. int "Maximum number of application keys per network"
  409. default 3
  410. range 1 4096
  411. help
  412. This option specifies how many application keys the device can store per network.
  413. Indeed, this value decides the number of the application keys which can be owned by a node.
  414. config BLE_MESH_MODEL_KEY_COUNT
  415. int "Maximum number of application keys per model"
  416. default 3
  417. range 1 4096
  418. help
  419. This option specifies the maximum number of application keys to which each model
  420. can be bound.
  421. config BLE_MESH_MODEL_GROUP_COUNT
  422. int "Maximum number of group address subscriptions per model"
  423. default 3
  424. range 1 4096
  425. help
  426. This option specifies the maximum number of addresses to which each model can
  427. be subscribed.
  428. config BLE_MESH_LABEL_COUNT
  429. int "Maximum number of Label UUIDs used for Virtual Addresses"
  430. default 3
  431. range 0 4096
  432. help
  433. This option specifies how many Label UUIDs can be stored.
  434. Indeed, this value decides the number of the Virtual Addresses can be supported by a node.
  435. config BLE_MESH_CRPL
  436. int "Maximum capacity of the replay protection list"
  437. default 10
  438. range 2 65535
  439. help
  440. This option specifies the maximum capacity of the replay protection list.
  441. It is similar to Network message cache size, but has a different purpose.
  442. The replay protection list is used to prevent a node from replay attack,
  443. which will store the source address and sequence number of the received
  444. mesh messages.
  445. For Provisioner, the replay protection list size should not be smaller than
  446. the maximum number of nodes whose information can be stored. And the element
  447. number of each node should also be taken into consideration. For example, if
  448. Provisioner can provision up to 20 nodes and each node contains two elements,
  449. then the replay protection list size of Provisioner should be at least 40.
  450. config BLE_MESH_MSG_CACHE_SIZE
  451. int "Network message cache size"
  452. default 10
  453. range 2 65535
  454. help
  455. Number of messages that are cached for the network. This helps prevent
  456. unnecessary decryption operations and unnecessary relays. This option
  457. is similar to Replay protection list, but has a different purpose.
  458. A node is not required to cache the entire Network PDU and may cache
  459. only part of it for tracking, such as values for SRC/SEQ or others.
  460. config BLE_MESH_ADV_BUF_COUNT
  461. int "Number of advertising buffers"
  462. default 60
  463. range 6 256
  464. help
  465. Number of advertising buffers available. The transport layer reserves
  466. ADV_BUF_COUNT - 3 buffers for outgoing segments. The maximum outgoing
  467. SDU size is 12 times this value (out of which 4 or 8 bytes are used
  468. for the Transport Layer MIC). For example, 5 segments means the maximum
  469. SDU size is 60 bytes, which leaves 56 bytes for application layer data
  470. using a 4-byte MIC, or 52 bytes using an 8-byte MIC.
  471. config BLE_MESH_IVU_DIVIDER
  472. int "Divider for IV Update state refresh timer"
  473. default 4
  474. range 2 96
  475. help
  476. When the IV Update state enters Normal operation or IV Update
  477. in Progress, we need to keep track of how many hours has passed
  478. in the state, since the specification requires us to remain in
  479. the state at least for 96 hours (Update in Progress has an
  480. additional upper limit of 144 hours).
  481. In order to fulfill the above requirement, even if the node might
  482. be powered off once in a while, we need to store persistently
  483. how many hours the node has been in the state. This doesn't
  484. necessarily need to happen every hour (thanks to the flexible
  485. duration range). The exact cadence will depend a lot on the
  486. ways that the node will be used and what kind of power source it
  487. has.
  488. Since there is no single optimal answer, this configuration
  489. option allows specifying a divider, i.e. how many intervals
  490. the 96 hour minimum gets split into. After each interval the
  491. duration that the node has been in the current state gets
  492. stored to flash. E.g. the default value of 4 means that the
  493. state is saved every 24 hours (96 / 4).
  494. config BLE_MESH_TX_SEG_MSG_COUNT
  495. int "Maximum number of simultaneous outgoing segmented messages"
  496. default 1
  497. range 1 BLE_MESH_ADV_BUF_COUNT
  498. help
  499. Maximum number of simultaneous outgoing multi-segment and/or reliable messages.
  500. The default value is 1, which means the device can only send one segmented
  501. message at a time. And if another segmented message is going to be sent, it
  502. should wait for the completion of the previous one.
  503. If users are going to send multiple segmented messages at the same time, this
  504. value should be configured properly.
  505. config BLE_MESH_RX_SEG_MSG_COUNT
  506. int "Maximum number of simultaneous incoming segmented messages"
  507. default 1
  508. range 1 255
  509. help
  510. Maximum number of simultaneous incoming multi-segment and/or reliable messages.
  511. The default value is 1, which means the device can only receive one segmented
  512. message at a time. And if another segmented message is going to be received,
  513. it should wait for the completion of the previous one.
  514. If users are going to receive multiple segmented messages at the same time, this
  515. value should be configured properly.
  516. config BLE_MESH_RX_SDU_MAX
  517. int "Maximum incoming Upper Transport Access PDU length"
  518. default 384
  519. range 36 384
  520. help
  521. Maximum incoming Upper Transport Access PDU length. Leave this to the default
  522. value, unless you really need to optimize memory usage.
  523. config BLE_MESH_TX_SEG_MAX
  524. int "Maximum number of segments in outgoing messages"
  525. default 32
  526. range 2 32
  527. help
  528. Maximum number of segments supported for outgoing messages.
  529. This value should typically be fine-tuned based on what
  530. models the local node supports, i.e. what's the largest
  531. message payload that the node needs to be able to send.
  532. This value affects memory and call stack consumption, which
  533. is why the default is lower than the maximum that the
  534. specification would allow (32 segments).
  535. The maximum outgoing SDU size is 12 times this number (out of
  536. which 4 or 8 bytes is used for the Transport Layer MIC). For
  537. example, 5 segments means the maximum SDU size is 60 bytes,
  538. which leaves 56 bytes for application layer data using a
  539. 4-byte MIC and 52 bytes using an 8-byte MIC.
  540. Be sure to specify a sufficient number of advertising buffers
  541. when setting this option to a higher value. There must be at
  542. least three more advertising buffers (BLE_MESH_ADV_BUF_COUNT)
  543. as there are outgoing segments.
  544. config BLE_MESH_RELAY
  545. bool "Relay support"
  546. depends on BLE_MESH_NODE
  547. default y
  548. help
  549. Support for acting as a Mesh Relay Node. Enabling this option will allow
  550. a node to support the Relay feature, and the Relay feature can still
  551. be enabled or disabled by proper configuration messages. Disabling this
  552. option will let a node not support the Relay feature.
  553. if BLE_MESH_RELAY
  554. config BLE_MESH_RELAY_ADV_BUF
  555. bool "Use separate advertising buffers for relay packets"
  556. default n
  557. help
  558. When selected, self-send packets will be put in a high-priority
  559. queue and relay packets will be put in a low-priority queue.
  560. if BLE_MESH_RELAY_ADV_BUF
  561. config BLE_MESH_RELAY_ADV_BUF_COUNT
  562. int "Number of advertising buffers for relay packets"
  563. default 60
  564. range 6 256
  565. help
  566. Number of advertising buffers for relay packets available.
  567. endif # BLE_MESH_RELAY_ADV_BUF
  568. endif # BLE_MESH_RELAY
  569. config BLE_MESH_LOW_POWER
  570. bool "Support for Low Power features"
  571. depends on BLE_MESH_NODE
  572. help
  573. Enable this option to operate as a Low Power Node. If low power consumption
  574. is required by a node, this option should be enabled. And once the node
  575. enters the mesh network, it will try to find a Friend node and establish a
  576. friendship.
  577. if BLE_MESH_LOW_POWER
  578. config BLE_MESH_LPN_ESTABLISHMENT
  579. bool "Perform Friendship establishment using low power"
  580. default n
  581. help
  582. Perform the Friendship establishment using low power with the help of a
  583. reduced scan duty cycle. The downside of this is that the node may miss
  584. out on messages intended for it until it has successfully set up Friendship
  585. with a Friend node.
  586. When this option is enabled, the node will stop scanning for a period of
  587. time after a Friend Request or Friend Poll is sent, so as to reduce more
  588. power consumption.
  589. config BLE_MESH_LPN_AUTO
  590. bool "Automatically start looking for Friend nodes once provisioned"
  591. default n
  592. help
  593. Once provisioned, automatically enable LPN functionality and start looking
  594. for Friend nodes. If this option is disabled LPN mode needs to be manually
  595. enabled by calling bt_mesh_lpn_set(true).
  596. When an unprovisioned device is provisioned successfully and becomes a node,
  597. enabling this option will trigger the node starts to send Friend Request at
  598. a certain period until it finds a proper Friend node.
  599. config BLE_MESH_LPN_AUTO_TIMEOUT
  600. int "Time from last received message before going to LPN mode"
  601. default 15
  602. range 0 3600
  603. depends on BLE_MESH_LPN_AUTO
  604. help
  605. Time in seconds from the last received message, that the node waits out
  606. before starting to look for Friend nodes.
  607. config BLE_MESH_LPN_RETRY_TIMEOUT
  608. int "Retry timeout for Friend requests"
  609. default 6
  610. range 1 3600
  611. help
  612. Time in seconds between Friend Requests, if a previous Friend Request did
  613. not yield any acceptable Friend Offers.
  614. config BLE_MESH_LPN_RSSI_FACTOR
  615. int "RSSIFactor, used in Friend Offer Delay calculation"
  616. range 0 3
  617. default 0
  618. help
  619. The contribution of the RSSI, measured by the Friend node, used in Friend
  620. Offer Delay calculations. 0 = 1, 1 = 1.5, 2 = 2, 3 = 2.5.
  621. RSSIFactor, one of the parameters carried by Friend Request sent by Low Power
  622. node, which is used to calculate the Friend Offer Delay.
  623. config BLE_MESH_LPN_RECV_WIN_FACTOR
  624. int "ReceiveWindowFactor, used in Friend Offer Delay calculation"
  625. range 0 3
  626. default 0
  627. help
  628. The contribution of the supported Receive Window used in Friend Offer
  629. Delay calculations. 0 = 1, 1 = 1.5, 2 = 2, 3 = 2.5.
  630. ReceiveWindowFactor, one of the parameters carried by Friend Request sent by
  631. Low Power node, which is used to calculate the Friend Offer Delay.
  632. config BLE_MESH_LPN_MIN_QUEUE_SIZE
  633. int "Minimum size of the acceptable friend queue (MinQueueSizeLog)"
  634. range 1 7
  635. default 1
  636. help
  637. The MinQueueSizeLog field is defined as log_2(N), where N is the minimum
  638. number of maximum size Lower Transport PDUs that the Friend node can store
  639. in its Friend Queue. As an example, MinQueueSizeLog value 1 gives N = 2,
  640. and value 7 gives N = 128.
  641. config BLE_MESH_LPN_RECV_DELAY
  642. int "Receive delay requested by the local node"
  643. range 10 255
  644. default 100
  645. help
  646. The ReceiveDelay is the time between the Low Power node sending a
  647. request and listening for a response. This delay allows the Friend
  648. node time to prepare the response. The value is in units of milliseconds.
  649. config BLE_MESH_LPN_POLL_TIMEOUT
  650. int "The value of the PollTimeout timer"
  651. range 10 244735
  652. default 300
  653. help
  654. PollTimeout timer is used to measure time between two consecutive
  655. requests sent by a Low Power node. If no requests are received
  656. the Friend node before the PollTimeout timer expires, then the
  657. friendship is considered terminated. The value is in units of 100
  658. milliseconds, so e.g. a value of 300 means 30 seconds.
  659. The smaller the value, the faster the Low Power node tries to get
  660. messages from corresponding Friend node and vice versa.
  661. config BLE_MESH_LPN_INIT_POLL_TIMEOUT
  662. int "The starting value of the PollTimeout timer"
  663. range 10 BLE_MESH_LPN_POLL_TIMEOUT
  664. default BLE_MESH_LPN_POLL_TIMEOUT
  665. help
  666. The initial value of the PollTimeout timer when Friendship is to be
  667. established for the first time. After this, the timeout gradually
  668. grows toward the actual PollTimeout, doubling in value for each iteration.
  669. The value is in units of 100 milliseconds, so e.g. a value of 300 means
  670. 30 seconds.
  671. config BLE_MESH_LPN_SCAN_LATENCY
  672. int "Latency for enabling scanning"
  673. range 0 50
  674. default 10
  675. help
  676. Latency (in milliseconds) is the time it takes to enable scanning. In
  677. practice, it means how much time in advance of the Receive Window, the
  678. request to enable scanning is made.
  679. config BLE_MESH_LPN_GROUPS
  680. int "Number of groups the LPN can subscribe to"
  681. range 0 16384
  682. default 8
  683. help
  684. Maximum number of groups to which the LPN can subscribe.
  685. endif # BLE_MESH_LOW_POWER
  686. config BLE_MESH_FRIEND
  687. bool "Support for Friend feature"
  688. help
  689. Enable this option to be able to act as a Friend Node.
  690. if BLE_MESH_FRIEND
  691. config BLE_MESH_FRIEND_RECV_WIN
  692. int "Friend Receive Window"
  693. range 1 255
  694. default 255
  695. help
  696. Receive Window in milliseconds supported by the Friend node.
  697. config BLE_MESH_FRIEND_QUEUE_SIZE
  698. int "Minimum number of buffers supported per Friend Queue"
  699. range 2 65536
  700. default 16
  701. help
  702. Minimum number of buffers available to be stored for each local Friend Queue.
  703. This option decides the size of each buffer which can be used by a Friend node
  704. to store messages for each Low Power node.
  705. config BLE_MESH_FRIEND_SUB_LIST_SIZE
  706. int "Friend Subscription List Size"
  707. range 0 1023
  708. default 3
  709. help
  710. Size of the Subscription List that can be supported by a Friend node for a
  711. Low Power node. And Low Power node can send Friend Subscription List Add or
  712. Friend Subscription List Remove messages to the Friend node to add or remove
  713. subscription addresses.
  714. config BLE_MESH_FRIEND_LPN_COUNT
  715. int "Number of supported LPN nodes"
  716. range 1 1000
  717. default 2
  718. help
  719. Number of Low Power Nodes with which a Friend can have Friendship simultaneously.
  720. A Friend node can have friendship with multiple Low Power nodes at the same time,
  721. while a Low Power node can only establish friendship with only one Friend node at
  722. the same time.
  723. config BLE_MESH_FRIEND_SEG_RX
  724. int "Number of incomplete segment lists per LPN"
  725. range 1 1000
  726. default 1
  727. help
  728. Number of incomplete segment lists tracked for each Friends' LPN.
  729. In other words, this determines from how many elements can segmented
  730. messages destined for the Friend queue be received simultaneously.
  731. endif # BLE_MESH_FRIEND
  732. config BLE_MESH_NO_LOG
  733. bool "Disable BLE Mesh debug logs (minimize bin size)"
  734. depends on BLE_MESH
  735. default n
  736. help
  737. Select this to save the BLE Mesh related rodata code size. Enabling this option
  738. will disable the output of BLE Mesh debug log.
  739. menu "BLE Mesh STACK DEBUG LOG LEVEL"
  740. depends on BLE_MESH && !BLE_MESH_NO_LOG
  741. choice BLE_MESH_STACK_TRACE_LEVEL
  742. prompt "BLE_MESH_STACK"
  743. default BLE_MESH_TRACE_LEVEL_WARNING
  744. depends on BLE_MESH && !BLE_MESH_NO_LOG
  745. help
  746. Define BLE Mesh trace level for BLE Mesh stack.
  747. config BLE_MESH_TRACE_LEVEL_NONE
  748. bool "NONE"
  749. config BLE_MESH_TRACE_LEVEL_ERROR
  750. bool "ERROR"
  751. config BLE_MESH_TRACE_LEVEL_WARNING
  752. bool "WARNING"
  753. config BLE_MESH_TRACE_LEVEL_INFO
  754. bool "INFO"
  755. config BLE_MESH_TRACE_LEVEL_DEBUG
  756. bool "DEBUG"
  757. config BLE_MESH_TRACE_LEVEL_VERBOSE
  758. bool "VERBOSE"
  759. endchoice
  760. config BLE_MESH_STACK_TRACE_LEVEL
  761. int
  762. depends on BLE_MESH
  763. default 0 if BLE_MESH_TRACE_LEVEL_NONE
  764. default 1 if BLE_MESH_TRACE_LEVEL_ERROR
  765. default 2 if BLE_MESH_TRACE_LEVEL_WARNING
  766. default 3 if BLE_MESH_TRACE_LEVEL_INFO
  767. default 4 if BLE_MESH_TRACE_LEVEL_DEBUG
  768. default 5 if BLE_MESH_TRACE_LEVEL_VERBOSE
  769. default 2
  770. endmenu #BLE Mesh DEBUG LOG LEVEL
  771. menu "BLE Mesh NET BUF DEBUG LOG LEVEL"
  772. depends on BLE_MESH && !BLE_MESH_NO_LOG
  773. choice BLE_MESH_NET_BUF_TRACE_LEVEL
  774. prompt "BLE_MESH_NET_BUF"
  775. default BLE_MESH_NET_BUF_TRACE_LEVEL_WARNING
  776. depends on BLE_MESH && !BLE_MESH_NO_LOG
  777. help
  778. Define BLE Mesh trace level for BLE Mesh net buffer.
  779. config BLE_MESH_NET_BUF_TRACE_LEVEL_NONE
  780. bool "NONE"
  781. config BLE_MESH_NET_BUF_TRACE_LEVEL_ERROR
  782. bool "ERROR"
  783. config BLE_MESH_NET_BUF_TRACE_LEVEL_WARNING
  784. bool "WARNING"
  785. config BLE_MESH_NET_BUF_TRACE_LEVEL_INFO
  786. bool "INFO"
  787. config BLE_MESH_NET_BUF_TRACE_LEVEL_DEBUG
  788. bool "DEBUG"
  789. config BLE_MESH_NET_BUF_TRACE_LEVEL_VERBOSE
  790. bool "VERBOSE"
  791. endchoice
  792. config BLE_MESH_NET_BUF_TRACE_LEVEL
  793. int
  794. depends on BLE_MESH
  795. default 0 if BLE_MESH_NET_BUF_TRACE_LEVEL_NONE
  796. default 1 if BLE_MESH_NET_BUF_TRACE_LEVEL_ERROR
  797. default 2 if BLE_MESH_NET_BUF_TRACE_LEVEL_WARNING
  798. default 3 if BLE_MESH_NET_BUF_TRACE_LEVEL_INFO
  799. default 4 if BLE_MESH_NET_BUF_TRACE_LEVEL_DEBUG
  800. default 5 if BLE_MESH_NET_BUF_TRACE_LEVEL_VERBOSE
  801. default 2
  802. endmenu #BLE Mesh NET BUF DEBUG LOG LEVEL
  803. config BLE_MESH_CLIENT_MSG_TIMEOUT
  804. int "Timeout(ms) for client message response"
  805. range 100 1200000
  806. default 4000
  807. help
  808. Timeout value used by the node to get response of the acknowledged
  809. message which is sent by the client model.
  810. This value indicates the maximum time that a client model waits for
  811. the response of the sent acknowledged messages. If a client model
  812. uses 0 as the timeout value when sending acknowledged messages, then
  813. the default value will be used which is four seconds.
  814. menu "Support for BLE Mesh Foundation models"
  815. config BLE_MESH_CFG_CLI
  816. bool "Configuration Client model"
  817. help
  818. Enable support for Configuration Client model.
  819. config BLE_MESH_HEALTH_CLI
  820. bool "Health Client model"
  821. help
  822. Enable support for Health Client model.
  823. config BLE_MESH_HEALTH_SRV
  824. bool "Health Server model"
  825. default y
  826. help
  827. Enable support for Health Server model.
  828. endmenu #Support for BLE Mesh Foundation models
  829. menu "Support for BLE Mesh Client/Server models"
  830. config BLE_MESH_GENERIC_ONOFF_CLI
  831. bool "Generic OnOff Client model"
  832. help
  833. Enable support for Generic OnOff Client model.
  834. config BLE_MESH_GENERIC_LEVEL_CLI
  835. bool "Generic Level Client model"
  836. help
  837. Enable support for Generic Level Client model.
  838. config BLE_MESH_GENERIC_DEF_TRANS_TIME_CLI
  839. bool "Generic Default Transition Time Client model"
  840. help
  841. Enable support for Generic Default Transition Time Client model.
  842. config BLE_MESH_GENERIC_POWER_ONOFF_CLI
  843. bool "Generic Power OnOff Client model"
  844. help
  845. Enable support for Generic Power OnOff Client model.
  846. config BLE_MESH_GENERIC_POWER_LEVEL_CLI
  847. bool "Generic Power Level Client model"
  848. help
  849. Enable support for Generic Power Level Client model.
  850. config BLE_MESH_GENERIC_BATTERY_CLI
  851. bool "Generic Battery Client model"
  852. help
  853. Enable support for Generic Battery Client model.
  854. config BLE_MESH_GENERIC_LOCATION_CLI
  855. bool "Generic Location Client model"
  856. help
  857. Enable support for Generic Location Client model.
  858. config BLE_MESH_GENERIC_PROPERTY_CLI
  859. bool "Generic Property Client model"
  860. help
  861. Enable support for Generic Property Client model.
  862. config BLE_MESH_SENSOR_CLI
  863. bool "Sensor Client model"
  864. help
  865. Enable support for Sensor Client model.
  866. config BLE_MESH_TIME_CLI
  867. bool "Time Client model"
  868. help
  869. Enable support for Time Client model.
  870. config BLE_MESH_SCENE_CLI
  871. bool "Scene Client model"
  872. help
  873. Enable support for Scene Client model.
  874. config BLE_MESH_SCHEDULER_CLI
  875. bool "Scheduler Client model"
  876. help
  877. Enable support for Scheduler Client model.
  878. config BLE_MESH_LIGHT_LIGHTNESS_CLI
  879. bool "Light Lightness Client model"
  880. help
  881. Enable support for Light Lightness Client model.
  882. config BLE_MESH_LIGHT_CTL_CLI
  883. bool "Light CTL Client model"
  884. help
  885. Enable support for Light CTL Client model.
  886. config BLE_MESH_LIGHT_HSL_CLI
  887. bool "Light HSL Client model"
  888. help
  889. Enable support for Light HSL Client model.
  890. config BLE_MESH_LIGHT_XYL_CLI
  891. bool "Light XYL Client model"
  892. help
  893. Enable support for Light XYL Client model.
  894. config BLE_MESH_LIGHT_LC_CLI
  895. bool "Light LC Client model"
  896. help
  897. Enable support for Light LC Client model.
  898. config BLE_MESH_GENERIC_SERVER
  899. bool "Generic server models"
  900. default y
  901. help
  902. Enable support for Generic server models.
  903. config BLE_MESH_SENSOR_SERVER
  904. bool "Sensor server models"
  905. default y
  906. help
  907. Enable support for Sensor server models.
  908. config BLE_MESH_TIME_SCENE_SERVER
  909. bool "Time and Scenes server models"
  910. default y
  911. help
  912. Enable support for Time and Scenes server models.
  913. config BLE_MESH_LIGHTING_SERVER
  914. bool "Lighting server models"
  915. default y
  916. help
  917. Enable support for Lighting server models.
  918. endmenu #Support for BLE Mesh Client/Server models
  919. config BLE_MESH_IV_UPDATE_TEST
  920. bool "Test the IV Update Procedure"
  921. default n
  922. help
  923. This option removes the 96 hour limit of the IV Update Procedure and
  924. lets the state to be changed at any time.
  925. If IV Update test mode is going to be used, this option should be enabled.
  926. menu "BLE Mesh specific test option"
  927. config BLE_MESH_SELF_TEST
  928. bool "Perform BLE Mesh self-tests"
  929. default n
  930. help
  931. This option adds extra self-tests which are run every time BLE Mesh
  932. networking is initialized.
  933. if BLE_MESH_SELF_TEST
  934. config BLE_MESH_TEST_AUTO_ENTER_NETWORK
  935. bool "Unprovisioned device enters mesh network automatically"
  936. default y
  937. help
  938. With this option enabled, an unprovisioned device can automatically
  939. enters mesh network using a specific test function without the pro-
  940. visioning procedure. And on the Provisioner side, a test function
  941. needs to be invoked to add the node information into the mesh stack.
  942. config BLE_MESH_TEST_USE_WHITE_LIST
  943. bool "Use white list to filter mesh advertising packets"
  944. default n
  945. help
  946. With this option enabled, users can use white list to filter mesh
  947. advertising packets while scanning.
  948. endif # BLE_MESH_SELF_TEST
  949. config BLE_MESH_SHELL
  950. bool "Enable BLE Mesh shell"
  951. default n
  952. help
  953. Activate shell module that provides BLE Mesh commands to the console.
  954. config BLE_MESH_DEBUG
  955. bool "Enable BLE Mesh debug logs"
  956. default n
  957. help
  958. Enable debug logs for the BLE Mesh functionality.
  959. if BLE_MESH_DEBUG
  960. config BLE_MESH_DEBUG_NET
  961. bool "Network layer debug"
  962. help
  963. Enable Network layer debug logs for the BLE Mesh functionality.
  964. config BLE_MESH_DEBUG_TRANS
  965. bool "Transport layer debug"
  966. help
  967. Enable Transport layer debug logs for the BLE Mesh functionality.
  968. config BLE_MESH_DEBUG_BEACON
  969. bool "Beacon debug"
  970. help
  971. Enable Beacon-related debug logs for the BLE Mesh functionality.
  972. config BLE_MESH_DEBUG_CRYPTO
  973. bool "Crypto debug"
  974. help
  975. Enable cryptographic debug logs for the BLE Mesh functionality.
  976. config BLE_MESH_DEBUG_PROV
  977. bool "Provisioning debug"
  978. help
  979. Enable Provisioning debug logs for the BLE Mesh functionality.
  980. config BLE_MESH_DEBUG_ACCESS
  981. bool "Access layer debug"
  982. help
  983. Enable Access layer debug logs for the BLE Mesh functionality.
  984. config BLE_MESH_DEBUG_MODEL
  985. bool "Foundation model debug"
  986. help
  987. Enable Foundation Models debug logs for the BLE Mesh functionality.
  988. config BLE_MESH_DEBUG_ADV
  989. bool "Advertising debug"
  990. help
  991. Enable advertising debug logs for the BLE Mesh functionality.
  992. config BLE_MESH_DEBUG_LOW_POWER
  993. bool "Low Power debug"
  994. help
  995. Enable Low Power debug logs for the BLE Mesh functionality.
  996. config BLE_MESH_DEBUG_FRIEND
  997. bool "Friend debug"
  998. help
  999. Enable Friend debug logs for the BLE Mesh functionality.
  1000. config BLE_MESH_DEBUG_PROXY
  1001. bool "Proxy debug"
  1002. depends on BLE_MESH_PROXY
  1003. help
  1004. Enable Proxy protocol debug logs for the BLE Mesh functionality.
  1005. endif # BLE_MESH_DEBUG
  1006. endmenu
  1007. endif # BLE_MESH