My Nano 33 IOT was having significant issues connecting with my wifi router. It would take up
to an hour to connect (if at all).
- I used the Github version of WifiNINA to print reason codes:
Use IEEE 802.11 codes to identify network issues
the WifiNINA version in the Library manager doesn't have reasonCode(), so I got it from GitHub.
- Using reason codes, I was able to identify that my router might be causing the issue. By disabling APSD in my router configuration for 2.4Ghz, my connections started working very quickly (<30 seconds). I kept resetting my Nano and it kept connecting!!!
I hope this helps someone.