arduino-libraries / WiFi

WiFi Library for Arduino
http://arduino.cc/
115 stars 58 forks source link

How to debug WiFi connection problems? WiFi.status() always return 6 #63

Open greenpdx opened 12 months ago

greenpdx commented 12 months ago

Problem: I am using a RPi for a WiFi access point server. I can connect any other device to it and I can connect the Xiao ESP32C3 to a FreshTomato router, But the Arduino will not connect to the RPI wifi. WiFi.status() always return 6, DISCONNECT. Yes it is the combination of the RPI and the WiFI on the ESP32C3. And it is probably the RPi fault. But because every other device connects to the RPi, I have no clue what is wrong with the configuration. The arduino-ide is too basic for me, too much is hidden from the developer, great for beginners cookie cutter development, bad for complex debugging.

Details: I put the RPi in "g" mode and that forces 2.4 band.

Request; I what debug "print" statement to function. And I am able to add debug prints. How do I setup arduino-ide to include a local git repo as source? ( clone and use this repo )? Any suggestion on a reason? Or where to look in the Wifi protocol.

I am going to try no security on the WiFi while I am waiting.