Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5164

SDK • Re: Pico W generates error after using TCP for a while

$
0
0
I'm doing slightly better now I found code that was written for the ESP32 that uses the poll callback to send the data that was so slow so I called to poll function after each write... That was much faster like I would expect however that came with the same crashing. I need a way to call poll faster or after I write so many bytes into the buffer.

I added a sleep into the write and it crashes out much faster. I'm not sure if this is a race condition with the poll function or just sending to much like I'm sending 1 byte data packets as quick as I can in a loop not the best idea,

Statistics: Posted by DarkElvenAngel — Sat Dec 16, 2023 8:19 pm



Viewing all articles
Browse latest Browse all 5164

Trending Articles