I just connected my MKR WIFI 1010 to the Arduino IoT Cloud. It identified my device, uploaded the setup sketch successfully, etc. I added a sample variable from the Setup tab and attempted to upload on the Sketch tab - just to test - and the default code won't compile/verify. I get this error:
In file included from /home/builder/opt/libraries/latest/arduinoiotcloud_1_4_1/src/ArduinoIoTCloud.h:166:0, from /tmp/153548237/Untitled_jan25c/thingProperties.h:3, from /tmp/153548237/Untitled_jan25c/Untitled_jan25c.ino:16: /home/builder/opt/libraries/latest/arduinoiotcloud_1_4_1/src/ArduinoIoTCloudTCP.h:132:5: error: 'WiFiBearSSLClient' does not name a type; did you mean 'WiFiSSLClient'? WiFiBearSSLClient _sslClient;
This is just from the default sketch/includes made when creating the sample variable - I've added/changed/deleted nothing else.
Is there something wrong with the ArduinoIoTCloud library?
We have no report of dependencies issues on the IoT Cloud library v1.4.1. Can you double check in your library manager if there are some libraries (bear ssl, wifi, etc) that might interfere with the IoT Cloud lib?
When I follow those steps, then click Verify, I get the message I posted.
I'm not installing libraries locally because I assume that's what the web editor will do for the sketch files it created, correct? I've not written any of my own code - just added a variable (in the Setup tab) to test and the web editor created code for that in thingProperties.h.
Am I missing something? Or maybe the directions are?
Do I need to create these files locally, install the libraries shown in the thingProperties.h file and install from my desktop IDE instead?
Yep, this getting started guide is a great resource.
My suggestion is to visit the library manager on the Web Editor, remove the custom libraries that might be also used by the IoT Cloud library as dependencies (for example, bear ssl, wifi, etc), and try to compile the sketch again.
IoT Cloud and the Web Editor share the same sketchbook and libraries, so if you add a custom library in the Editor, it will be used on IoT Cloud as well.