XRP wpilib wifi not showing up

Hi! I’m a software mentor for FRC team 2079, and we are running a class where new students are using XRP bots to learn FRC programming. I have a lot of experience with software and embedded systems.

One of our students’ robot no longer seems to be setting up wifi properly. This robot has in the past connected fine, both in our shop (with all robots on the same WIFI), and at the student’s home. He did say sometimes it takes a few minutes for the SSID to show up.

However, now it comes up in AP mode, and the SSID does not appear. We have tried

  • Resetting the bot
  • Re-flashing the firmware
  • Unplugging all peripherals
  • Trying to connect to the listed SSID as an unbroadcast network
  • Making sure the robot is powered only through the USB-C (to ensure against brownout from low battery).

Note that other robots in the shop were connecting just fine, and did not have any trouble.

Any other ideas? Is this just a busted wifi module? Is there any kind of errors that can be discerned from the flashing blue light? Though I would expect since it provides a text file, it could put them in there.

Here are a few things to try.
1 - While plugged in the USB, you should see a disk being mounted named PICODISK. On that disk is a config file for the WiFi setup. Make sure it has everything you expect.
2 - If everything looks good, then you could try loading MicroPython onto the board and go to xrpcode.wpi.edu. Once everything is up to date. Try starting a web server there. You can either do a blockly program and use the “Start Web Server” block as is or the following Python code.
from XRPLib.webserver import Webserver
webserver = Webserver.get_default_webserver()
webserver.start_network(ssid=“xrp_1”, password=“”)
webserver.start_server()

When you run this it will either setup an AP with xrp_1 or hopefully give you some informational error messages.

Hope this helps

Thanks. We have not used the xrplib stuff, because the goal is to learn FRC programming. But this might help with diagnosis.

Yes, I did check the XRP status file, and it claims AP mode with a specified SSID that never appears in computer or phone wifi.

Maybe @ZeeQueue can help?

I will have access to the board tonight, and maybe swap it out so I can play with it more. Will try the python code.

So I finally saw the student last night, and board is now working, no issues. So I don’t know what was happening.