I'm having hard time implementing this.
particleDevice.isConnected function informs me way too late. ( I'm unplugging the device, so probably it cant clear its socket properly).
I tried to read some dummy variable but again, 10 to 15 seconds delay which not gonna work on my project.
Can you guys help me a lil bit?