Result ACU_GetSSID(char *SSID)
Gets the connected Wifi SSID.
Result ACU_GetSSIDLength(u32 *out)
Gets the connected Wifi SSID length.
@ AC_AP_TYPE_SLOT3
Slot 3 in System Settings.
Definition: ac.h:26
@ AC_AP_TYPE_NONE
No access point/none allowed.
Definition: ac.h:23
@ AC_AP_TYPE_SLOT2
Slot 2 in System Settings.
Definition: ac.h:25
@ AC_AP_TYPE_ALL
All access point types allowed.
Definition: ac.h:28
@ AC_AP_TYPE_SLOT1
Slot 1 in System Settings.
Definition: ac.h:24
Handle * acGetSessionHandle(void)
Gets the current AC session handle.
Result ACU_ConnectAsync(const acuConfig *config, Handle connectionHandle)
Starts the connection procedure.
Result ACU_GetProxyUserName(char *username)
Gets the connected network's proxy username.
Result ACU_SetRequestEulaVersion(acuConfig *config)
Sets something that makes the connection reliable.
Result ACU_GetSecurityMode(acSecurityMode *mode)
Gets the connected Wifi security mode.
Result ACU_GetWifiStatus(u32 *out)
Describes the access point the console is currently connected to with AC_AP_TYPE_* flags.
Result ACU_GetProxyEnable(bool *enable)
Determines whether proxy is enabled for the connected network.
Result acWaitInternetConnection(void)
Waits for the system to connect to the internet.
Result ACU_GetLastDetailErrorCode(u32 *errorCode)
Gets the last detailed error to occur during a connection.
Result ACU_GetProxyPassword(char *password)
Gets the connected network's proxy password.
Result ACI_LoadNetworkSetting(u32 slot)
Selects the WiFi configuration slot for further ac:i operations.
acSecurityMode
Wifi security modes.
Definition: ac.h:10
@ AC_WPA_TKIP
WPA TKIP authentication.
Definition: ac.h:15
@ AC_WPA2_AES
WPA2 AES authentication.
Definition: ac.h:18
@ AC_WPA_AES
WPA AES authentication.
Definition: ac.h:17
@ AC_WEP_128BIT
WEP 128-bit authentication.
Definition: ac.h:14
@ AC_WPA2_TKIP
WPA2 TKIP authentication.
Definition: ac.h:16
@ AC_OPEN
Open authentication.
Definition: ac.h:11
@ AC_WEP_104BIT
WEP 104-bit authentication.
Definition: ac.h:13
@ AC_WEP_40BIT
WEP 40-bit authentication.
Definition: ac.h:12
Result ACU_GetProxyPort(u32 *out)
Gets the connected network's proxy port.
Result ACU_CreateDefaultConfig(acuConfig *config)
Prepares a buffer to hold the configuration data to start a connection.
Result ACU_GetStatus(u32 *out)
Gets the connected Wifi status.
void acExit(void)
Exits AC.
Result ACU_SetNetworkArea(acuConfig *config, u8 area)
Sets something that makes the connection reliable.
Result ACI_GetNetworkWirelessEssidSecuritySsid(void *ssid)
Fetches the SSID of the previously selected WiFi configuration slot.
Result ACU_SetAllowApType(acuConfig *config, u8 type)
Sets the slot to use when connecting.
Result ACU_GetLastErrorCode(u32 *errorCode)
Gets the last error to occur during a connection.
Result acInit(void)
Initializes AC.
void errorCode(errorConf *err, int error)
Sets error code to display.
Struct to contain the data for connecting to a Wifi network from a stored slot.
Definition: ac.h:32
#define BIT(n)
Creates a bitmask from a bit number.
Definition: types.h:47
uint8_t u8
would be nice if newlib had this already
Definition: types.h:21
u32 Handle
Resource handle.
Definition: types.h:41
s32 Result
Function result.
Definition: types.h:42
uint32_t u32
32-bit unsigned integer
Definition: types.h:23