nn::dlp::CTR::FakeClient::StartScan Member Functionstatic nn::Result StartScan( bit16 channels, u32 uniqueId = 0, u8 childIndex = 0, const u8 * pMac = NULL );
| Name | Description | |
|---|---|---|
| in | channels | Specifies a bitmap of the channels to scan. Use the GetChannels function to get the scannable channels. |
| in | uniqueId | Specifies an Unique ID to narrow down scanning results. If 0 is specified, narrowing down is not used. |
| in | childIndex | Specifies a childIndex to narrow down scanning results. Invalid when the UniqueId is 0. |
| in | pMac | Specifies a server MAC address to narrow down scanning results. Specify NULL to not narrow down results using MAC addresses. |
| Value | Description |
|---|---|
| ResultSuccess | The scan started successfully. |
ResultInvalidState |
The state is invalid. Use this with CLIENT_STATE_DISCONNECTED_NETWORK. |
ResultOutOfRange |
The channels value is invalid. |
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.
CONFIDENTIAL