#include <nitro/wfs.h>
void WFS_InitClient(WFSClientContext *context, void *userdata, WFSEventCallback callback, MIAllocator *allocator);
context |
Pointer to the WFSClientContext structure to be initialized |
userdata |
Any user-defined value to be linked with the context |
callback |
A callback function that receives an event notification from the WFS library. Specify NULL if unnecessary. |
allocator |
The allocator used internally by the library |
None.
Initializes the WFS library child (client) context structure. This function must be called at least once before using the WFSClientContext
structure. This function has absolutely no impact on the status of the OS or wireless communications because it only initializes the contents of the WFSClientContext
structure.
The WFS library specification establishes the MP send packet size that can be used by child devices to be WBT_PACKET_SIZE_MIN
.
WFSEventCallback
WFS_StartClient
WFS_EndClient
WFS_GetTableFormat
WFS_RequestClientRead
WFS_GetClientReadProgress
WFS_CallClientConnectHook
WFS_CallClientDisconnectHook
WFS_CallClientPacketSendHook
WFS_CallClientPacketRecvHook
2009/11/11 Added the MP send packet size that can be used by child devices with WFS.
2007/06/06 Initial version.
CONFIDENTIAL