Skip to content

Commit c9cd3f5

Browse files
committed
Print Thing ID on serial monitor when board connects to the cloud
1 parent c35be6f commit c9cd3f5

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
@@ -559,6 +559,7 @@ ArduinoIoTCloudTCP::State ArduinoIoTCloudTCP::handle_SubscribeThingTopics()
559559
}
560560

561561
DEBUG_INFO("Connected to Arduino IoT Cloud");
562+
DEBUG_INFO("Thing ID: %s", getThingId().c_str());
562563
execCloudEventCallback(ArduinoIoTCloudEvent::CONNECT);
563564
_deviceSubscribedToThing = true;
564565

0 commit comments

Comments
 (0)