File tree Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -100,8 +100,7 @@ class ArduinoIoTCloudClass
100100 inline void clrThingIdOutdatedFlag () { _thing_id_outdated = false ; }
101101 inline bool getThingIdOutdatedFlag () { return _thing_id_outdated; }
102102
103- inline bool deviceNotAttached () { return _thing_id == " null" ; }
104- inline bool deviceNotConfigured () { return _thing_id == " " ; }
103+ inline bool deviceNotAttached () { return _thing_id == " " ; }
105104
106105 inline ConnectionHandler * getConnection () { return _connection; }
107106
Original file line number Diff line number Diff line change @@ -506,15 +506,6 @@ ArduinoIoTCloudTCP::State ArduinoIoTCloudTCP::handle_CheckDeviceConfig()
506506
507507 updateThingTopics ();
508508
509- if (deviceNotConfigured ())
510- {
511- /* maybe we have only missed the thing_id property...
512- * unsubsribe and resubscribe immediately to trigger a new configuration command
513- */
514- _mqttClient.unsubscribe (_deviceTopicIn);
515- return State::SubscribeDeviceTopic;
516- }
517-
518509 if (deviceNotAttached ())
519510 {
520511 /* start long timeout counter
You can’t perform that action at this time.
0 commit comments