nn::ac::CTR::ConnectAsync Function| Name | Description | |
|---|---|---|
| in | config | Instance of connection conditions. |
| in | event | An initialized nn::os::Event that indicates the completion of the operation. |
| Value | Description |
|---|---|
ResultSuccess |
Completed without error. |
nn::fs::ResultNotInitialized |
The FS library has not been initialized. |
ResultInvalidData |
Either NULL was specified as an argument or an uninitialized Event was specified. |
ResultAlreadyExists |
Already processing. |
ResultCanceled |
Canceled while a connection was being processed. |
ResultNotAgreeEula |
The EULA has not been agreed to, or the icon file has not been configured. |
| A value other than the above. | Failed for reasons other than those given above. |
Starts an asynchronous automatic connection.
Whether the process succeeds or fails, the nn::os::Event specified in the argument is signaled once processing completes.
Use this only after you have called the nn::fs::Initialize function.
Once a connection is established, the nn::os::Event registered by nn::ac::RegisterDisconnectEvent is signaled if the system is accidentally disconnected from the access point. This function gets the application's EULA version, so it returns ResultNotAgreeEula if the icon file is not configured.
CONFIDENTIAL