Search found 27 matches

by peterglen
Mon Nov 26, 2018 6:07 pm
Forum: ESP-IDF
Topic: ESP32 tools update broken
Replies: 2
Views: 3855

Re: ESP32 tools update broken

The path was broken: \/opt/xtensa-esp32-elf/bin:/mingw32/bin:/usr/local/bin:/usr/bin:/bin:/c/Windows/System32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/:/opt/xtensa-esp32-elf/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/bin/site_perl:/usr/b...
by peterglen
Mon Nov 26, 2018 6:01 pm
Forum: ESP-IDF
Topic: ESP32 tools update broken
Replies: 2
Views: 3855

ESP32 tools update broken

After update, the following is dispyad when compiling 'hello world'

fatal: 'git status --porcelain=2' failed in submodule components/asio/asio
Toolchain path: /opt/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
by peterglen
Tue May 29, 2018 11:50 pm
Forum: Report Bugs
Topic: TCP/IP randomly freezes
Replies: 4
Views: 8793

Re: TCP/IP randomly freezes

I have this error with both chips (Wrover /Wroom) The ARP entry for the softAP intermittently vanishes. Here is a dump before /after: Interface: 192.168.4.2 --- 0xd Internet Address Physical Address Type 192.168.0.1 00-00-00-00-00-00 invalid 192.168.4.1 00-00-00-00-00-00 invalid 192.168.4.255 ff-ff-...
by peterglen
Fri Apr 27, 2018 9:41 pm
Forum: Report Bugs
Topic: TCP/IP randomly freezes
Replies: 4
Views: 8793

Re: TCP/IP randomly freezes

I found out that the ARP description on a post elsewhere is correct. Here is mine on before / after: When error: Interface: 192.168.4.2 --- 0xd Internet Address Physical Address Type 192.168.4.255 ff-ff-ff-ff-ff-ff static 224.0.0.2 01-00-5e-00-00-02 static 224.0.0.22 01-00-5e-00-00-16 static 224.0.0...
by peterglen
Wed Apr 04, 2018 7:16 pm
Forum: Report Bugs
Topic: TCP/IP randomly freezes
Replies: 4
Views: 8793

TCP/IP randomly freezes

I am connecting to the esp32 from a browser. Made a tiny HTTP server, works great ... except the HTTP connection freezes randomly. When it freezes, I cannot ping either. The access point stays connected OK. The connection randomly recovers in a minute to two ...
by peterglen
Wed Mar 28, 2018 9:19 pm
Forum: ESP-IDF
Topic: ESP32 STA Mode, delay
Replies: 1
Views: 2839

ESP32 STA Mode, delay

I have an HTTP server running on the ESP32, works well, but randomly there is 3-30 sec delay on response. When the responses stop, I also cannot ping the board from my PC.
by peterglen
Wed Mar 28, 2018 9:14 pm
Forum: General Discussion
Topic: How getting immediate alert when TCP connection is closed ?
Replies: 1
Views: 3930

Re: How getting immediate alert when TCP connection is closed ?

Use MSG_PEEK | MSG_DONTWAIT for seeing if the socket has data before recv blocks: Here is a snippet that might help: ////////////////////////////////////////////////////////////////////////// // Wait until data arrives, bail out if got end of HTML or closed socket // static int peekrecv(int sock, ch...