On Thu, 2018-07-12 at 02:56 -0700, Heiko.Waldschmidt wrote:
Hi,
I am trying to do my first steps with Zephyr.
I like to use the WebSocket Echo Server example on the disco_l475_iot1 board. As far as I see the example is using static IPs. How can I change the example to use a DHCP-Client with a fixed SSID instead?
In the samples/net/ws_echo_server/prj.conf file, you could uncomment the CONFIG_NET_DHCPV4=y setting. Also if you do not want static IP address, you can comment the CONFIG_NET_APP_MY_IPV4_ADDR setting.