Wifi and dual core Bug
Posted: Mon Jul 29, 2019 4:48 pm
I'm Using WifiClient.h, but when I declare a task for Core 0, all works fine ultil I make a wifi request, in the line:
the core 1 stops and doesn't start again.
When i don't declare the task for Core 0 there isn't problem, I believe that the content of the task doesn't matters because if there is only a delay, the problem persists.
If I make the same process but using EthernetClient instead of Wifi, the code works correctly.
Code: Select all
char status[32] = {0};
client.readBytesUntil('\r', status, sizeof(status));
When i don't declare the task for Core 0 there isn't problem, I believe that the content of the task doesn't matters because if there is only a delay, the problem persists.
If I make the same process but using EthernetClient instead of Wifi, the code works correctly.