DWC_SetUserPingCallback

Syntax

#include <dwc.h>

BOOL DWC_SetUserPingCallback(DWCUserPingCallback callback,
                             void *param);

Arguments

callback Pointer to the ping callback function.
param Parameter for the ping callback.

Return Values

TRUE The configuration of the callback function was successful.
FALSE The configuration failed because the FriendsMatch Library was not running.

Description

This function configures the ping callback to measure the roundtrip communication time with a connected host. This function starts measuring the roundtrip communication time with a connected host using the DWC_Ping function and notifies the ping callback function of the measurement result.

Revision History

2.0.0
Specification change.

CONFIDENTIAL