nn::uds::CTR::ConnectNetwork Function

Syntax

nn::Result ConnectNetwork(
     const NetworkDescription & networkDescription,
     ConnectType type,
     const char passphrase[],
     size_t passphraseLength
);

Arguments

Name Description
in networkDescription Network information. Obtained from scanning results.
in type Connection type.
in passphrase[] Passphrase to use for wireless layer encryption. With UDS, communication can only be established if the uniqueId and passphrase match.
in passphraseLength Passphrase length. Specify a value smaller than 255 (provisional specification).

Return Values

Returns the function's execution result. If successful, a network connection is established.

Description

Connects to an existing network.

Revision History

2010/06/14
Initial version.

CONFIDENTIAL