nn::dlp::CTR::FakeClient::GetServerInfo Member Functionstatic nn::Result GetServerInfo( ServerInfo * pServerInfo, const u8 * pMac );
| Name | Description | |
|---|---|---|
| out | pServerInfo | Returns the server information. |
| in | pMac | Specifies the server's MAC address. |
| Value | Description |
|---|---|
| ResultSuccess | The server information was obtained successfully. |
ResultInvalidState |
The state is invalid. Do not use with CLIENT_STATE_INVALID or CLIENT_STATE_ERROR. |
ResultNoData |
There is no server with the specified MAC address. |
Gets the server information from scan results.
Information that changes dynamically (linkLevel, nodeNum, and nodeInfo) is only updated during scanning (CLIENT_STATE_SCANNING).
Use the GetConnectingNodes, GetNodeInfo, and GetLinkLevel functions to get this information while connecting to the server (transitioning from CLIENT_STATE_WAITING_INVITE to CLIENT_STATE_REBOOTING).
CONFIDENTIAL