WDCheckEnableChannel

C Specification

#include <revolution/wd/WDScan.h>
WDError WDCheckEnableChannel( u16* scanEnableChannel );

Description

Checks for usable wireless channels.

Arguments

scanEnableChannel Specifies the pointer to the variable to get usable wireless channel information.
Usable wireless channels will be indicated as bit fields. The lowest bit is reserved, and the statuses are stored from channel 1 onward starting with the second-lowest bit. For example, 0x0ffe would indicate that channels 1-11 are usable.

Return Values

WD_SUCCESS Process was successful.
WD_ERR_FATAL A fatal error occurred while running the firmware.
WD_ERR_ILLEGAL_STATUS A call from the exception handler.
WD_ERR_INPROGRESS The firmware was not ready.
WD_ERR_EXCLUSIVE The process failed because the WD library is exclusively controlled.

Note: Errors may be added as the library is updated. Treat all negative return values as all-purpose errors.

See Also

WDScanOnce
WDTryUsbApRegistrationOnce

Revision History

2006/11/09 Initial version.
2006/12/12 Added description.


CONFIDENTIAL