User manual

Serial.write(esp8266.read());
if (Serial.available())
esp8266.write(Serial.read());
}
}
3
Configuration
To improve overview of the programs in general, most settings have also been
removed into individual functions, first of all the function espConfig, in which the
most important parameters for the respective program are set.
//---Config ESP8266---
boolean espConfig()
{
boolean success = true;
esp8266.setTimeout(5000);
success &= sendCom("AT+RST", "ready");
esp8266.setTimeout(1000);
if (configStation(SSID, PASSWORD)) {
success &= true;
debug("WLAN Connected");
debug("My IP is:");
debug(sendCom("AT+CIFSR"));
}
else
{
success &= false;
}