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

Syntax

static nn::Result StartScan(
     bit16 channels,
     nn::ProgramId programId = 0,
     const u8 * pMac = NULL
);

Arguments

Name Description
in channels Specifies a bitmap of the channels to scan. Use the GetChannels function to get the scannable channels.
in programId Specifies a program ID to narrow down scanning results. Specify 0 to not narrow down results using program IDs.
in pMac Specifies a server MAC address to narrow down scanning results. Specify NULL to not narrow down results using MAC addresses.

Return Values

Returns the result of the operation.

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