dvarrel / ESPping

Apache License 2.0
14 stars 2 forks source link

Number of pings #9

Closed Gilbert54 closed 7 months ago

Gilbert54 commented 7 months ago

The ping function executes only one ping, regardless of the "count" parameter value.

dvarrel commented 7 months ago

what kind of chip have you got ?

Gilbert54 commented 7 months ago

ESP32 DEVKIT 1. No worries. It's no longer a problem. I tinkered with the library and noticed that the ping function works correctly. I thought that the function would return the number of succesfull pings, but it only returns true or false. My bad.