-->
Page 2 of 2

Re: Always error for CWSAP ?

PostPosted: Wed Oct 07, 2015 2:56 pm
by rant
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..

Re: Always error for CWSAP ?

PostPosted: Wed Oct 07, 2015 3:05 pm
by rant
WOW AGAIN !
thanks! you have opened my eyes!
I have removed the reset from the library and it worked !!!!

Why are people not taking care before they publish things ? and this one considered as a good one !
http://docs.iteadstudio.com/ITEADLIB_Ar ... index.html

Re: Always error for CWSAP ?

PostPosted: Wed Oct 07, 2015 3:38 pm
by martinayotte
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 !

Re: Always error for CWSAP ?

PostPosted: Thu Oct 08, 2015 6:06 am
by ashtonbrady45
Hi Rant.. Sorry if i posted in wrong place but i'm really trouble about CWSAP Command Reference ? Anyone here to help ?