You can chat about native SDK questions and issues here.

User avatar
By sharkx
#86071 Setup :
  • two ESP8266 modules
  • NonOS SDK 1.3.0
  • one module is AP, the other is station
  • station is connected to AP

Now... station calls `wifi_station_disconnect` to disconnect from AP, but AP module doesn't get notified; no event is triggerred. The only similar issue I found is here (https://github.com/esp8266/Arduino/issues/3279) :

when a station is leaving, it should first tell its current AP (in a simplified terms) "hey AP, i'm leaving"


... but it doesn't explain how to do this, hence the questions : shouldn't `wifi_station_disconnect` do this ? and how to properly disconnect if it doesn't ?

Thanks.
User avatar
By Ape21
#86072 Try to unplug if the command is not disconnecting it.