assertion "unsent_oversize mismatch (pcb->unsent is NULL)" failed:
-
- Posts: 4
- Joined: Sun Oct 29, 2017 2:20 pm
assertion "unsent_oversize mismatch (pcb->unsent is NULL)" failed:
Every so often (once every couple of hours) tcp_write fails with: assertion "unsent_oversize mismatch (pcb->unsent is NULL)" failed. The same code works fine on my ESP8266 boards.
Re: assertion "unsent_oversize mismatch (pcb->unsent is NULL)" failed:
tcp_write can only be called from LwIPs own task, as raw API is not thread-safe.
Calling raw API from the application used to work with ESP8266 non-OS SDK, which was single threaded. But FreeRTOS is not.
Calling raw API from the application used to work with ESP8266 non-OS SDK, which was single threaded. But FreeRTOS is not.
-
- Posts: 4
- Joined: Sun Oct 29, 2017 2:20 pm
Re: assertion "unsent_oversize mismatch (pcb->unsent is NULL)" failed:
Thank you, I have now been able to solve the issue!
Who is online
Users browsing this forum: No registered users and 40 guests