From 735db87bb3dbf6c1477972fc83a80bed50fb794a Mon Sep 17 00:00:00 2001 From: jgromes Date: Fri, 10 Jul 2020 08:51:43 +0200 Subject: [PATCH] [MQTT] Added Doxygen TODOs --- src/protocols/MQTT/MQTT.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/protocols/MQTT/MQTT.cpp b/src/protocols/MQTT/MQTT.cpp index fb4791f7..b86b548f 100644 --- a/src/protocols/MQTT/MQTT.cpp +++ b/src/protocols/MQTT/MQTT.cpp @@ -205,7 +205,7 @@ int16_t MQTTClient::publish(const char* topic, const char* message) { #endif return(state); - //TODO: implement QoS > 0 and PUBACK response checking + /// \todo implement QoS > 0 and PUBACK response checking } int16_t MQTTClient::subscribe(const char* topicFilter) { @@ -410,7 +410,6 @@ int16_t MQTTClient::check(void (*func)(const char*, const char*)) { uint8_t* dataIn = new uint8_t[numBytes]; _tl->receive(dataIn, numBytes); if(dataIn[0] == MQTT_PUBLISH << 4) { - // TODO: properly decode remaining length uint8_t remLenFieldLen = 0; uint32_t remainingLength = decodeLength(dataIn + 1, remLenFieldLen);