I have a Muon beta v0.5 board with an M404 M-Som. Since it supports both Wifi and cellular connectivity, is there a way during startup, to prioritize wifi over cellular. The only way to get wifi connectivity currently, is unplug the cellular antenna, otherwise I get cellular connectivity first.
Use Device OS 5.9.0 (recommended anyway) and then use WiFi.prefer()
to prefer WiFi over cellular. This will still start cellular, and use it as a backup, but will prefer to route packets over WiFi if available.
Thanks Rick for the response. Before inserting the Wifi.prefer() statement and having the cellular antenna disconnected, the particle console shows the wifi signal strength and quality. After inserting the WiFi.prefer() statement and reconnecting the cellular antenna, upon reboot, the console shows cellular signal strength and quality. I would read this as the cellular is the main connectivity choice. How can I tell if the wifi is actually preferred?
Regards,
Greg