WBT_InitParent

C Specification

#include <nitro/wbt.h>

void WBT_InitParent(int send_packet_size, int recv_packet_size, WBTCallback callback);

Arguments

send_packet_size The parent device packet size of the MP communication that can be used for WBT. This value must be larger than WBT_PACKET_SIZE_MIN.
recv_packet_size The child device packet size of the MP communication that can be used for WBT. This value must be larger than WBT_PACKET_SIZE_MIN.
callback A WBTCallback type function that notifies an event generated separately from any particular command. In this function, the callback is notified as a WBT_CMD_SYSTEM_CALLBACK command. This callback is called from inside the WBT_MpParentRecvHook function.

Return Values

None.

Description

Initializes the WBT library as a parent. This function can be used only by a wireless parent.
There are no special conditions, such as wireless library status, related to calling this function.

See Also

WBT_InitChild WBT_End WBT_MpParentRecvHook
WBTCallback

Revision History

06/01/2005 Added text indicating that the callback is called from the WBT_MpParentRecvHook function
09/21/2004 Initial version