Unintended AP and STA mode at the same time

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Pablo Oyarzo
Posts: 14
Joined: Tue Mar 14, 2017 12:55 am

Unintended AP and STA mode at the same time

Postby Pablo Oyarzo » Tue Mar 14, 2017 1:02 am

How do I stop the already started AP on the ESP? I see you can use x.disconnect() but I believe this is only for STA mode

User avatar
deshipu
Posts: 1035
Joined: Thu May 28, 2015 5:54 pm

Re: Unintended AP and STA mode at the same time

Postby deshipu » Tue Mar 14, 2017 8:18 am

Code: Select all

import network

network.WLAN(network.AP_IF).active(False)

Pablo Oyarzo
Posts: 14
Joined: Tue Mar 14, 2017 12:55 am

Re: Unintended AP and STA mode at the same time

Postby Pablo Oyarzo » Tue Mar 14, 2017 8:16 pm

Thank you, it worked.


Return to “ESP8266 boards”

Who is online

Users browsing this forum: Google [Bot] and 1 guest