nn::uds::CTR::AllowToSpectate Function

Syntax

nn::Result AllowToSpectate();

Parameters

None.

Return Values

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

Description

Allows Spectator nodes to connect to the network.

Use this when you want to re-connect a Spectator node to the network after executing the EjectSpectator function. Only the master can run this function.

This function is thread-safe.

Revision History

2011/09/07
Standardized notation for wireless-disabled mode.
2011/03/08
Added a link to Initialize in Return Values.
2010/10/15
Expanded the information on the return values.
2010/09/23
Initial version.

CONFIDENTIAL