-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
wifi_recv command can "block forever" if tcp rx buffer empty when bytes requested.
one issue at a glance.... line 70 looks like a problem.
if(bytesReady == 0) return 0;
because in that scenario, line 79 doesn't get called !
wifi_simpletermResume();
so the debug term will appear to crash.
There may be more to this, and the same issue applies to wifi_scan.
I don't think wifi_recv should block under any circumstances. However- the "block forever" concern may just be an issue for Badge users, as simpleterm is required for all comms.
Metadata
Metadata
Assignees
Labels
No labels