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
While compiling the arduino-send-telemetry scetch in platformio ide of vscode I got this error:
Using thingsbord sdk 0.15.0
.pio\libdeps\d1_mini_pro\ThingsBoard\src/ThingsBoard.h: In member function 'bool ThingsBoardSized<MaxResponse, MaxEndpointsAmount, Logger>::Send_Json(const char*, const ArduinoJson::V6215PB2::JsonDocument&, const size_t&)':
.pio\libdeps\d1_mini_pro\ThingsBoard\src/ThingsBoard.h:289:22: error: 'class IMQTT_Client' has no member named 'get_buffer_size'; did you mean 'set_buffer_size'?
289 | if (m_client.get_buffer_size() < json_size) {
| ^~~~~~~~~~~~~~~
| set_buffer_size
The text was updated successfully, but these errors were encountered:
My bad I missed that call while adjusting the library to breaking changes in the API. To fix it simply replace the call with get_send_buffer_size. That should fix the compilation issue.
While compiling the arduino-send-telemetry scetch in platformio ide of vscode I got this error:
Using thingsbord sdk 0.15.0
The text was updated successfully, but these errors were encountered: