1.1.25.2 WDRV_WINC_ICMPEchoRequestAddr
C
WDRV_WINC_STATUS WDRV_WINC_ICMPEchoRequestAddr
(
DRV_HANDLE handle,
const WDRV_WINC_IP_MULTI_ADDRESS *const pIPAddr,
WDRV_WINC_IP_ADDRESS_TYPE ipAddrType,
const WDRV_WINC_ICMP_ECHO_RSP_EVENT_HANDLER pfICMPEchoResponseCB
)Description
Sends an ICMP echo request to the address specified.
Precondition
WDRV_WINC_Initialize must have been called.
WDRV_WINC_Open must have been called to obtain a valid handle.
Parameters
| Parameters | Description |
|---|---|
| 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 - The request has been accepted.
WDRV_WINC_STATUS_NOT_OPEN - The driver instance is not open.
WDRV_WINC_STATUS_INVALID_ARG - The parameters were incorrect.
WDRV_WINC_STATUS_REQUEST_ERROR - The request to the WINC was rejected.
Remarks
None.
