Conversion
Posted: Sun Sep 11, 2016 10:12 pm
Hello , my ESP8266 receives the IP by the POST method (String ), then converts to IP address and then writes to the EEPROM , the problem is that command write 192.168.0.39 and the system records 184.143.254.63 . I guess it's conversion error , but have not found the solution yet.
Data received by the POST method :
Data received by the POST method :
Code: Select all
if (server.hasArg("SSID") && server.hasArg("SENHA")&& server.hasArg("IPESTACAO")){//enviou configurações
String _qip = server.arg("IPESTACAO");
IPAddress qip=ipFromString(_qip.c_str());