Note: The maximum is 4 clients in AP mode.

wifi.setMode(mode)
Sets the connection mode of the WIFI-module

0 = Client mode (The board connects to an existing WIFI-network)
1 = Access Point mode (WIFI devices are able to connect to the board)
2 = Client & Access Point mode
3 = Flash mode

Example:
This code sets the module to Client&AP mode


wifi.setMode(3); //Set to Client&AP mode

wifi.config(ssid,password,channel,encryption)
Sets the AP mode configurations of the WIFI-module

encryption:
0 = open
2 = WPA_PSK
3 = WPA2_PSK
4 = WPA_WPA2_PSK

Example:
Coming soon