Skip to content

Commit 93d6fa8

Browse files
committed
Add DEBUG_ERROR if device is not receiving a valid thing_id from the cloud
1 parent 4a121ae commit 93d6fa8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ArduinoIoTCloudTCP.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,7 @@ ArduinoIoTCloudTCP::State ArduinoIoTCloudTCP::handle_WaitDeviceConfig()
469469
/* Configuration not received or device not attached to a valid thing. Try to resubscribe */
470470
if (_mqttClient.unsubscribe(_deviceTopicIn))
471471
{
472+
DEBUG_ERROR("ArduinoIoTCloudTCP::%s device waiting for valid thing_id", __FUNCTION__);
472473
return State::SubscribeDeviceTopic;
473474
}
474475
}

0 commit comments

Comments
 (0)