Hi @victor and @peekay123
This looks a lot like the problem in this thread that was fixed by a change to single-threading guard functions:
That problem was caused by a static global declaration, but I sure don’t see that here.
Why you need to do this?
#include <string.h>
Arduino Strings are already pulled in by the application.h header and I don’t see a C string (char*) function that you are using.