-
-
Notifications
You must be signed in to change notification settings - Fork 217
Closed
Description
Hi all!
When using WifiUdp on portenta H7 i recognized a different behaviour compared to Arduino MKR1010
Now WiFiUDP.parsePacket() is blocking for 1s if no message is available.
Looking into WifiUDP.h i recognized a hardcoded timeout of 1000ms.
My suggestion:
- make the timeout user settable
- make the socket non blocking (or let the user decide by offering a setter)
_socket.set_blocking(false);
in WiFiUDP.begin(uint16_t port)
Best regards
Michael
Metadata
Metadata
Assignees
Labels
No labels