esp-at and smartconfig (ESPTOUCH)

iw2lsi
Posts: 15
Joined: Wed Oct 24, 2018 11:48 am

esp-at and smartconfig (ESPTOUCH)

Postby iw2lsi » Tue Jul 28, 2020 2:12 pm

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

iw2lsi
Posts: 15
Joined: Wed Oct 24, 2018 11:48 am

Re: esp-at and smartconfig (ESPTOUCH)

Postby iw2lsi » Wed Jul 29, 2020 12:40 pm

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

iw2lsi
Posts: 15
Joined: Wed Oct 24, 2018 11:48 am

Re: esp-at and smartconfig (ESPTOUCH)

Postby iw2lsi » Thu Jul 30, 2020 9:58 am

problem solved... ESPTOUCH works as expected...

the problems were on my IOS network settings.

RollingRocker
Posts: 16
Joined: Tue Feb 09, 2021 10:45 pm

Re: esp-at and smartconfig (ESPTOUCH)

Postby RollingRocker » Mon Mar 22, 2021 5:08 pm

@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??

RollingRocker
Posts: 16
Joined: Tue Feb 09, 2021 10:45 pm

Re: esp-at and smartconfig (ESPTOUCH)

Postby RollingRocker » Mon Mar 22, 2021 5:11 pm

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?

RollingRocker
Posts: 16
Joined: Tue Feb 09, 2021 10:45 pm

Re: esp-at and smartconfig (ESPTOUCH)

Postby RollingRocker » Mon Mar 22, 2021 8:28 pm

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?

Who is online

Users browsing this forum: No registered users and 324 guests