...wifi.stopAP() is puzzling me...: why would you stop it? You did not even start an access point... but may be, I miss a point here...
stopAP is for when you don't want the ESP to be an access point. It is possible for it to be mixed/both, but probably cleaner to turn off the AP if not used.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
stopAP is for when you don't want the ESP to be an access point. It is possible for it to be mixed/both, but probably cleaner to turn off the AP if not used.