Hi,
I just created non-blocking ICMP plugin that allows multiple instances.
It is very handy in following scenarios:
1)Watchdog for Buggy WIFI stack or AP, sometimes AP or device wifi stack itself partially crash, shows themself as associated, but IP stack is dead and device cannot reach anything outside.
2)Watchdog for various IP-enabled devices. ESP Easy unit can check his own wifi connection (ping to AP or gateway), and then, if it is fine - check device, and if it failed N times- reboot and set grace period until next checks.
3)Monitor several devices behind nat and send results outside, to controller
But i have following problem, different, 9 month old _P126_Ping already exist in playground, but it uses third-party ESP8266-only library (mine doesn't use any), and does preallocate quite large resources in ram even without init.
Honestly i didnt tested mine on ESP32, but it should be not hard to port it, if necessary.
Shall i push my plugin to playground under new ID or same ID, as 126?
Non-blocking ICMP ping plugin
Moderators: grovkillen, Stuntteam, TD-er
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Non-blocking ICMP ping plugin
You could publish it to the main repository if you are gonna maintain it, else push to playground.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
-
- New user
- Posts: 3
- Joined: 16 Aug 2019, 18:21
Re: Non-blocking ICMP ping plugin
Thank you, seems i will test it internally, thoroughly, then will send pull request for main tree.
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Non-blocking ICMP ping plugin
Sounds good!
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: Non-blocking ICMP ping plugin
Yep for sure sounds good.
You can already make a pull request and write a note along with it that it is still in test phase, so not yet to be merged.
Then I can also have a look at it (no I am not curious....)
You can already make a pull request and write a note along with it that it is still in test phase, so not yet to be merged.
Then I can also have a look at it (no I am not curious....)
-
- New user
- Posts: 3
- Joined: 16 Aug 2019, 18:21
Re: Non-blocking ICMP ping plugin
Done! Please let me know if anything need to be done in it, and if it is acceptable in general
Re: Non-blocking ICMP ping plugin
Been there, done thatnuclearcat wrote: ↑18 Aug 2019, 01:35 Done! Please let me know if anything need to be done in it, and if it is acceptable in general
Who is online
Users browsing this forum: Bing [Bot] and 41 guests