nn::ac::CTR::DebugSetNetworkArea FunctionResult DebugSetNetworkArea( Config * config, NetworkArea networkArea );
| Name | Description | |
|---|---|---|
| in | config | Instance of connection conditions. |
| in | networkArea | Network connection request level. |
| Value | Description |
|---|---|
ResultSuccess |
Completed without error. |
ResultInvalidData |
NULL was specified as an argument. |
| A value other than the above. | Failed for reasons other than those given above. |
Specifies the level of the network connection request.
If NETWORK_AREA_WAN is specified, this function succeeds with status [WAN Connected] when an Internet connection has been established.
If NETWORK_AREA_LAN is specified, this function succeeds with status [LAN Connected] when an access point connection is established.
If NETWORK_AREA_AUTO is specified, this function verifies whether an Internet connection has been established; even if one has not, the function succeeds with status [LAN Connected]. The function succeeds with status [WAN Connected] if an Internet connection has been established.
Note: This function is provided for debugging purposes. It will not work in Release builds.
CONFIDENTIAL