1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
3  <head>
4    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5    <meta http-equiv="Content-Style-Type" content="text/css" />
6    <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" />
7<title>AllowToSpectate</title>
8  </head>
9  <body>
10<h1><CODE>nn::uds::CTR::AllowToSpectate</CODE> Function</h1>
11<h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">
14<a href="../../../nn/Result/Overview.html">nn::Result</a> AllowToSpectate();
15</pre>
16    </div>
17<h2>Arguments</h2>
18    <div class="section">
19<p>None.</p>
20    </div>
21<h2>Return Values</h2>
22<div class="section">Returns the function's execution result. Returns one of the <a href="../../../nn/Result/Overview.html"><CODE>Result</CODE></a> values listed below. <br />
23      <table class="arguments">
24        <thead>
25          <tr>
26<th>Value</th>
27<td>Description</td>
28          </tr>
29        </thead>
30        <tr>
31<th><CODE>ResultSuccess</CODE></th>
32<td>Process was successful.</td>
33        </tr>
34        <tr>
35<th><CODE>ResultNotInitialized</CODE></th>
36<td>The library is not initialized. Execute the <CODE>nn::uds::Initialize</CODE> function.</td>
37        </tr>
38        <tr>
39<th>ResultInvalidState</th>
40<td>Not in an executable state. Returned when executed in a state other than master.</td>
41        </tr>
42        <tr>
43<th>ResultWirelessOff</th>
44<td>Transitioned to wireless OFF mode. Re-initialization is required.</td>
45        </tr>
46        <tr>
47<th>A value other than the above.</th>
48<td>Failed for reasons other than those given above.</td>
49        </tr>
50      </table> </div>
51<h2>Description</h2>
52    <div class="section">
53<p>Allows Spectator nodes to connect to the network.</p><p>Use this when you want to re-connect a Spectator node to the network after executing the <CODE><a href="../../../nn/uds/CTR/EjectSpectator.html">EjectSpectator</a></CODE> function. Only the master can run this function.</p><!-- write here --></div>
54<h2>Revision History</h2>
55    <div class="section">
56      <dl class="history">
57        <dt>2010/10/15</dt>
58<dd>Expanded the information on the return values.<br />
59        </dd>
60        <dt>2010/09/23</dt>
61<dd>Initial version.<br />
62        </dd>
63      </dl>
64    </div>
65  <hr><p>CONFIDENTIAL</p></body>
66</html>
67