From 9178aac02ceed5db6df965b3d949070d0e2680c9 Mon Sep 17 00:00:00 2001 From: hsaturn Date: Fri, 26 Mar 2021 01:59:08 +0100 Subject: [PATCH] MqttClient client length augmented to 60 (was not passing MqttBox tests --- src/TinyMqtt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TinyMqtt.cpp b/src/TinyMqtt.cpp index 43d1e9e..b36dd4a 100644 --- a/src/TinyMqtt.cpp +++ b/src/TinyMqtt.cpp @@ -296,7 +296,7 @@ if (message.type() != MqttMessage::Type::PingReq && message.type() != MqttMessag // ClientId message.getString(payload, len); debug("client id len=" << len); - if (len>30) + if (len>60) { Serial << '('; for(int i=0; i<30; i++)