#include <dwc.h>
void DWC_DebugConnectInetAsync(const void *ssid,
const void *wep,
int wepMode);| ssid | The SSID of the access point to specify as the connection target. Specify a string of 32 bytes or less. |
| wep | The WEP key of the access point to specify as the connection target. Specifies a pointer to a byte sequence of the length specified by wepMode.Specify NULL when wepMode is DWC_APINFO_WSEC_NONE. |
| wepMode | The WEP key mode of the access point to specify as the connection target:
|
None.
Used for debugging in place of the DWC_ConnectInetAsync function. It starts automatic connection to the Internet using the access point (AP) settings specified in the arguments.
This process will only target an AP specified by the argument. IP address and other information is obtained using DHCP.
For more details about the WEP key, see About WEP Keys on the Function Reference top page.
After calling this function, call the DWC_ProcessInet function roughly every game frame to execute the automatic connect process.
To process errors that occur during the autoconnect process, first call the DWC_ProcessInet function and then get the error status using the DWC_GetLastErrorEx function. If necessary, display an error code along with an error message. See the Nintendo Wi-Fi Connection Programming Guidelines for more information on error messages. If a connection error occurs while using this function, the last two digits of the error code will be 00.
Get the connection status with the DWC_CheckInet or DWC_GetInetStatus function.
Note: Do not call this function along with the DWC_SetConnectApType function.
Note: Although this function operates in final ROM versions (FINALROMs), it was prepared for the sake of debugging, so in principle it should not be used in the commercial product.
This function waits for a PXI interrupt for synchronization purposes. Do not call it when PXI interrupts are prohibited.
DWC_ConnectInetAsync
DWC_CheckInet
DWC_CheckInet
DWC_ProcessInet
DWC_GetInetStatus
DWC_CleanupInet
DWC_SetConnectApType
wep and wepmode.For the change log before version 5.1 PR2, click here.
CONFIDENTIAL