Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/ThingsBoard.h
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ class ThingsBoardSized {
#if THINGSBOARD_ENABLE_STREAM_UTILS
// Check if the size of the given message would be too big for the actual client,
// if it is utilize the serialize json work around, so that the internal client buffer can be circumvented
if (m_client.get_buffer_size() < json_size) {
if (m_client.get_send_buffer_size() < json_size) {
#if THINGSBOARD_ENABLE_DEBUG
Logger::printfln(SEND_MESSAGE, topic, SEND_SERIALIZED);
#endif // THINGSBOARD_ENABLE_DEBUG
Expand Down