ESP sets up AP
Posted: Mon Aug 06, 2018 9:47 am
My D1 Mini and NodeMCU set up an AP without any mention in code to do that. Is this normal, can it be stopped?
Please see the new forum at
https://forum.micropython.org/
You can head to the Network Basic on the Documentation http://docs.micropython.org/en/latest/e ... ork-basicsAfter a fresh install and boot the device configures itself as a WiFi access point (AP) that you can connect to. The ESSID is of the form MicroPython-xxxxxx where the x’s are replaced with part of the MAC address of your device (so will be the same everytime, and most likely different for all ESP8266 chips). The password for the WiFi is micropythoN (note the upper-case N). Its IP address will be 192.168.4.1 once you connect to its network.
Code: Select all
import network
ap_if = network.WLAN(network.AP_IF)
ap_if.active(False)