BLYNK_CONNECTED()
is a special callback function which is called once, each time the device connects or re-connects to the Blynk server.
If you wish to know if your device is currently connected to the Blynk server then you can use the Blynk.connected()
command to test if your device is currently connected to the Blynk server, as I explained in your other topic here…
BLYNK_CONNECTED()
and Blynk.connected()
are different commands with different purposes.
As this is a 6 year old topic, and as you appear to want to have a discussion about the same subject in two different topics, I’m going to close this topic.
Pete.