1.1.14.3 WDRV_WINC_ICMPEchoRequestAddr

Function

WDRV_WINC_STATUS WDRV_WINC_ICMPEchoRequestAddr
(
DRV_HANDLE handle,
WDRV_WINC_IP_MULTI_ADDRESS *pIPAddr,
WDRV_WINC_IP_ADDRESS_TYPE ipAddrType,
const WDRV_WINC_ICMP_ECHO_RSP_EVENT_HANDLER pfICMPEchoResponseCB
)

Summary

Send an ICMP echo request.

Description

Sends an ICMP echo request to the address specified.

Precondition

WDRV_WINC_Initialize should have been called. WDRV_WINC_Open should have been called to obtain a valid handle.

Parameters

handle - Client handle obtained by a call to WDRV_WINC_Open.

pIPAddr - Pointer to IP address to send the request to.

ipAddrType - Address type.

pfICMPEchoResponseCB - Pointer to callback function.

Returns

WDRV_WINC_STATUS_OK - Callback registered.

WDRV_WINC_STATUS_INVALID_ARG - The parameters were incorrect.

WDRV_WINC_STATUS_REQUEST_ERROR - The request to the WINC was rejected.

Remarks

None.