nn::uds::CTR::NetworkDescription Class

Syntax

class NetworkDescription

Description

Class indicating network information that can be obtained using nn::uds::CTR::NetworkDescriptionReader.

Enumerated Types

CompareResult Result of NetworkDescription::CompareWith.

Member Functions

GetBssid Gets the BSSID (the master's MAC address).
GetGameId Gets the local communication ID. This function is identical to GetLocalCommunicationId and is preserved to maintain compatibility.
GetLocalCommunicationId Gets the local communication ID. This is identical to the value specified with the Scan function.
GetSubId Gets the SubId.
GetTemporaryId Gets the temporary ID. This ID can be used to identify the network, but for that we recommend that you use the BSSID or the master's NodeInformation instead.
GetChannel Gets the channel being used for the communication. There is normally no need to reference this.
GetNowEntry Gets the number of currently connected devices.
GetMaxEntry Gets the maximum number of devices that can connect.
GetApplicationData Gets the data set using the SetApplicationDataToBeacon function.
CanConnectAsSpectator Checks whether Spectator connections are allowed.
CanConnectAsClient Checks whether client connections are allowed.
CanReconnectAsClient Checks whether client reconnections are allowed. The decision whether to reconnect is made by the master when the client actually connects, so reconnection is not guaranteed even if this value is true.
CompareWith Compares to the specified NetworkDescription.
operator== Compares two NetworkDescription class objects and returns true if their values are identical. Even if the network is the same, false is returned if data has been set by SetApplicationData or if the number of connected devices is different.
operator!= Compares two NetworkDescription class objects and returns true if their values are different. Even if the network is the same, true is returned if data has been set by SetApplicationData or if the number of connected devices is different.

Revision History

2011/08/08
Added the CompareWith function.
2010/06/14
Initial version.

CONFIDENTIAL