EC21 and FC20 WiFi in STA mode

The FC20 is not a stand-alone WiFi module but rather a hardware extension of the EC21 (9×07), the FW to drive the FC20 is hosted in the same FW as the EC21.
For basic configuration of WiFi in AP mode or STA mode, see the commands and examples:

In STA mode, to send and receive data:

This application note mentions AP mode but also applies to STA mode. See following example to send and receive data from WiFi hotspot.

at+qwifi=1
OK
+QWIFICFG: "stastatus",1,"dave12113"
// TURN OFF THE CELLULAR RADIO, to demonstrate comms must be over WiFi
at+cfun=0
OK
+CEREG: 0
// OPEN THE SOCKET TO TCP ECHO SERVER
at+qfwdclient=0,1,"IP","TCP","220.180.239.212",8305,"usbat"
OK
+QFWDURC: "client/open",1,0

at+qfwdsend=1,0        // SEND SOME TEXT
> hello world 01
+QFWDSEND: 1,15
OK

+QFWDURC: "client/read",1  // URC OF RECEIVED DATA
at+qfwdrecv=1,100          // READ THE RECEIVED DATA
+QFWDRECV: 1,15
hello world 01
OK
at+cfun?
+CFUN: 0
OK