You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DEBUG_ERROR("ArduinoIoTCloudTCP::%s could not initialize secure element.", __FUNCTION__);
239
+
#if defined(ARDUINO_UNOWIFIR4)
240
+
if (String(WiFi.firmwareVersion()) < String("0.4.1")) {
241
+
DEBUG_ERROR("ArduinoIoTCloudTCP::%s In order to read device certificate, WiFi firmware needs to be >= 0.4.1, current %s", __FUNCTION__, WiFi.firmwareVersion());
242
+
}
243
+
#endif
244
+
return0;
245
+
}
246
+
if (!SElementArduinoCloudDeviceId::read(_selement, getDeviceId(), SElementArduinoCloudSlot::DeviceId))
247
+
{
248
+
DEBUG_ERROR("ArduinoIoTCloudTCP::%s could not read device id.", __FUNCTION__);
249
+
return0;
250
+
}
251
+
if (!SElementArduinoCloudCertificate::read(_selement, _cert, SElementArduinoCloudSlot::CompressedCertificate))
252
+
{
253
+
DEBUG_ERROR("ArduinoIoTCloudTCP::%s could not read device certificate.", __FUNCTION__);
254
+
return0;
255
+
}
256
+
257
+
if (!Certificate.begin()) {
258
+
/* WARNING: This string is parsed from IoTCloud frontend */
0 commit comments