Dear Blynk Team
i attached here the pictures for your Refrence
previous i am using old version blynk everthing working perfect , what i need is when the wifi connected to esp32 on that time my buzzer will high couple of times, this funtion working fine on my Blynk legency, now that same code i apply to Blynk.Egent it will work but when i power on my ESP32 on that time the buzzzer will trigering couple of times but i dont want like i want when my Esp32 connected to the wifi on that time i want to on buzzer couple of times, can i know please where i need to put my code exactly on Blynk 2.0?
Placing any code inside setup will run once when the device reboots.
Your explanation n your code are contradictory.
There is no code that detects the wifi connection. As Edgent.begin is a blocking statement, it may stop there n proceed to the next line. But this is not the way you should be doing.
Write a code that checks the connection n beeps.
Search for wifi reconnection in the forum. And add your code to it. Do not use delays.
thanks you from the bottom of my heart it was working very well thank you
for new user i attached her the example you have to write before void setup
thank you
BLYNK_CONNECTED() {