wut
1.0.0-beta8
Wii U Toolchain
|
C functions for the Auto Connect API. More...
Typedefs | |
typedef uint32_t | ACConfigId |
An ID number representing a network configuration. More... | |
Functions | |
NNResult | ACInitialize () |
Initialise the Auto Connect library. More... | |
void | ACFinalize () |
Cleanup the Auto Connect library. More... | |
NNResult | ACGetStartupId (ACConfigId *configId) |
Gets the default connection configuration id. More... | |
NNResult | ACConnectWithConfigId (ACConfigId configId) |
Connects to a network, using the configuration represented by the given ACConfigId. More... | |
NNResult | ACGetAssignedAddress (uint32_t *ip) |
Gets the IP address assosciated with the currently active connection. More... | |
C functions for the Auto Connect API.
typedef uint32_t ACConfigId |
NNResult ACInitialize | ( | ) |
Initialise the Auto Connect library.
Call this function before any other AC functions.
void ACFinalize | ( | ) |
Cleanup the Auto Connect library.
Do not call any AC functions (other than ACInitialize) after calling this function.
NNResult ACGetStartupId | ( | ACConfigId * | configId | ) |
Gets the default connection configuration id.
This is the default as marked in System Settings.
configId | A pointer to an ACConfigId to write the config ID to. Must not be NULL . |
NNResult ACConnectWithConfigId | ( | ACConfigId | configId | ) |
Connects to a network, using the configuration represented by the given ACConfigId.
configId | The ACConfigId representing the network to connect to. |
NNResult ACGetAssignedAddress | ( | uint32_t * | ip | ) |
Gets the IP address assosciated with the currently active connection.
ip | A pointer to write the IP address to, in numerical form. |