Open plewka opened 5 years ago
After line 42 in *.c in the EHLO call there is client.localip() which is empty/0 at esp32. I used WiFi.localIP instead. Additionaly I had to add a "/r" to the end of the buffer to get a response from server. Btw: Great work - thanks!
//***** if (!buffer.startsWith(F("220"))) { return false; } buffer = F("HELO "); // buffer += client->localIP(); buffer += WiFi.localIP(); buffer += "\r"; // ******
After line 42 in *.c in the EHLO call there is client.localip() which is empty/0 at esp32. I used WiFi.localIP instead. Additionaly I had to add a "/r" to the end of the buffer to get a response from server. Btw: Great work - thanks!
//***** if (!buffer.startsWith(F("220"))) { return false; } buffer = F("HELO "); // buffer += client->localIP(); buffer += WiFi.localIP(); buffer += "\r"; // ******