I have set the WiFi pins accordingly.
The API calls are for IoT devices in my network.
So far, I am able to make API calls using the connect() function with HTTP (not HTTPS) requests, to a Philips Hue Bridge and a WeMo smart switch, with the difference of both being accessed via a local IP address and the Sensibo API being accessed via a public IP address, hence HTTPS.
I am able to get HTTP responses using the WiFiWebClient.ino example, albeit getting the HTTP response status code 301 Moved Permanently.
For the 301 code, I believe I require SSL for the connection.
However in the WiFiSSLClient.ino example or using the connectSSL() function, even with the default "
www.google.com" , there is no HTTP response output in the SerialMonitor.
All of which outputs:
Starting connection to server...
disconnecting from server.
Is it due to the SSL certificates not uploaded?
And if so, is it possible to assist me by providing a step-by-step method to perform the Firmware Update to upload to SSL certificates?Edit: I managed to upload the SSL certs to my TinyZero, however, there is still no output.Edit: I have resolved my issue, the issue was that in the FirmwareUpdater.ino, SerialUSB is required instead of Serial. Then uploading the SSL certs went without a problem.
Thank you!