Kconfig.projbuild 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. menu "Example Configuration"
  2. config MESH_CHANNEL
  3. int "channel"
  4. range 0 14
  5. default 0
  6. help
  7. mesh network channel.
  8. config MESH_ROUTER_SSID
  9. string "Router SSID"
  10. default "ROUTER_SSID"
  11. help
  12. Router SSID.
  13. config MESH_ROUTER_PASSWD
  14. string "Router password"
  15. default "ROUTER_PASSWD"
  16. help
  17. Router password.
  18. choice
  19. bool "Mesh AP Authentication Mode"
  20. default WIFI_AUTH_WPA2_PSK
  21. help
  22. Authentication mode.
  23. config WIFI_AUTH_OPEN
  24. bool "WIFI_AUTH_OPEN"
  25. config WIFI_AUTH_WPA_PSK
  26. bool "WIFI_AUTH_WPA_PSK"
  27. config WIFI_AUTH_WPA2_PSK
  28. bool "WIFI_AUTH_WPA2_PSK"
  29. config WIFI_AUTH_WPA_WPA2_PSK
  30. bool "WIFI_AUTH_WPA_WPA2_PSK"
  31. endchoice
  32. config MESH_AP_AUTHMODE
  33. int
  34. default 0 if WIFI_AUTH_OPEN
  35. default 2 if WIFI_AUTH_WPA_PSK
  36. default 3 if WIFI_AUTH_WPA2_PSK
  37. default 4 if WIFI_AUTH_WPA_WPA2_PSK
  38. help
  39. Mesh AP authentication mode.
  40. config MESH_AP_PASSWD
  41. string "Mesh AP Password"
  42. default "MAP_PASSWD"
  43. help
  44. Mesh AP password.
  45. config MESH_AP_CONNECTIONS
  46. int "Mesh AP Connections"
  47. range 1 10
  48. default 6
  49. help
  50. The number of stations allowed to connect in.
  51. config MESH_MAX_LAYER
  52. int "Mesh Max Layer"
  53. range 1 25
  54. default 6
  55. help
  56. Max layer allowed in mesh network.
  57. config MESH_ROUTE_TABLE_SIZE
  58. int "Mesh Routing Table Size"
  59. range 1 300
  60. default 50
  61. help
  62. The number of devices over the network(max: 300).
  63. config MESH_USE_GLOBAL_DNS_IP
  64. bool "Use global DNS IP"
  65. default n
  66. help
  67. Use fixed DNS server IP address. If enabled, root node
  68. advertises the specified DNS address in DHCP packets.
  69. By default it uses DNS record received from the router.
  70. config MESH_GLOBAL_DNS_IP
  71. hex "Global DNS"
  72. depends on MESH_USE_GLOBAL_DNS_IP
  73. default 0x08080808
  74. help
  75. The IP address of global DNS server that is used
  76. for internal IP subnet formed by the mesh network
  77. if MESH_USE_GLOBAL_DNS_IP is enabled.
  78. Note: The IP address is in platform (not network)
  79. format.
  80. endmenu