WBT_InitParent


C Specification

#include <nitro/wbt.h>

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

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.

Arguments

send_packet_size The MP communications parent packet size that can be used for WBT. This value must be at least WBT_PACKET_SIZE_MIN.
recv_packet_size The MP communications child packet size that can be used for WBT. This value must be at least 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.

Return Values

None.

See Also

WBT_InitChild, WBT_End, WBTCallback

Revision History

09/21/2004 Initial version