Is there a way to disconnect from and connect back?


I want to know if there is any Arduino function to disconnect from the 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).

Hope this help!

Thanks. Will Check out

Did u get it? @wingifysmartchair1

A little example pls

uff que crema :wink: