#include <nitro/wm.h>
WMErrCode WM_SetDCFData(
WMCallbackFunc callback ,
const u8* destAdr ,
const u16* sendData,
u16 sendDataSize
);
callback |
Designates the callback function to call when the asynchronous process completes. This callback is called from within the interrupt handler. |
destAdr | Pointer to the 6-byte buffer that indicates the MAC address of the communicating partner. |
sendData | Pointer to the data to be send-reserved. Notice that the send-reserve data entity will be forcibly cached. |
sendDataSize | The size of the send-reserved data. |
Returns the results of the WMErrCode
enumerated type process.
Reserves data to be sent when using infrastructure mode communications. This function is executable only when the WM is in the DCF CHILD
state. If the return value is WM_ERRCODE_OPERATING
, a callback is generated after the data transmission process is complete.
06/08/2005 Added statement about callbacks being called from the interrupt handler.
10/22/2004 Changed return value type.
10/05/2004 Changed argument type.
08/02/2004 Standardized structure names.
07/29/2004 Added to Description
07/23/2004 Initial version