9.20.3 Examples:

Example Command Sequence 4: Connection with +WSTA and +WSTAC
→ AT+WSTAC=1,"MyAP"                             //Configure AP connection parameters
← OK
→ AT+WSTAC=2,1
← OK
→ AT+WSTAC=3,"MyAPPSK"
← OK
→ AT+WSTA=1                                     //Connect to AP
← OK
← +WSTALU:1,"00:01:02:03:04:05",6               //Link up: connected on channel 6
← +WSTAAIP:1,"192.168.0.20"                     //IP address received via auto configuration (DHCP/SLAAC)
→ AT+WSTA
← +WSTA:1
← OK
← +WSTALD                                      //Link down