How does the SDK know that it needs to connect to an AP ??
Posted: Mon Dec 15, 2014 4:41 am
Hi,
I've been looking at some of the demo code, and I can see how to connect to a AP, but it looks like when the code is rebooted, that the SDK automatically takes care of connecting to an AP
Does the SDK always do this, if the last command to the wifi was to make a connection to an AP?
I presume the only way to determine if the SDK has finished connecting to an AP is to keep calling wifi_station_get_connect_status(); on a timer e.g. ever second untill the connection is established ??
I've been looking at some of the demo code, and I can see how to connect to a AP, but it looks like when the code is rebooted, that the SDK automatically takes care of connecting to an AP
Does the SDK always do this, if the last command to the wifi was to make a connection to an AP?
I presume the only way to determine if the SDK has finished connecting to an AP is to keep calling wifi_station_get_connect_status(); on a timer e.g. ever second untill the connection is established ??