how to read credentials after successful WPS

crc1021
Posts: 4
Joined: Tue Oct 25, 2016 11:05 pm

how to read credentials after successful WPS

Postby crc1021 » Sat Nov 05, 2016 4:06 am

How can the host application read the WPA security key from the ESP after WPS is complete?

It appears the AT+WPS command stores the results in flash so that the ESP will connect to the same AP next time.
Can the ESP have option to not store that to flash so that it does not come out of reset attempting to immediately connect ?

RogerFL
Posts: 12
Joined: Fri Jul 24, 2015 10:32 pm

Re: how to read credentials after successful WPS

Postby RogerFL » Wed Jan 04, 2017 3:55 am

I have the same question.

Please explain how to re-connect to the AP that was previously setup with WPS.
Roger Collins
Espressif fan and developer of flame boss smoker controller

russus
Posts: 14
Joined: Thu Nov 10, 2016 8:56 pm

Re: how to read credentials after successful WPS

Postby russus » Wed Jan 11, 2017 8:57 pm

Please, check out AT command reference guide. Can also be found on espressif website. I see two ways:

1) after your wps execute this:
AT+CWAUTOCONN=0

It wont try to connect after power up

2) after your wps execute this:

AT+CWJAP_DEF="",""

this removes AP info from memory permanently

Who is online

Users browsing this forum: No registered users and 1 guest