WCMConfig

Definitions


#include <nitroWiFi/wcm.h>

typedef struct
{
s32     dmano;
void*   pbdbuffer;
s32     nbdbuffer;
s32     nbdmode;

} WCMConfig;
				

Description

Structure that defines the WCM library internal operation settings. Defines the settings used by the WCM library for the DMA number used in the WM library and the internal list that saves information found during wireless access point auto-search.

Elements

dmano Specifies the DMA number used inside the WM library in the range of 0 to 3.
The default is 3.
pbdbuffer Specifies the buffer passed for the internal list that saves the wireless access point information using a pointer. If NULL, that information will not be saved to the internal list.
The default is NULL.
nbdbuffer Specifies the buffer size (in bytes) allocated for the internal list that saves wireless access point information. If 0, that information will not be saved to the internal list.
The following example shows how to calculate the buffer size to pass from the number of wireless access points to be listed.
( WCM_APLIST_BLOCK_SIZE × number to be listed) + list header size ( 12 )

The default is 0.
nbdmode Specifies the operation when saving wireless access point information and the buffer for the internal list is full.
If WCM_APLIST_MODE_IGNORE is specified, the recently found information is discarded. If WCM_APLIST_MODE_EXCHANGE is specified, the oldest information is discarded and replaced by the recently found information.
The default is WCM_APLIST_MODE_IGNORE.

See Also

WCM_StartupAsync, WCM_LockApList

Revision History

07/22/2005 Initial version.