Skip to content

Commit

Permalink
Merge pull request #349 from emanueleg/master
Browse files Browse the repository at this point in the history
Correct documentation re: non-failure return value of `WiFiClass::ping`
  • Loading branch information
per1234 authored Oct 19, 2023
2 parents 1634ec2 + 9e3ff41 commit c4b4959
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -891,7 +891,7 @@ host: the host to ping (string)
ttl: Time of live (optional, defaults to 128). Maximum number of routers the request can be forwarded to.

#### Returns
WL_PING_SUCCESS when the ping was successful
the RTT value (>=0) when the ping was successful
WL_PING_DEST_UNREACHABLE when the destination (IP or host is unreachable)
WL_PING_TIMEOUT when the ping times out
WL_PING_UNKNOWN_HOST when the host cannot be resolved via DNS
Expand Down

0 comments on commit c4b4959

Please sign in to comment.