Datasheet
Flyport Wi-Fi and Ethernet Programmer's guide framework 2.3 (rev 1.0) www.openpicus.com
These values of the WFStatus variable can be used in the user task, for example, to control the Wi-Fi
connection or to stop the retries for a while after reaching a retry limit.
To Connect to a Wi-Fi net → WFConnect( int pconn );
The WFConnect() function starts opening a connection using the provided Wi-Fi profile. The Flyport
will continue its tasks even if it can't connect to the network, and will send UART messages regarding
connection time-out.
Parameters:
pconn: the Connection Wi-Fi Profile (WF_DEFAULT or WF_CUSTOM)
To Disconnect from a Wi-Fi net → WFDisconnect();
This function starts the closing of the actual network
Parameters:
none
To Stop Connection retries to a Wi-Fi net → WFStopConnecting( );
When the WFConnect command is launched, the device tries to connect to the selected Wi-Fi
network until it doesn't find it. If it is necessary to STOP retrying, this function must be called.
Parameters:
pconn: the Connection Wi-Fi Profile (WF_DEFAULT or WF_CUSTOM)
34










