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    <style type="text/css"><!--
8      span.static_style
9      {
10        font-size			: 8pt;
11        color				: white;
12        font-weight			: bold;
13        background			: #44f;
14        border-left			: solid 1px #aaf;
15        border-top			: solid 1px #aaf;
16        border-right		: solid 1px #00c;
17        border-bottom		: solid 1px #00c;
18        padding-left		: 2px;
19        padding-right		: 2px;
20      }
21
22      span.virtual_style
23      {
24        font-size			 : 8pt;
25        color				 : white;
26        font-weight			: bold;
27        background			: #0a0;
28        border-left			: solid 1px #0f0;
29        border-top			: solid 1px #0f0;
30        border-right		: solid 1px #060;
31        border-bottom		: solid 1px #060;
32        padding-left		: 2px;
33        padding-right		: 2px;
34      }
35
36      span.protected_style
37      {
38        font-size			 : 8pt;
39        color				 : white;
40        font-weight			: bold;
41        background			: #444;
42        border-left			: solid 1px #ccc;
43        border-top			: solid 1px #ccc;
44        border-right		: solid 1px #222;
45        border-bottom		: solid 1px #222;
46        padding-left		: 2px;
47        padding-right		: 2px;
48      }
49        --></style>
50<title>nn::uds::CTR::ConnectionStatus</title>
51  </head>
52  <body>
53<h1><CODE>nn::uds::CTR::ConnectionStatus</CODE> Structure</h1>
54<h2>Syntax</h2>
55    <div class="section">
56      <pre class="definition">struct ConnectionStatus
57{
58   <a href="../../../../nn/uds/CTR/State.html">State</a> nowState;
59   <a href="../../../../nn/uds/CTR/DisconnectReason.html">DisconnectReason</a> disconnectReason;
60   u16 myNodeId;
61   bit16 updateNodeBitmap;
62   u16 nodeIdList[NODE_MAX];
63   u8 nowEntry;
64   u8 maxEntry;
65   bit16 slotBitmap;
66};
67</pre>
68    </div>
69<h2>Description</h2>
70    <div class="section">
71<p>Structure indicating the UDS connection status.</p><!-- write here --></div>
72    <a name="variable" id="variable">
73<h2>Member Variables</h2>
74      <div class="section">
75        <table class="members">
76          <tr>
77            <td width="100"> </td>
78            <th>
79<span class="argument">nowState</span>
80            </th>
81<td>Current state.</td>
82          </tr>
83          <tr>
84            <td width="100"> </td>
85            <th>
86<span class="argument">disconnectReason</span>
87            </th>
88<td>Reason for disconnection. Always returns <CODE>NETWORK_IS_AVAILABLE</CODE> if connected to a network.</td>
89          </tr>
90          <tr>
91            <td width="100"> </td>
92            <th>
93<span class="argument">myNodeId</span>
94            </th>
95<td>Local host node ID.</td>
96          </tr>
97          <tr>
98            <td width="100"> </td>
99            <th>
100<span class="argument">updateNodeBitmap</span>
101            </th>
102<td>Bitmap representing a list of IDs for nodes that have changed since the last time <CODE>GetConnectionStatus</CODE> was run.</td>
103          </tr>
104          <tr>
105            <td width="100"> </td>
106            <th>
107<span class="argument">nodeIdList</span>
108            </th>
109<td>List of the nodes currently connected to the network.</td>
110          </tr>
111          <tr>
112            <td width="100"> </td>
113            <th>
114<span class="argument">nowEntry</span>
115            </th>
116<td>The number of nodes connected to the network.</td>
117          </tr>
118          <tr>
119            <td width="100"> </td>
120            <th>
121<span class="argument">maxEntry</span>
122            </th>
123<td>The maximum number of nodes that can connect to the network at the same time (this does not change during communication).</td>
124          </tr>
125          <tr>
126            <td width="100"> </td>
127            <th>
128<span class="argument">slotBitmap</span>
129            </th>
130<td>Bitmap indicating which slots store node information. Unlike  <CODE>updateNodeBitmap</CODE>, this does not indicate changes from the previous values.</td>
131          </tr> </table>
132      </div>
133    </a>
134<h2>Revision History</h2>
135    <div class="section">
136      <dl class="history">
137        <dt>2010/09/17</dt>
138<dd>Added the <CODE>nowEntry</CODE>, <CODE>maxEntry</CODE>, and <CODE>slotBitmap</CODE> member variables. (The size of the structure increased by four bytes.)
139        </dd>
140        <dt>2010/06/14</dt>
141<dd>Initial version.<br />
142        </dd>
143      </dl>
144    </div>
145  <hr><p>CONFIDENTIAL</p></body>
146</html>