Hi, there’s actually a WiFi debug protocol that’s more apt for this which works based on interrupts. However, I think it only works in the winc right now. We need to upgrade it to work on the 1DX unit.
Yeah, so, what you are saying is that you want the main thread to do work without waiting on someone to connect.
I understand, the best recommendation is to take the rstp library on our GitHub and just edit it. This is very easy to do. You can then insert all kinds of things you want in its main loop code.