wut
v1.7.0
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 | ACConnect () |
Connects synchronically to a network, using the default configuration May be blocking until the console successfully connects or has an timeout. More... | |
NNResult | ACConnectAsync () |
Connects asynchronically to a network, using the default configuration. More... | |
NNResult | ACClose () |
Closes connections made with ACConnect. More... | |
NNResult | ACGetCloseStatus () |
NNResult | ACIsApplicationConnected (BOOL *connected) |
Checks whether the console is currently connected to a network. 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 ACConnect | ( | ) |
Connects synchronically to a network, using the default configuration May be blocking until the console successfully connects or has an timeout.
NNResult ACConnectAsync | ( | ) |
Connects asynchronically to a network, using the default configuration.
NNResult ACClose | ( | ) |
Closes connections made with ACConnect.
Use GetCloseStatus to get the status.
NNResult ACGetCloseStatus | ( | ) |
Checks whether the console is currently connected to a network.
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. |