A wifi scan can be very disruptive for the scanner (beginning at layer 1 - hardware), and can happen that no normal traffic may take place during the scan, or experience frame losses.EDIT: I commented out the call to perform a wifi scan, and it works as expected, so I assume that the scan is doing something that interacts badly with lwip. This is using the lwipopts from the pico-examples, and also using the scan code from the examples.
I'm assuming that it may be because I am in a callback when I perform the scan, so I may have to handle this differently; one issue is that I don't want the scan to cause the connection to timeout, so that might not be easy.... any ideas?
Statistics: Posted by gmx — Tue Dec 23, 2025 5:35 pm