JAndrassy / WiFiEspAT

Arduino networking library. Standard Arduino WiFi networking API over ESP8266 or ESP32 AT commands.
GNU Lesser General Public License v2.1
271 stars 44 forks source link

A liitle problem #44

Closed FoxEast2021 closed 3 years ago

FoxEast2021 commented 3 years ago

Hi sir Does your library support the ( client.setNoDelay(true); ) command? Because when compiling it gave the following error! Error : 'class WiFiClient' has no member named 'setNoDelay'

JAndrassy commented 3 years ago

Hi sir Does your library support the ( client.setNoDelay(true); ) command? Because when compiling it gave the following error! Error : 'class WiFiClient' has no member named 'setNoDelay'

AT firmware doesn't support it. it is the setting to turn off TCP Nagle's algoritm. AT firmware doesn't allow to turn it off. it wouldn't make much sense, because we first transfer data over Serial to the ESP and then the AT firmware sends it over WiFi. Without Nagle's algorihm single bytes received over Serial would be sent in a TCP packet over WiFi.