libctru/libctru/include/3ds/services/ac.h

39 lines
1.0 KiB
C
Raw Normal View History

2015-10-05 07:27:43 +02:00
/**
* @file ac.h
* @brief AC service.
*/
#pragma once
2014-04-22 04:58:05 +02:00
2015-10-05 07:27:43 +02:00
/// Initializes AC.
Result acInit(void);
2015-10-05 07:27:43 +02:00
/// Exits AC.
void acExit(void);
2014-08-25 18:14:48 +02:00
2015-11-11 05:33:37 +01:00
/// Waits for the system to connect to the internet.
Result acWaitInternetConnection(void);
2015-10-05 07:27:43 +02:00
/**
* @brief Gets the current Wifi status.
* @param out Pointer to output the current Wifi status to. (0 = not connected, 1 = O3DS Internet, 2 = N3DS Internet)
*/
Result ACU_GetWifiStatus(u32 *out);
2017-12-01 17:58:08 +01:00
/**
* @brief Gets the current Wifi status.
* @param out Pointer to output the current Wifi status to. (1 = not connected, 3 = connected)
*/
Result ACU_GetStatus(u32 *out);
/**
* @brief Gets the current Wifi security mode.
* @param out Pointer to output the current Wifi security mode to. (0 = Open Authentication, 1 = WEP 40-bit, 2 = WEP 104-bit, 3 = WEP 128-bit, 4 = WPA TKIP, 5 = WPA2 TKIP, 6 = WPA AES, 7 = WPA2 AES)
*/
Result ACU_GetSecurityMode(u32 *out);
/**
* @brief Gets the current Wifi SSID length.
* @param out Pointer to output the current Wifi SSID length to.
*/
Result ACU_GetSSIDLength(u32 *out);