Is there a way to disconnect from Thinger.io and connect back?


#1

Hello,

I want to know if there is any Arduino function to disconnect from the Thinger.io whenever required and connect back once some logic satisfies?


#2

Hi, I have just added a stop function over the thing function. So you can now call thing.stop(); when required to disconnect the client (and stop calling the thing.handle(); function. To reconnect again, you will require to call thing.handle(); again in the loop (remember to call it not just once, but as long as you need your device connected).

You can try the function by using the master library version from Github (it is not available yet over the Arduino Library Manager).

https://github.com/thinger-io/Arduino-Library/archive/master.zip

Hope this help!


#3

Thanks. Will Check out


#4

Did u get it? @wingifysmartchair1

A little example pls


#5

uff que crema :wink: