Replies: 3 comments 5 replies
-
It has been a long time since I worked with the ESP8266, however one "feature" of this device is that it starts off in AP. Maybe, even making the For the ESP32 I do a: # seems more reliable to start with a fresh connect()
if sta_if.isconnected():
###sta_if.disconnect()
print (f'started in the connected state, but now disconnected')
else:
print (f'started in the disconnected state') So, I would suggest defining both a STA and an AP interface, disconnecting from both of then set up the interface you want. Also, with the ESP32 there still seems to be some uncertainty when you can do: Good luck! |
Beta Was this translation helpful? Give feedback.
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
Hi, |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I need your help because I don't understand what's going on. I have 2 esp8266 , one in AP mode and the second in station mode.
When I connect the ESP in station mode to my box, it's ok.
On the other hand when I use this code to connect to the other ESP in AP mode with a fixed IP, the ESP remains in the while loop
I've already had the two ESPs working together, but I don't know what I changed, but for a few days nothing has worked.
I use MicroPython v1.19.1 and Thonny 4.0.2
Can you help me
Thank's
Beta Was this translation helpful? Give feedback.
All reactions