#define SSID "Test_Project"
#define PASSWORD "1234567890"
#include "uartWIFI.h"
#include <SoftwareSerial.h>
WIFI wifi;
extern int chlID; //client id(0-4)
void setup()
{
wifi.begin();
bool b = wifi.Initialize(AP, SSID, PASSWORD);
delay(3000);
wifi.confMux(1);
wifi.confServer(1,8080);
if(!b)
{
DebugSerial.println("Init error");
}
delay(8000); //make sure the module can have enough time to get an IP address
String ipstring = wifi.showIP();
DebugSerial.print
("My IP address:");
DebugSerial.println(ipstring); //show the ip address of module
String wifimode = wifi.showMode();
DebugSerial.println(wifimode); //show the name of current wifi access port
}
void loop()
{
}