Skip to content

Commit bb6f6a4

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

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ArduinoIoTCloudTCP.cpp

Lines changed: 1 addition & 0 deletions
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)