Hello, @alvarolb
Apparently, we have discovered the source of a conflict (See discussion at this link).
Everything indicates that using FreeRTOS + Thinger ( thing.start(); in core 0) and calling thing.is_connected() in core 1 (very frequently) causes some access conflict, which generates the SSL error (discussed in this topic: link).
This leaves a question: do we need to do any blocking when we call the thing object in the loop of core 1?
Ex:
void setup() {
Serial.begin(115200);
thing.start();
}
void loop() {
delay(1000);
if(thing.is_connected() == true) {
Serial.println("Connected!");
}
}
What approach do we need to take in the code? This one?
void setup() {
Serial.begin(115200);
thing.start();
}
void loop() {
delay(1000);
thing.lock();
if(thing.is_connected() == true) {
Serial.println("Connected!");
}
thing.unlock();
}