1.1.8.1 WDRV_WINC_ICMP_ECHO_RSP_EVENT_HANDLER Typedef

typedef void (*WDRV_WINC_ICMP_ECHO_RSP_EVENT_HANDLER)

C

Summary

Pointer to an ICMP echo response event handler function.

Description

This data type defines a function event handler which is called in response to an ICMP echo request response event.

Parameters

Param

Description

handle

Client handle obtained by a call to WDRV_WINC_Open.

ipAddress

IPv4 address.

rtt

The round-trip time.

statusCode

Status code.

Returns

None.

Remarks

Only supported with the socket mode WINC driver. The status code indicates if the ICMP echo request was successful or not. It may take the form of either: PING_ERR_SUCCESS - The request was successful. PING_ERR_DEST_UNREACH - The destination was unreachable. PING_ERR_TIMEOUT - The request timed out.