Search found 6 matches

by petermccloud
Tue Dec 26, 2017 6:03 am
Forum: ESP-IDF
Topic: mdns slow or no response
Replies: 0
Views: 2932

mdns slow or no response

I'm attempting to set up a master ESP32 as a Access Point (AP) that sets up a tcp socket with 4 slaves (Stations), each station is configured slightly differently and I want to use mdns to broadcast the configuration instead of hardcoding it on both the master and slave. I used the mdns example to c...
by petermccloud
Tue Dec 26, 2017 5:30 am
Forum: ESP-IDF
Topic: TCP Slow, then disconnects, UDP Slow
Replies: 8
Views: 11146

Re: TCP Slow, then disconnects, UDP Slow

Just following up on this thread and documenting my results. I bought a set of Adafruit Huzzah32 boards and they had no issues sending TCP and UDP. I stopped using my Sparkfun ESP32 Thing. I would recommend to anyone who wants to use the ESP-IDF, don't get the Sparkfun board.
by petermccloud
Sat Nov 25, 2017 3:36 am
Forum: ESP-IDF
Topic: TCP Slow, then disconnects, UDP Slow
Replies: 8
Views: 11146

Re: TCP Slow, then disconnects, UDP Slow

Did you try a make erase_flash before switching to 3.0? Yes. To help isolate the issue, I've been doing a make erase_flash before every time I switch IDF and toolchains to help make sure I've got a clean firmware. For some reason, it looks like my earlier test with v3.0-dev and XTAL set to 26MHz wa...
by petermccloud
Fri Nov 24, 2017 6:02 pm
Forum: ESP-IDF
Topic: TCP Slow, then disconnects, UDP Slow
Replies: 8
Views: 11146

Re: TCP Slow, then disconnects, UDP Slow

Try 3.0-dev version i think there are some phy fixes for 26mhz crystal that sparkfun uses Thanks for the suggestion WiFive! I tried out 3.0-dev. It initially gave me the same output. However, your comment led me to look at the XTAL freq in closer detail. I had been setting XTAL freq to Auto. I trie...
by petermccloud
Fri Nov 24, 2017 7:09 am
Forum: ESP-IDF
Topic: TCP Slow, then disconnects, UDP Slow
Replies: 8
Views: 11146

TCP Slow, then disconnects, UDP Slow

I am experiencing very slow TCP and UDP speeds between 2 Sparkfun ESP32 Thing boards. In addition the the TCP being slow, it disconnects very quickly. The first test was using the iperf example under master https://github.com/espressif/esp-idf/tree/master/examples/wifi/iperf Compiled with master/com...
by petermccloud
Wed Nov 22, 2017 8:31 pm
Forum: ESP-IDF
Topic: tcp socket speed 10Mbps only. How can I speed up?
Replies: 12
Views: 35811

Re: tcp socket speed 10Mbps only. How can I speed up?

I'm getting extremely slow speeds with the stock tcp_perf example (commit:commit 597ce3b800cc4857e1939bbb937610a9e30c6e72 ). I'm running a pair of Sparkfun ESP32 Things. I (33861) tcp_perf:: tcp connection established! I (33961) tcp_perf:: start sending... I (36861) tcp_perf:: tcp send 0.04 Mbits pe...