

#include <nitro/wm.h>
u8 WM_GetWirelessCommFlag( void );
None.
Gets the current TWL wireless mode.
Gets the TWL wireless mode that is set in the Wireless Communications item in the TWL's System Settings. This function can be run before the library is initialized by WM_Init or WM_Initialize, so you can use it to get the TWL wireless mode prior to initialization.
Because this item doesn't exist on these systems, WM_WIRELESS_COMM_FLAG_UNKNOWN will be returned for applications running on the Nintendo DS or DS Lite.
The function can obtain the following values:
| Value | Description |
|---|---|
WM_WIRELESS_COMM_FLAG_OFF |
Disabled |
WM_WIRELESS_COMM_FLAG_ON |
Enabled |
WM_WIRELESS_COMM_FLAG_UNKNOWN |
Unable to determine, because the application is running on a Nintendo DS or DS Lite |
2009/06/08 Added usage information to Description.
2008/09/12 Initial version.
CONFIDENTIAL