Page 1 of 1

esp-at and smartconfig (ESPTOUCH)

Posted: Tue Jul 28, 2020 2:12 pm
by iw2lsi
Hi all,

I'm trying test the smartconfig feature on my WROOM module via esp-at version:2.1.0.0 SDK version:v4.0-327:

AT+CWMODE=1
AT+CWSTARTSMART

however ESPTOUCH on my IPhone7 IOS 13.5.1 (both v1 "app v2.0.0 sdk v0.3.7.0" and v2 "app v2.0.0 sdk v0.9.4") does not seems to work and keep showing an empty "EspProvision" page.

Anyone is having the same issue ?

Is there a better solution than ESPTOUCH using esp-at for wifi credentials provisioning ?

Best Regards

Giampaolo

Re: esp-at and smartconfig (ESPTOUCH)

Posted: Wed Jul 29, 2020 12:40 pm
by iw2lsi
Hi all,

could it be that ESPTOUCH works only in IEEE 802.11 aka "legacy" mode ?

https://github.com/espressif/esp-idf/issues/5243

am I the only one having this problem ?

tnx,

Giampaolo

Re: esp-at and smartconfig (ESPTOUCH)

Posted: Thu Jul 30, 2020 9:58 am
by iw2lsi
problem solved... ESPTOUCH works as expected...

the problems were on my IOS network settings.

Re: esp-at and smartconfig (ESPTOUCH)

Posted: Mon Mar 22, 2021 5:08 pm
by RollingRocker
@iw2sli
I am in the same boat as you were, my ESP32 will not see the ESPTOUCH app request.
Can you give me some help??

Re: esp-at and smartconfig (ESPTOUCH)

Posted: Mon Mar 22, 2021 5:11 pm
by RollingRocker
This is what happens to me:

AT+CWMODE=1
OK


AT+CWSTARTSMART=1
OK


AT+CWSTARTSMART
ERROR

=
I don't know what to do once I issue the AT+CWSTARTSMART command.
What kind of a loop do I go in?
Why does it throw an ERROR?

Re: esp-at and smartconfig (ESPTOUCH)

Posted: Mon Mar 22, 2021 8:28 pm
by RollingRocker
I fixed the error, but I don't know how to go into a loop for the RS232/AT command version and wait for the smartconfig on the ESP32 to reply back to me.

after I set AT+CWSTARTSMART it says OK but there is no further replies about the status of the negotation, etc.

how to handle this in a loop while waiting for RS232 replies from the ESP32?