Chat freely about anything...

User avatar
By igrr
#1639 I'm stuck with a strange quirk of wifi STA mode. Suppose I have done wifi_station_set_config with some invalid SSID. After a few moments, wifi_station_get_connect_status will return 3 (STATION_NO_AP_FOUND).
After that, I would expect calling wifi_station_disconnect would make wifi_station_get_connect_status return 0, but looks like this is not the case:
Code: Select allAT+CWMODE?
+CWMODE:3
AT+CWSTAT?
+CWSTAT:3
AT+CWQAP
OK
AT+CWSTAT?
+CWSTAT:3
(this is with my work-in-progress firmware, CWSTAT prints the value returned by wifi_station_get_connect_status)
Apparently wifi_station_disconnect disconnects the ip interface leaving the device associated with an AP, as hinted by "wifi disconnect the station interface connected routing" description of this function in the google-translated SDK docs.
The only way to return connect status to 0 that I found is to call wifi_station_set_config with an empty SSID and password and to restart the module. This works, but I would like to avoid restarting the module.
Has anyone experienced this and found a way to work around this issue?
User avatar
By elektronika_ba
#1845 Well, I just found out that if you call wifi_station_connect and right after that wifi_station_disconnect the module will remain in state "1" (STATION_CONNECTING).
Don't know if that means anything to you...
User avatar
By SamuelMourad
#51244 < Global Offensive > is a sequel to the distinctive < Counter Strike > color with. They look very similar, but some small adjustment and balance repair. This is a high requirements, pay attention to the technology of multiplayer games, this still does not have the change, for some very high professional players, it is really great. If you can't change the habit of other shooters, so don't even try.CSGO knife Skin This is a top of the tactical strategy game, very likely < Counter Strike > as a successor to carry forward. :D