Simple TCP Client for fast sampling rate

willpowell
Posts: 3
Joined: Wed Sep 22, 2021 2:33 pm

Simple TCP Client for fast sampling rate

Postby willpowell » Wed Sep 22, 2021 2:53 pm

Hi everyone, hope you're having a good day.

I am new to all things espressif and just looking for a minimal solution for ESP32 as a fast TCP Client to transfer ADC data.

I have created an Arduino based client, but getting slow speeds (around 10 kilobytes per second). I have tried sending larger packet sizes but 2048 bytes per packet causes packet fragmentation. I have tried iperf and a few other examples from esp-idf, but they all seem WAY to complex for my application.

Does anyone have a bare minimum implementation for a fast TCP client? Do I need to change config settings to speed up device (CPU speeds etc.)? Is Arduino IDE unsuitable for high speed TCP?

Please spell it out for me as a lot of previous forum posts have been very confusing!
Thanks in advance,
Will

Who is online

Users browsing this forum: No registered users and 146 guests