WBT_RequestSync


C Specification

#include <nitro/wbt.h>

BOOL WBT_RequestSync(u16 target, WBTCallback callback);

Description

Synchronizes communication between parent and child. The send/receive packet size set by the parent is copied to the child.

The call fails if a command is still processing.

Each child device calculates the transfer unit size and bitmap buffer size based on the size setting. Therefore, this function must be called at least once before calling the WBT_GetBlock function.

Arguments

target The target AID bitmap that synchronizes the parent and child. For the child, only the parent "1" can be specified.
callback The WBTCallback type of function that receives notification when the command finishes.

Return Values

The function issues a command and returns TRUE if no command is currently processing. Otherwise, it does nothing and returns FALSE.

See Also

WBT_GetBlockInfo, WBT_GetBlock, WBT_PutUserData

Revision History

09/21/2004 Initial version