Change wifi credential and reconnect?

zliudr
Posts: 360
Joined: Thu Oct 03, 2019 5:15 am

Change wifi credential and reconnect?

Postby zliudr » Wed Oct 23, 2019 6:36 am

I'm trying to change wifi credential and reconnect with no success. Some messages:
I (51304) azure: SYSTEM_EVENT_STA_DISCONNECTING
I (51304) wifi: state: run -> init (0)
I (51314) wifi: pm stop, total sleep time: 47593638 us / 49606863 us

I (51314) wifi: new:<1,0>, old:<1,0>, ap:<255,255>, sta:<1,0>, prof:1
I (51324) azure: SYSTEM_EVENT_STA_RECONNECTING
I (51324) azure: SYSTEM_EVENT_STA_DISCONNECTED
E (51334) esp-tls: read error :-76:
I (52664) wifi: new:<11,0>, old:<1,0>, ap:<255,255>, sta:<11,0>, prof:1
I (53644) wifi: state: init -> auth (b0)
I (53654) wifi: state: auth -> assoc (0)
E (53654) wifi: Set status to INIT
I (53654) wifi: state: assoc -> init (c00)
I (53654) wifi: new:<11,0>, old:<11,0>, ap:<255,255>, sta:<11,0>, prof:1
I (53654) azure: SYSTEM_EVENT_STA_DISCONNECTED
I (55714) azure: SYSTEM_EVENT_STA_DISCONNECTED
I (55834) wifi: new:<11,0>, old:<11,0>, ap:<255,255>, sta:<11,0>, prof:1
I (55834) wifi: state: init -> auth (b0)
I (55844) wifi: state: auth -> assoc (0)
E (55844) wifi: Set status to INIT
I (55844) wifi: state: assoc -> init (c00)
I (55844) wifi: new:<11,0>, old:<11,0>, ap:<255,255>, sta:<11,0>, prof:1
I (55854) azure: SYSTEM_EVENT_STA_DISCONNECTED
I (57914) azure: SYSTEM_EVENT_STA_DISCONNECTED
I later got it to "work" but what is the proper procedure to switch wifi credential to connect to a different AP? Thanks.

Who is online

Users browsing this forum: No registered users and 103 guests