Destroy esp-netif for AP interface over mesh
Function Declarations Initializes netifs in a default way before knowing if we are going to be a root
Start the mesh netifs based on the configuration (root/node)
Stop the netifs and reset to the default mode
Start the netif for root AP Note: The AP netif needs to be started separately after root received an IP address from the router so the DNS address could be used for dhcps
Returns MAC address of the station interface Used mainly for checking node addresses of the peers in routing table to avoid sending data to oneself
Destroy the netifs and related structures
Starts station link over mesh (node to root over mesh)
Creates esp-netif for AP interface over mesh
Creates esp-netif for station interface over mesh
Starts AP esp-netif link over mesh (root's AP on mesh)
Starts station link over wifi (root node to the router)