#include <nitro/wbt.h> BOOL WBT_RequestSync(u16 target, WBTCallback callback);
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.
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. |
The function issues a command and returns TRUE if no command is currently processing. Otherwise, it does nothing and returns FALSE.
WBT_GetBlockInfo,
WBT_GetBlock,
WBT_PutUserData
09/21/2004 Initial version