nn::dlp::CTR::FakeClient::GetServerInfo Member Function

Syntax

static nn::Result GetServerInfo(
     ServerInfo * pServerInfo,
     const u8 * pMac
);

Arguments

Name Description
out pServerInfo Returns the server information.
in pMac Specifies the server's MAC address.

Return Values

The following Results are returned as the result of the operation.

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.

Description

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).

Revision History

2010/08/16
Initial version.

CONFIDENTIAL