Connecting, disconnecting problem please fix the problem

@Sree I’d start by posting the ACTUAL CODE you are running, not a sketch that wont even compile.

I’d also read this:

I’ve also deleted your other two topics that are about the same issue. Please stop spamming the forum in this way, otherwise your login will be suspended.

Pete.