Report Bugs Here

Moderator: Mmiscool

User avatar
By Mmiscool
#39703 The default behaure at start up is the same. The device will attempt to connect to the last network. If unsucessfull it will start its own access point.

When running a program the connect command and the ap command will no longer put the moduel in to an exclusive mode. You can run both commands and the device will be connected to the network and act as an access point.

The WiFioff command can be called in order to disable all networking and the ap or connect command if run after WiFioff will activate that particular WiFi mode. You can turn them both back on at any point with each of there commands.


Hope this clarifies this a bit.
User avatar
By heckler
#39708 Thanks Mike!

I would suggest you put this explanation over on your website in the language reference for the wifi commands.

Over time this kind of important information will get buried in the forum and be difficult for newbies to find when trying to learn espbasic.

For me the language reference material is a bit sparse for detail as one learns to impliment various espbasic statements, the more detail and verbal explanation you can include there will make the reference section more useable.

dwight