#include <nitro/wm.h>
WMErrCode WM_StartDCF(
WMCallbackFunc callback ,
WMDcfRecvBuf* recvBuf ,
u16 recvBufSize );
Starts infrastructure mode communications
This function is only executable when the WM is in the CHILD state.
If the return value is WM_ERRCODE_OPERATING, a callback is generated after the communication mode change process is complete. The WM changes to the DCF CHILD state.
A callback is also generated when the data is received in the infrastructure mode.
callback |
Callback function to call when an asynchronous process completes. |
recvBuf |
Pointer to the data receive buffer. Because the ARM7 processor writes directly to the buffer, be careful of coherency with the cache. |
recvBufSize |
Size of the data receive buffer. |
Returns the process result as a WMErrCode enumerated type.
10/22/2004 Changed return value type
08/02/2004 Standardized structure names
07/29/2004 Added descriptions
07/23/2004 Initial version