Kconfig 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. menu "OpenThread"
  2. config OPENTHREAD_ENABLED
  3. bool "OpenThread"
  4. default n
  5. help
  6. Select this option to enable OpenThread and show the submenu with OpenThread configuration choices.
  7. choice OPENTHREAD_RADIO_TYPE
  8. prompt "Config the Thread radio type"
  9. depends on OPENTHREAD_ENABLED
  10. default OPENTHREAD_RADIO_NATIVE if IDF_TARGET_ESP32H2
  11. default OPENTHREAD_RADIO_SPINEL_UART
  12. help
  13. Configure how OpenThread connects to the 15.4 radio
  14. config OPENTHREAD_RADIO_NATIVE
  15. bool "Native 15.4 radio"
  16. help
  17. Select this to use the native 15.4 radio.
  18. config OPENTHREAD_RADIO_SPINEL_UART
  19. bool "Connect via UART"
  20. help
  21. Select this to connect to a Radio Co-Processor via UART.
  22. endchoice
  23. choice OPENTHREAD_DEVICE_TYPE
  24. prompt "Config the Thread device type"
  25. depends on OPENTHREAD_ENABLED
  26. default OPENTHREAD_FTD
  27. help
  28. OpenThread can be configured to different device types (FTD, MTD, Radio)
  29. config OPENTHREAD_FTD
  30. bool "Full Thread Device"
  31. help
  32. Select this to enable Full Thread Device which can act as router and leader in a Thread network.
  33. config OPENTHREAD_MTD
  34. bool "Minimal Thread Device"
  35. help
  36. Select this to enable Minimal Thread Device which can only act as end device in a Thread network.
  37. This will reduce the code size of the OpenThread stack.
  38. config OPENTHREAD_RADIO
  39. bool "Radio Only Device"
  40. help
  41. Select this to enable Radio Only Device which cannot can only forward 15.4 packets to the host.
  42. The OpenThread stack will be run on the host and OpenThread will have minimal footprint on the
  43. radio only device.
  44. endchoice
  45. config OPENTHREAD_DIAG
  46. bool "Enable diag"
  47. depends on OPENTHREAD_ENABLED
  48. default y
  49. help
  50. Select this option to enable Diag in OpenThread. This will enable diag mode and a series of diag commands
  51. in the OpenThread command line. These commands allow users to manipulate low-level features of the storage
  52. and 15.4 radio.
  53. config OPENTHREAD_COMMISSIONER
  54. bool "Enable Commissioner"
  55. depends on OPENTHREAD_ENABLED
  56. default n
  57. help
  58. Select this option to enable commissioner in OpenThread. This will enable the device to act as a
  59. commissioner in the Thread network. A commissioner checks the pre-shared key from a joining device with
  60. the Thread commissioning protocol and shares the network parameter with the joining device upon success.
  61. config OPENTHREAD_JOINER
  62. bool "Enable Joiner"
  63. depends on OPENTHREAD_ENABLED
  64. default n
  65. help
  66. Select this option to enable Joiner in OpenThread. This allows a device to join the Thread network with a
  67. pre-shared key using the Thread commissioning protocol.
  68. config OPENTHREAD_SRP_CLIENT
  69. bool "Enable SRP Client"
  70. depends on OPENTHREAD_ENABLED
  71. default n
  72. help
  73. Select this option to enable SRP Client in OpenThread. This allows a device to register SRP services to SRP
  74. Server.
  75. config OPENTHREAD_BORDER_ROUTER
  76. bool "Enable Border Router"
  77. depends on OPENTHREAD_ENABLED
  78. default n
  79. help
  80. Select this option to enable border router features in OpenThread.
  81. config OPENTHREAD_ESP_LIB_FROM_INTERNAL_SRC
  82. bool "Build esp_openthread libraries from source"
  83. depends on OPENTHREAD_ENABLED
  84. default n
  85. help
  86. Override the shipped libopenthread_br.a and libopenthread_port.a, for internal builds.
  87. config OPENTHREAD_NUM_MESSAGE_BUFFERS
  88. int "The number of openthread message buffers"
  89. depends on OPENTHREAD_ENABLED
  90. default 65
  91. range 50 100
  92. endmenu