Just a quick heads up.
Version 7.x of ArduinoJson (by Benoit Blanhon) implements changes which may create issues when compiling. Other breaking updates may include the arduino-esp32 boards libraries (2.0.13) and the ESP32 WebSocket libraries, I’m guessing here.
The following is the first obvious error that I have come across. this was tested with the simple LED example and the Seeed XIAO ESP32-S3, which previously compiled with no errors.
In file included from
..\WebThings-Arduino-ESP32-S3_LED\WebThings-Arduino-ESP32-S3_LED.ino:13:
..\Arduino\libraries\webthing-arduino/Thing.h: In member function 'void ThingDevice::queueEventObject(ThingEventObject*)':
..\Arduino\libraries\webthing-arduino/Thing.h:692:51:
error: cannot convert 'const AsyncWebSocketClient' to 'AsyncWebSocketClient*' in initialization
((AsyncWebSocket *)this->ws)->getClients()) {
I’m currently going through the code to work out what else has broken. This may not be the only thing broken.
Debugging time.