Skip to content

Commit 8393287

Browse files
committed
Mark functions setting/getting the thing id as deprecated.
1 parent c7ce0d1 commit 8393287

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ArduinoIoTCloud.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ class ArduinoIoTCloudClass
8989
void push();
9090
bool setTimestamp(String const & prop_name, unsigned long const timestamp);
9191

92-
inline void setThingId (String const thing_id) { _thing_id = thing_id; };
93-
inline String & getThingId () { return _thing_id; };
92+
inline void setThingId (String const thing_id) { _thing_id = thing_id; } __attribute__((deprecated("It is no longer necessary to configure a THING ID.")));
93+
inline String & getThingId () { return _thing_id; } __attribute__((deprecated("It is no longer necessary to configure a THING ID.")));
9494
inline void setDeviceId(String const device_id) { _device_id = device_id; };
9595
inline String & getDeviceId() { return _device_id; };
9696

0 commit comments

Comments
 (0)