File tree 2 files changed +1
-11
lines changed
2 files changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -100,8 +100,7 @@ class ArduinoIoTCloudClass
100
100
inline void clrThingIdOutdatedFlag () { _thing_id_outdated = false ; }
101
101
inline bool getThingIdOutdatedFlag () { return _thing_id_outdated; }
102
102
103
- inline bool deviceNotAttached () { return _thing_id == " null" ; }
104
- inline bool deviceNotConfigured () { return _thing_id == " " ; }
103
+ inline bool deviceNotAttached () { return _thing_id == " " ; }
105
104
106
105
inline ConnectionHandler * getConnection () { return _connection; }
107
106
Original file line number Diff line number Diff line change @@ -513,15 +513,6 @@ ArduinoIoTCloudTCP::State ArduinoIoTCloudTCP::handle_CheckDeviceConfig()
513
513
514
514
updateThingTopics ();
515
515
516
- if (deviceNotConfigured ())
517
- {
518
- /* maybe we have only missed the thing_id property...
519
- * unsubsribe and resubscribe immediately to trigger a new configuration command
520
- */
521
- _mqttClient.unsubscribe (_deviceTopicIn);
522
- return State::SubscribeDeviceTopic;
523
- }
524
-
525
516
if (deviceNotAttached ())
526
517
{
527
518
/* start long timeout counter
You can’t perform that action at this time.
0 commit comments