Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Ping command#1014

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
pennam merged 4 commits intoarduino:mainfromfabik111:add-ping-command
Feb 5, 2025
Merged

Ping command#1014

pennam merged 4 commits intoarduino:mainfromfabik111:add-ping-command
Feb 5, 2025

Conversation

@fabik111
Copy link
Contributor

This PR adds thePing command to SocketHelpers making it available from all the IP network interfaces (WiFi, Ethernet, CatM1...).

The method signature is:

  int ping(const char* hostname, uint8_t ttl = 128);  int ping(const String& hostname, uint8_t ttl = 128);  int ping(IPAddress host, uint8_t ttl = 128);

@pennam
Copy link
Contributor

Force pushed to fix conflicts and rebase onmaster. Other changes squashed in the first commit:

  • Add comments about ttl
  • Remove RP2040 changes in json file

Added patch with ICMPSocket ping. We need to move ping implementation inside libmbed to avoid adding lwIP include paths to the build. lwIP paths were intentionally removed to avoid clashes in non case sensitive systems.

de1baab

Adapt SocketHelpers ping to use ICMPSocket ping

@pennam
Copy link
Contributor

BoardEthWiFi
OPTA👍👍
H7👍👍
GIGANA👍
NVNA👍

@pennampennam requested a review fromfacchinmFebruary 5, 2025 07:53
@pennampennam merged commitd00befa intoarduino:mainFeb 5, 2025
10 checks passed
@megacct
Copy link
Contributor

Hi, could timeout be added to the public interfaces as I'd like to override the default 5000

@pennam
Copy link
Contributor

@megacct we can try to add it in the next release. You can provide a PR if you wish.

@megacct
Copy link
Contributor

Thanks@pennam . Not familar with the process but will investigate

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@facchinmfacchinmAwaiting requested review from facchinm

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@fabik111@pennam@megacct

[8]ページ先頭

©2009-2025 Movatter.jp