1

So I want to have one persistent SSL connection to a cloud server (Azure IoT Hub) to upload telemetry and another SSL connection to a server to perform a simple GET request every 30 minutes.

I've setup my first connection and telemetry is successfully sent, then I connect to the second server, I get a response, close the connection, but my first connection to Azure IoT Hub crashes.

I haven't found any information online on how many simultaneous SSL connections the Arduino Uno WiFi Rev. 2 supports nor any guidance on how to use more than 1 SSL connections. Any help would be greatly appreciated.

4
  • I have had some problems with using two sockets simultaneously with WiFiNINA versions > 1.3, see github.com/arduino-libraries/WiFiNINA/issues/87 . Maybe it's the same problem. Which WiFiNINA version are you using? – ocrdu Aug 6 '20 at 10:40
  • @ocrdu yes I think it's the same problem. I was using version 1.6.0. – Konstantinos P. Aug 16 '20 at 10:45
  • Edit: Firmware version is 1.3, library version is 1.7 – Konstantinos P. Aug 16 '20 at 11:35
  • If things work OK when you use firmware 1.4 and this alternative library: github.com/ocrdu/WiFiNINA , then it's the same problem 8-). – ocrdu Aug 16 '20 at 12:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.