This code is from my appControllerFire and I get disconnected message. After that code keeps running and when I detect sensor I want to send it with wifi therefore I change powerControl to wakeUp and connect to it again.
Edit: I investigated problem further more and I found that line in documentation In this mode, memory is not retained, and wake up requires a cold boot initialization But unfortunately couldn't find anything about cold boot initialization. Can you enlighten me what is cold boot initialization ? or share documentation with me.
WlanNetworkConnect_PowerControl(WLANNWCT_PWRCTRL_WAKEUP, NULL); printf("Wifi in Wakeup Mode\n\r"); WLAN_Reconnect();
and there is my problem:
INFO | XDK DEVICE 1: Wifi in Wakeup Mode INFO | XDK DEVICE 1: Network Connection is active
I get these outputs and then device freezes. What I am doing wrong ?