My application uses a static IP address, but it needs the ability to change the IP address and subnet mask through software. Is there a way to do this without modifying the FNET stack?
I found that I could set the IP addresses during run-time using `fnet_netif_set_ip4_addr` and `fnet_netif_set_ip4_gateway`. I mapped some memory space in flash to store the addresses while powered-down, and my application restores them using those two API calls at power-up.
According to Fnet Quick start:
You are able to change the default network pararmeters
set address <default-if IPv4 address>
set gateway <default-if IPv4 gateway address>
set netmask <default-if IPv4 netmask address>
Retrieving data ...