[MQTT] Added Doxygen TODOs
This commit is contained in:
parent
29d24c916b
commit
735db87bb3
1 changed files with 1 additions and 2 deletions
|
@ -205,7 +205,7 @@ int16_t MQTTClient::publish(const char* topic, const char* message) {
|
||||||
#endif
|
#endif
|
||||||
return(state);
|
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) {
|
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];
|
uint8_t* dataIn = new uint8_t[numBytes];
|
||||||
_tl->receive(dataIn, numBytes);
|
_tl->receive(dataIn, numBytes);
|
||||||
if(dataIn[0] == MQTT_PUBLISH << 4) {
|
if(dataIn[0] == MQTT_PUBLISH << 4) {
|
||||||
// TODO: properly decode remaining length
|
|
||||||
uint8_t remLenFieldLen = 0;
|
uint8_t remLenFieldLen = 0;
|
||||||
uint32_t remainingLength = decodeLength(dataIn + 1, remLenFieldLen);
|
uint32_t remainingLength = decodeLength(dataIn + 1, remLenFieldLen);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue