ESPping icon indicating copy to clipboard operation
ESPping copied to clipboard

New features?

Open BojanJurca opened this issue 1 year ago • 3 comments

Hello,

the following functionalities may come handy with ESP32:

  • Ability to ping simultaneously from different tasks. When I tried to do so, the return echo packets just got mixed, not knowing which belongs to which task.

  • Ability to capture intermediate ping results.

Bojan

BojanJurca avatar Apr 02 '24 06:04 BojanJurca

create a pull request :+1:

dvarrel avatar Apr 08 '24 02:04 dvarrel

I've taken a look into the code. It would require a massive restructuring - static variables and callback functions to class instances.

I can do it for ESP32, but I don't have that much experience with ESP8266. It should be easier though, since ESP8266 only runs a single task, but it is lacking some network structures, like hostent, ...

BojanJurca avatar Apr 14 '24 16:04 BojanJurca

to see how many ping errors there were

ESPping.h: class PingClass { public: byte errors();

ESPping.cpp: byte PingClass::errors() { return _errors; }

miharoot avatar Dec 26 '24 16:12 miharoot