Kconfig.projbuild 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. menu "Example CoAP Server Configuration"
  2. config EXAMPLE_COAP_PSK_KEY
  3. string "Preshared Key (PSK) to used in the connection from the CoAP client"
  4. depends on COAP_MBEDTLS_PSK
  5. default "secret-key"
  6. help
  7. The Preshared Key to use to encrypt the communicatons. The same key must be
  8. used at both ends of the CoAP connection, and the CoaP client must request
  9. an URI prefixed with coaps:// instead of coap:// for DTLS to be used.
  10. choice EXAMPLE_COAP_MCAST_IP_MODE
  11. prompt "Receive Multicast IP type"
  12. help
  13. Example can receive multicast IPV4, IPV6, both or none.
  14. config EXAMPLE_COAP_MCAST_NONE
  15. bool "None"
  16. config EXAMPLE_COAP_MCAST_IPV4_V6
  17. bool "IPV4 & IPV6"
  18. select EXAMPLE_COAP_MCAST_IPV4
  19. select EXAMPLE_COAP_MCAST_IPV6
  20. config EXAMPLE_COAP_MCAST_IPV4_ONLY
  21. bool "IPV4"
  22. select EXAMPLE_COAP_MCAST_IPV4
  23. config EXAMPLE_COAP_MCAST_IPV6_ONLY
  24. bool "IPV6"
  25. select EXAMPLE_COAP_MCAST_IPV6
  26. endchoice
  27. config EXAMPLE_COAP_MCAST_IPV4
  28. bool
  29. config EXAMPLE_COAP_MCAST_IPV6
  30. bool
  31. select EXAMPLE_CONNECT_IPV6 if IDF_TARGET_ESP32
  32. config EXAMPLE_COAP_MULTICAST_IPV4_ADDR
  33. string "CoAP Multicast IPV4 Address (receive)"
  34. default "224.0.1.187"
  35. depends on EXAMPLE_COAP_MCAST_IPV4
  36. help
  37. IPV4 multicast address to receive multicast traffic on.
  38. The default CoAP IPV4 address is 224.0.1.187.
  39. config EXAMPLE_COAP_MULTICAST_IPV6_ADDR
  40. string "CoAP Multicast IPV6 Address (receive)"
  41. default "FF02::FD"
  42. depends on EXAMPLE_COAP_MCAST_IPV6
  43. help
  44. IPV6 multicast address to receive multicast traffic on.
  45. The default CoAP FF02::FD address is a link-local multicast address.
  46. Consult IPV6 specifications or documentation for information about
  47. meaning of different IPV6 multicast ranges.
  48. endmenu