Search found 2 matches

by ozzkuma
Sun Oct 31, 2021 7:34 am
Forum: General Discussion and Questions
Topic: Error in Code
Replies: 0
Views: 727

Error in Code

I am having a code that runs perfectly fine when I compile it with g++ (g++ example.cpp -o myapp), but when I try to compile it using the make command for the micropython env it gives the following error. CODE: SELECT ALL terminate called after throwing an instance of 'std::out_of_range' what(): vec...
by ozzkuma
Fri Oct 15, 2021 10:02 am
Forum: General Discussion and Questions
Topic: uasyncio task freezing
Replies: 9
Views: 3942

Re: uasyncio task freezing

Hi everyone, I have a uasyncio task running on an ESP8266 which sends DNS lookups (UDP). I'm using uasyncio.StreamReader (and writer) on the socket object to do this asynchronously. Most requests are successful, but sometimes the task indefinitely hangs on "await reader.read(128)", which is reading...