I would like to configure the wireless station and AP settings within my app during execution - not via mos. Is there some example code for that ? I tried using the wifi API but ended up with execution faults...presumably because of incomplete callback routine configurations. But I can't find real clear examples or documentation for that matter.

Thanks folks - what I am getting from this is
1) changes can only be made to the configuration, not the running wifi config
2) and you can only realize those changes by rebooting the device.
Yes?

So if you wanted a device to switch between networks based on some condition you'd have to factor in a reboot with your logic. Gosh....

I'd like to know if a device connects to the AP. And with the network callback infrastructure it seems like there has been some deprecation. Is there a good example of monitoring devices as they connect and disconnect from the AP?

My desired config is that this esp8266 system running MongooseOS receives TCP/IP connections from other devices and accepts data from them. Then it forwards that data on to other devices either by Bluetooth or possibly TCP/IP..

Thanks very much Alex. I agree on the short reboot time I just object to having to save state and lose control of execution in order to make a minor change. But I'm new to Mongoose OS and there is so much functionality available.

I saw those status codes in the mgos_net.h and was trying to use them with strange results. I'll try harder!