WM_SetDCFData


C Specification

#include <nitro/wm.h>

WMErrCode WM_SetDCFData(
          WMCallbackFunc  callback , 
    const u8*             destAdr ,
    const u16*            sendData , 
          u16             sendDataSize );

Description

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.

Arguments

callback The callback function to call when an asynchronous process completes.
destAdr Pointer to the 6-byte buffer that indicates the MAC address of the communicating partner.
sendData A pointer to data to be send-reserved
Notice that the send-reserve data entity will be forcibly cached.
sendDataSize The size of the send-reserved data.

Return Values

Returns the process result as a WMErrCode enumerated type.

See Also

WM_StartDCF, WM_EndDCF

Revision History

10/22/2004 Changed return value types
10/05/2004 Changed argument types
08/02/2004 Standardized structure names
07/29/2004 Added descriptions
07/23/2004 Initial Version