Using the latest WiFiNINA firmware (1.4.3) and Arduino IDE (1.8.14) with Nano33IoT I see WiFi results similar to those described elsewhere in this forum.
I built a wireless gateway from a low-power (NRF24 based) wireless sensors to BLYNK via WiFi using the Nano33IoT plus an NRF24 radio module. However, the connection is unstable, losing connection randomly but frequently (a few times per day). I cobbled together a replacement using an ESP8266 (ESP-01) WiFi module running a standalone BLYNK client, using Generic ESP8266 Board (2.7.4) in the same IDE, taking a simple serial data input from an Arduino Uno which handles the NRF24 side, and this seems to be solid, so I conclude that the instability I see is within the Nano33IoT.
The instability is not consistent. Unrecovered WiFi disconnects are most frequent. Less often the BLYNK timer seems to get corrupted and run very slowly or intermittent (as indicated by a flashing LED driven by the timer event). But I think I need a resolve the Wifi disconnection before I can reliably explore the further problems. In order to reconnect I have tried various suggested reconnection state machines, with some success, but this doesn't seem to be the right approach, given that the ESP8266 works fine without. It seems the ESP32 should be able to work as well as the ESP8266 in this regard.
I suspect that my "Smart" WiFi router (BT Smart Hub 2) may interrupt the network periodically (perhaps to optimise its channel selection?). The BLYNK app is currently running for both versions of hardware described above, and it indicates when service last went online or offline. The Nano app currently indicates: "Offline since 04:00 am Mar 9, 2021", while the ESP8266 app states "Online since 04:00 am Mar 9, 2021" although both have been running longer than that. Clearly an event happens on the WiFi at 4 am that restarted the connection for the ESP8266, but the Nano was unable to survive this. I see similar events a few times per day, and are often exactly on the hour, as was this one, so likely to orignate with the router (or possibly from the Blynk server?, but that seems less likely) as there is no RTC in my gateway hardware..
My full Nano code is quite long so I havent put it here, but I have also implemented very simple BLYNK example code on just the Nano33IoT (with no NRF24), and it too disconnects after a few hours, while a similar example running standalone on the ESP8266 is stable.
Is it reasonable to expect the ESP32 on the Nano33IoT to maintain WiFI connection, as well as does the ESP8266? If not, what is currently the recommend solution to maintaining connection? Thank you for your help.