WPADGetStatus

Syntax

#include <cafe/pads/wpad/wpad.h>

#define WPAD_STATE_DISABLED          0
#define WPAD_STATE_ENABLED           1

s32 WPADGetStatus( void );

Parameters

None.

Return Values

One of the WPAD_STATE_* values. Each status is as follows.

WPAD_STATE_DISABLED Wireless functionality is halted.
WPAD_STATE_ENABLED Wireless functionality is running.

Description

Gets the operational status of the library.

Do Not Call From

Background Do not call this function from the background.
Interrupt handler Do not call this function from any interrupt handler.
Exception handler Do not call this function from any exception handler.
Multiple Cores Do not call this function from more than one Core.

See Also

WPADInit

Revision History

2013/05/08 Automated cleanup pass.
2011/10/20 Removed states which are no longer supported (WPAD_STATE_ENABLING,WPAD_STATE_SETUP,WPAD_STATE_DISABLING)
2008/04/16 Deleted the WPADShutdown and WPADReconnect functions from See Also.
2006/10/23 Revised the description of WPAD_STATE_DISABLING.
2006/09/06 Added a description for the WPADReconnect function.
2006/06/19 Initial version.


CONFIDENTIAL