I’ve been trying to get an Arduino Opta to connect to the Arduino Cloud for some time, but keep running into issues. I’m using Fedora Linux, and PlatformIO on VS code. I’m using Arduino’s Arduino_ConnectionHandler and ArduinoIoTCloud libraries for this, as well as tried using Arduino’s WiFi library as well.
I was able to get it connected to my network on Arduino IDE web browser, but I need to be able to do so on PlatformIO as well. It kept spitting errors about an undeclared NINA_GPIO0 from the WiFiNINA library, but after I gave it an arbitrary 0 value, it kept saying that the Arduino_Portenta_OTA library could not be found, even though it seems to download it itself any time I try deleting it.
I’ve already tried deleting and letting the library manager reinstall it, but it still doesn’t recognize it. I’ve tried explicitly declaring it in the lib_deps section of the platformio.ini file, as well as put lib_ldf_mode to deep+ so it would have a better chance at finding it. Whenever it DOES recognize it, it spits a warning about a typecast from WiFi to Mbed or something along those lines.
If anyone has had similar issues with an Arduino Opta, help would be much appreciated. Thanks!
Andrew Dile is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.