#include <nitro/wm.h>typedef void ( *WMCallbackFunc )( void* arg );
arg |
Pointer to a structure that will be passed to a callback function. The corresponding structure that is passed by each calling function is shown below. | |
WM_StartParent |
WMStartParentCallback* |
|
WM_StartScan |
WMStartScanCallback* |
|
WM_StartScanEx |
WMStartScanExCallback* |
|
WM_StartConnectWM_StartConnectEx |
WMStartConnectCallback* |
|
WM_Disconnect, WM_DisconnectChildren |
WMDisconnectCallback* |
|
WM_SetMPParameterWM_SetMPFrequencyWM_SetMPParentSizeWM_SetMPChildSizeWM_SetMPTimingWM_SetMPInterval |
WMSetMPParameterCallback* |
|
WM_StartMP |
WMStartMPCallback* |
|
WM_SetMPDataToPortWM_SetMPDataToPortExWM_SetMPData |
WMPortSendCallback* |
|
WM_StartDCF |
WMStartDCFCallback* |
|
WM_MeasureChannel |
WMMeasureChannelCallback* |
|
WM_GetWirelessCounter |
WMGetWirelessCounterCallback* |
|
WM_SetIndCallback |
WMIndCallback* |
|
WM_SetPortCallback |
WMPortRecvCallback* |
|
| Common to other asynchronous functions | WMCallback* |
|
None.
Format of a user callback function that is called either on completion or during an asynchronous process that was started by an asynchronous WM function. It takes as an argument a pointer to the structure where the processing results of an asynchronous process are stored.
2005/11/24 Added WM-SetMPParameter callback.
2005/03/04 Added WM_SetMPData* callback.
2005/02/14 Added callback for use during WM_StartScanEx.
2004/10/26 Added Disconnect callbacks.
2004/08/11 Added callback types.
2004/08/02 Standardized structure names.
2004/07/29 Initial version.
CONFIDENTIAL