StartScan

nn::dlp::CTR::FakeClient::StartScan Member Function

Syntax

static nn::Result StartScan(
     u32 uniqueId,
     u8 childIndex,
     const u8 * pMac = NULL
);

Parameters

Name Description
in uniqueId Specifies the unique ID of the title to scan.
in childIndex Specifies the childIndex of the title to scan.
in pMac Specifies a server MAC address to narrow down scanning results. Specify NULL to not narrow down results using MAC addresses.

Return Values

The following Result values are returned as the result of the operation.

Value Description
Result::IsSuccess The scan started successfully.
ResultInvalidState The state is invalid. Use this with CLIENT_STATE_DISCONNECTED_NETWORK.
ResultOutOfRange uniqueId is 0.

Description

Starts scanning for servers.

Scans after clearing out the preceding scanning results. Scanning continues until the StopScan function is called. Use the GetServerInfo and GetTitleInfo functions to get scanning results while scanning.

Revision History

2010/08/16
Initial version.

CONFIDENTIAL