wut
v1.7.0
Wii U Toolchain
|
Auto Connect API, used for managing and connecting to internet connection profiles. More...
Namespaces | |
detail | |
C++ linkage for the autoconnect API, see nn::ac for use. | |
Typedefs | |
typedef uint32_t | ConfigIdNum |
An ID number representing a network configuration. More... | |
Functions | |
static nn::Result | Initialize () |
Initialise the Auto Connect library. More... | |
static void | Finalize () |
Cleanup the Auto Connect library. More... | |
static nn::Result | GetStartupId (ConfigIdNum *id) |
Gets the default connection configuration id. More... | |
static nn::Result | Connect () |
static nn::Result | ConnectAsync () |
static nn::Result | Close () |
static nn::Result | GetCloseStatus () |
static nn::Result | Connect (ConfigIdNum id) |
Connects to a network, using the configuration represented by the given ConfigIdNum. More... | |
static nn::Result | GetAssignedAddress (uint32_t *ip) |
Gets the IP address assosciated with the currently active connection. More... | |
Auto Connect API, used for managing and connecting to internet connection profiles.
typedef uint32_t ConfigIdNum |
|
inlinestatic |
Initialise the Auto Connect library.
Call this function before any other nn::ac functions.
|
inlinestatic |
Cleanup the Auto Connect library.
Do not call any nn::ac functions (other than Initialize) after calling this function.
|
inlinestatic |
Gets the default connection configuration id.
This is the default as marked in System Settings.
id | A pointer to an ConfigIdNum to write the config ID to. Must not be a nullptr . |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Connects to a network, using the configuration represented by the given ConfigIdNum.
id | The ConfigIdNum representing the network to connect to. |
|
inlinestatic |
Gets the IP address assosciated with the currently active connection.
ip | A pointer to write the IP address to, in numerical form. |