Skip to content
Merged
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: 2 additions & 0 deletions src/ArduinoIoTCloudTCP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ ArduinoIoTCloudTCP::State ArduinoIoTCloudTCP::handle_SubscribeMqttTopics()
if (!_mqttClient.subscribe(_dataTopicIn))
{
DBG_ERROR(F("ArduinoIoTCloudTCP::%s could not subscribe to %s"), __FUNCTION__, _dataTopicIn.c_str());
DBG_ERROR(F("Check your thing configuration, and press the reset button on your board."));
return State::SubscribeMqttTopics;
}

Expand All @@ -232,6 +233,7 @@ ArduinoIoTCloudTCP::State ArduinoIoTCloudTCP::handle_SubscribeMqttTopics()
if (!_mqttClient.subscribe(_shadowTopicIn))
{
DBG_ERROR(F("ArduinoIoTCloudTCP::%s could not subscribe to %s"), __FUNCTION__, _shadowTopicIn.c_str());
DBG_ERROR(F("Check your thing configuration, and press the reset button on your board."));
return State::SubscribeMqttTopics;
}
}
Expand Down