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?
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?
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!
Thanks. Will Check out
uff que crema