Functions | |
| wiced_result_t | wiced_ping (wiced_interface_t interface, const wiced_ip_address_t *address, uint32_t timeout_ms, uint32_t *elapsed_ms) |
Functions for ICMP echo requests (Internet Control Message Protocol) This is commonly known as ping
| wiced_result_t wiced_ping | ( | wiced_interface_t | interface, |
| const wiced_ip_address_t * | address, | ||
| uint32_t | timeout_ms, | ||
| uint32_t * | elapsed_ms ) |
Sends a ping (ICMP echo request)
Sends a ICMP echo request (a ping) and waits for the response. Supports both IPv4 and IPv6
| [in] | interface | : The interface (AP or STA) on which to send the ping |
| [in] | address | : The IP address to which the ping should be sent |
| [in] | timeout_ms | : Timeout value in milliseconds |
| [out] | elapsed_ms | : Pointer to a uint32_t which will receive the elapsed response time in milliseconds |