tcpwifiesp32arduino-esp32

Arduino ESP32-S2 TCP packet size


I am using ESP32-S2 in Arduino IDE as TCP/IP server. how can i change the TCP data receive packet size ? it is currently 5760 bytes, I have seen this in Wireshark TCP SYN packet ?

I have tried changing config parameters in sdkconfig file, but didn't worked out.


Solution

  • The Arduino environment for ESP32 works on compiled configuration of ESP IDF framework. So, its not possible to change any ESP32 configuration in Arduino IDE.

    There are 2 options to Change the configuration parameters.

    1. Change the configuration in ESP IDF CMD terminal and copy the compiled object files to the Arduino library (it has problem, when version mismatch happens).

    2. Use Espressif IDE for the development instead of Arduino IDE.(Configuration is quite simple )