207
|
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
2 |
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
|
3 |
<title>CanFestival: /home/epimerde/documents/tc11/CanFestival-3/src/nmtMaster.c File Reference</title>
|
|
4 |
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
|
5 |
<link href="tabs.css" rel="stylesheet" type="text/css">
|
|
6 |
</head><body>
|
|
7 |
<!-- Generated by Doxygen 1.5.1 -->
|
|
8 |
<div class="tabs">
|
|
9 |
<ul>
|
|
10 |
<li><a href="main.html"><span>Main Page</span></a></li>
|
|
11 |
<li id="current"><a href="files.html"><span>Files</span></a></li>
|
|
12 |
</ul></div>
|
|
13 |
<div class="tabs">
|
|
14 |
<ul>
|
|
15 |
<li><a href="files.html"><span>File List</span></a></li>
|
|
16 |
<li><a href="globals.html"><span>Globals</span></a></li>
|
|
17 |
</ul></div>
|
|
18 |
<h1>/home/epimerde/documents/tc11/CanFestival-3/src/nmtMaster.c File Reference</h1><code>#include "nmtMaster.h"</code><br>
|
|
19 |
<code>#include "canfestival.h"</code><br>
|
|
20 |
|
|
21 |
<p>
|
210
|
22 |
Include dependency graph for nmtMaster.c:<p><center><img src="nmtMaster_8c__incl.png" border="0" usemap="#/home/epimerde/documents/tc11/CanFestival-3/src/nmtMaster.c_map" alt=""></center>
|
|
23 |
|
|
24 |
<p>
|
207
|
25 |
<a href="nmtMaster_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
|
|
26 |
<tr><td></td></tr>
|
|
27 |
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
|
|
28 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="nmtMaster_8c.html#6170d95d9900ef756921a934c5fb37d2">masterSendNMTstateChange</a> (CO_Data *d, UNS8 Node_ID, UNS8 cs)</td></tr>
|
|
29 |
|
|
30 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="nmtMaster_8c.html#f63689baeabb15103c2b7afe8885c5c4">masterSendNMTnodeguard</a> (CO_Data *d, UNS8 nodeId)</td></tr>
|
|
31 |
|
|
32 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="nmtMaster_8c.html#98bee3f402438056dbd653e752054796">masterRequestNodeState</a> (CO_Data *d, UNS8 nodeId)</td></tr>
|
|
33 |
|
|
34 |
</table>
|
210
|
35 |
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
|
36 |
<dl class="author" compact><dt><b>Author:</b></dt><dd>Edouard TISSERANT and Francis DUPIN </dd></dl>
|
|
37 |
<dl class="date" compact><dt><b>Date:</b></dt><dd>Tue Jun 5 08:47:18 2007 </dd></dl>
|
|
38 |
|
|
39 |
<p>
|
|
40 |
Definition in file <a class="el" href="nmtMaster_8c-source.html">nmtMaster.c</a>.<hr><h2>Function Documentation</h2>
|
207
|
41 |
<a class="anchor" name="98bee3f402438056dbd653e752054796"></a><!-- doxytag: member="nmtMaster.c::masterRequestNodeState" ref="98bee3f402438056dbd653e752054796" args="(CO_Data *d, UNS8 nodeId)" -->
|
|
42 |
<div class="memitem">
|
|
43 |
<div class="memproto">
|
|
44 |
<table class="memname">
|
|
45 |
<tr>
|
|
46 |
<td class="memname">void masterRequestNodeState </td>
|
|
47 |
<td>(</td>
|
|
48 |
<td class="paramtype">CO_Data * </td>
|
|
49 |
<td class="paramname"> <em>d</em>, </td>
|
|
50 |
</tr>
|
|
51 |
<tr>
|
|
52 |
<td class="paramkey"></td>
|
|
53 |
<td></td>
|
|
54 |
<td class="paramtype">UNS8 </td>
|
|
55 |
<td class="paramname"> <em>nodeId</em></td><td> </td>
|
|
56 |
</tr>
|
|
57 |
<tr>
|
|
58 |
<td></td>
|
|
59 |
<td>)</td>
|
|
60 |
<td></td><td></td><td width="100%"></td>
|
|
61 |
</tr>
|
|
62 |
</table>
|
|
63 |
</div>
|
|
64 |
<div class="memdoc">
|
|
65 |
|
|
66 |
<p>
|
210
|
67 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
68 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
69 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
70 |
<tr><td valign="top"></td><td valign="top"><em>nodeId</em> </td><td></td></tr>
|
|
71 |
</table>
|
|
72 |
</dl>
|
207
|
73 |
|
|
74 |
<p>
|
210
|
75 |
FIXME: should warn for bad toggle bit.<p>
|
|
76 |
NMTable configuration to indicate that the master is waiting for a Node_Guard frame from the slave whose node_id is ID<p>
|
|
77 |
A state that does not exist<p>
|
|
78 |
NMT broadcast
|
207
|
79 |
<p>
|
210
|
80 |
Definition at line <a class="el" href="nmtMaster_8c-source.html#l00090">90</a> of file <a class="el" href="nmtMaster_8c-source.html">nmtMaster.c</a>.
|
|
81 |
<p>
|
|
82 |
References <a class="el" href="nmtMaster_8c-source.html#l00070">masterSendNMTnodeguard()</a>.
|
|
83 |
<p>
|
|
84 |
Here is the call graph for this function:<p><center><img src="nmtMaster_8c_98bee3f402438056dbd653e752054796_cgraph.png" border="0" usemap="#nmtMaster_8c_98bee3f402438056dbd653e752054796_cgraph_map" alt=""></center>
|
|
85 |
<map name="nmtMaster_8c_98bee3f402438056dbd653e752054796_cgraph_map">
|
|
86 |
<area href="nmtMaster_8c.html#f63689baeabb15103c2b7afe8885c5c4" shape="rect" coords="249,6,455,30" alt="">
|
|
87 |
</map>
|
|
88 |
|
207
|
89 |
</div>
|
|
90 |
</div><p>
|
|
91 |
<a class="anchor" name="f63689baeabb15103c2b7afe8885c5c4"></a><!-- doxytag: member="nmtMaster.c::masterSendNMTnodeguard" ref="f63689baeabb15103c2b7afe8885c5c4" args="(CO_Data *d, UNS8 nodeId)" -->
|
|
92 |
<div class="memitem">
|
|
93 |
<div class="memproto">
|
|
94 |
<table class="memname">
|
|
95 |
<tr>
|
|
96 |
<td class="memname">UNS8 masterSendNMTnodeguard </td>
|
|
97 |
<td>(</td>
|
|
98 |
<td class="paramtype">CO_Data * </td>
|
|
99 |
<td class="paramname"> <em>d</em>, </td>
|
|
100 |
</tr>
|
|
101 |
<tr>
|
|
102 |
<td class="paramkey"></td>
|
|
103 |
<td></td>
|
|
104 |
<td class="paramtype">UNS8 </td>
|
|
105 |
<td class="paramname"> <em>nodeId</em></td><td> </td>
|
|
106 |
</tr>
|
|
107 |
<tr>
|
|
108 |
<td></td>
|
|
109 |
<td>)</td>
|
|
110 |
<td></td><td></td><td width="100%"></td>
|
|
111 |
</tr>
|
|
112 |
</table>
|
|
113 |
</div>
|
|
114 |
<div class="memdoc">
|
|
115 |
|
|
116 |
<p>
|
210
|
117 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
118 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
119 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
120 |
<tr><td valign="top"></td><td valign="top"><em>nodeId</em> </td><td></td></tr>
|
|
121 |
</table>
|
|
122 |
</dl>
|
|
123 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
207
|
124 |
|
|
125 |
<p>
|
210
|
126 |
Definition at line <a class="el" href="nmtMaster_8c-source.html#l00070">70</a> of file <a class="el" href="nmtMaster_8c-source.html">nmtMaster.c</a>.
|
|
127 |
<p>
|
|
128 |
Referenced by <a class="el" href="nmtMaster_8c-source.html#l00090">masterRequestNodeState()</a>.
|
207
|
129 |
</div>
|
|
130 |
</div><p>
|
|
131 |
<a class="anchor" name="6170d95d9900ef756921a934c5fb37d2"></a><!-- doxytag: member="nmtMaster.c::masterSendNMTstateChange" ref="6170d95d9900ef756921a934c5fb37d2" args="(CO_Data *d, UNS8 Node_ID, UNS8 cs)" -->
|
|
132 |
<div class="memitem">
|
|
133 |
<div class="memproto">
|
|
134 |
<table class="memname">
|
|
135 |
<tr>
|
|
136 |
<td class="memname">UNS8 masterSendNMTstateChange </td>
|
|
137 |
<td>(</td>
|
|
138 |
<td class="paramtype">CO_Data * </td>
|
|
139 |
<td class="paramname"> <em>d</em>, </td>
|
|
140 |
</tr>
|
|
141 |
<tr>
|
|
142 |
<td class="paramkey"></td>
|
|
143 |
<td></td>
|
|
144 |
<td class="paramtype">UNS8 </td>
|
|
145 |
<td class="paramname"> <em>Node_ID</em>, </td>
|
|
146 |
</tr>
|
|
147 |
<tr>
|
|
148 |
<td class="paramkey"></td>
|
|
149 |
<td></td>
|
|
150 |
<td class="paramtype">UNS8 </td>
|
|
151 |
<td class="paramname"> <em>cs</em></td><td> </td>
|
|
152 |
</tr>
|
|
153 |
<tr>
|
|
154 |
<td></td>
|
|
155 |
<td>)</td>
|
|
156 |
<td></td><td></td><td width="100%"></td>
|
|
157 |
</tr>
|
|
158 |
</table>
|
|
159 |
</div>
|
|
160 |
<div class="memdoc">
|
|
161 |
|
|
162 |
<p>
|
210
|
163 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
164 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
165 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
166 |
<tr><td valign="top"></td><td valign="top"><em>Node_ID</em> </td><td></td></tr>
|
|
167 |
<tr><td valign="top"></td><td valign="top"><em>cs</em> </td><td></td></tr>
|
|
168 |
</table>
|
|
169 |
</dl>
|
|
170 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
207
|
171 |
|
|
172 |
<p>
|
210
|
173 |
message configuration
|
|
174 |
<p>
|
|
175 |
Definition at line <a class="el" href="nmtMaster_8c-source.html#l00045">45</a> of file <a class="el" href="nmtMaster_8c-source.html">nmtMaster.c</a>.
|
207
|
176 |
</div>
|
|
177 |
</div><p>
|
210
|
178 |
<hr size="1"><address style="align: right;"><small>Generated on Tue Jun 5 18:32:06 2007 for CanFestival by
|
207
|
179 |
<a href="http://www.doxygen.org/index.html">
|
|
180 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
|
|
181 |
</body>
|
|
182 |
</html>
|