Skip to content

lwip esp-ping noisy serial output #9049

Closed
@SteveRMann

Description

@SteveRMann

Basic Infos

  • This issue complies with the issue POLICY doc.
  • I have read the documentation at readthedocs and the issue is not addressed there.
  • I have tested that the issue is present in current master branch (aka latest git).
  • I have searched the issue tracker for a similar issue.
  • If there is a stack dump, I have decoded it.
  • I have filled out all fields below.

Platform

  • Hardware: All ESP, I have a library issue
  • Core Version: latest managed by Arduino IDE
  • Development Env: Arduino IDE
  • Operating System: Windows

Settings in IDE

  • Module: All ESP. The issue is in the core library
  • Flash Mode: qio
  • Flash Size: All ESP. The issue is in the core library
  • lwip Variant:
  • Reset Method:
  • Flash Frequency:
  • CPU Frequency:
  • Upload Using:
  • Upload Speed:

Problem Description

PLEASE make a quiet mode for the ping function.

I use ping to monitor the state of my local servers, but the debug output of ping clutters an already busy terminal screen.
PLEASE make a quiet mode that simply returns a Boolean true or false if the ping is successful or not.

I just want a simple response if the target is present or not:
if (Ping.ping(remote_ip) == 0){

I DO NOT want the library to print other unwanted data to my terminal:
"ping 5, timeout 0, total payload 160 bytes, 5098 ms"

If I want to see that, then it should be up to me, not the library.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions