nn::uds::CTR::AllowToConnect Function

Syntax

nn::Result AllowToConnect();

Arguments

None.

Return Values

Returns the function's execution result. Returns one of the Result values listed below.
Value Description
ResultSuccess Process was successful.
ResultNotInitialized The library is not initialized. Execute the nn::uds::Initialize function.
ResultInvalidState Not in an executable state. Returned when executed in a state other than master.
ResultWirelessOff Transitioned to wireless OFF mode. Re-initialization is required.
A value other than the above. Failed for reasons other than those given above.

Description

Allows client nodes to connect to the network.

This function is for re-allowing connections for clients that had been denied with the DisallowToConnect function. This function clears the spectator's denied connected state resulting from the EjectSpectator function. Only the master can run this function.

Revision History

2010/11/10
Initial version.

CONFIDENTIAL