Blynk Ping

Hello!

I can see that Blynk prints the ping time when connected to the server => Blynk.begin(…). Is there an easy way to manually read this time in a loop? I need it just for testing purposes (not much important)

Kind Regards.

1 Like

Which type of Ping are you looking for?

The measurement called Ping in the Blynk logs appears to be a calculation of lastActivityIn-lastHeartbeat and not the more commonly referanced Ping used to test response between IP addresses. If the Blynk one is the one you need, then you can investigate it more by looking in the BlynkProtocol.h file.

If however you need the internet Ping, there are a few methods that I can find via Google, but you will need to check them out yourself to see what will work for you

1 Like

Hey!

Yes I think about the Ping in the Blynk logs, and I already found the lastActivityIn-lastHeartbeat value, but couldn’t figure it out how to access it from outside the library.

Kind Regards

Did you find a solution? I have the same problem, can you help me? :innocent:

Have you tried making that variable global?

No i couldn’t