Chat freely about anything...

User avatar
By rant
#30833 Thank you !
Well ! seems that the reset is what the guy that made this library had decided to do . So the reset comes after you set the
AT+CWMODE=3 .

So, i was trying also to put the AT+CWSAP="name","ABCDEFGHIJKL",5,0 before anything- which also cause a fail ( i guess its because you need the AT+CWMODE=3 first ?

This is what happens when you use other people's libraries..
User avatar
By martinayotte
#30836 You means that there was an explicit call to AT+RST in this lib ?
This is probably because it was written a while ago.
Since then, SDK from Espressif have change a lot.
Maybe in the old days, the CWMODE could be saved fast enough in the configs, and that after the reset it was still in the good mode. Maybe today, it needs a delay between both ...
Anyway, you got a workaround !