Kconfig.projbuild 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. menu "Example Configuration"
  2. config EXAMPLE_CHAT_SERVER
  3. bool "Asio example chat server"
  4. default n
  5. help
  6. This example will setup a chat server, binds it to the specified address
  7. and starts listening.
  8. if EXAMPLE_CHAT_SERVER
  9. config EXAMPLE_CHAT_SERVER_BIND_PORT
  10. string "Asio example server bind port"
  11. default "3344"
  12. help
  13. Server listener's socket would be bound to this port.
  14. endif
  15. config EXAMPLE_CHAT_CLIENT
  16. bool "Asio example chat client"
  17. default y
  18. help
  19. This example will setup an asio chat client.
  20. and sends the data.
  21. if EXAMPLE_CHAT_CLIENT
  22. config EXAMPLE_CHAT_CLIENT_CONNECT_ADDRESS
  23. string "Client connection address"
  24. default "192.168.0.1"
  25. help
  26. Client's socket would connect to this address/host.
  27. config EXAMPLE_CHAT_CLIENT_CONNECT_PORT
  28. string "Client connection port"
  29. default "3344"
  30. help
  31. Client's connection port.
  32. endif
  33. endmenu