<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>CanFestival: /home/epimerde/documents/tc11/CanFestival-3/src/nmtMaster.c File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.1 -->
<div class="tabs">
<ul>
<li><a href="main.html"><span>Main Page</span></a></li>
<li id="current"><a href="files.html"><span>Files</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="files.html"><span>File List</span></a></li>
<li><a href="globals.html"><span>Globals</span></a></li>
</ul></div>
<h1>/home/epimerde/documents/tc11/CanFestival-3/src/nmtMaster.c File Reference</h1><code>#include "nmtMaster.h"</code><br>
<code>#include "canfestival.h"</code><br>
<p>
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>
<p>
<a href="nmtMaster_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<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>
<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>
<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>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<dl class="author" compact><dt><b>Author:</b></dt><dd>Edouard TISSERANT and Francis DUPIN </dd></dl>
<dl class="date" compact><dt><b>Date:</b></dt><dd>Tue Jun 5 08:47:18 2007 </dd></dl>
<p>
Definition in file <a class="el" href="nmtMaster_8c-source.html">nmtMaster.c</a>.<hr><h2>Function Documentation</h2>
<a class="anchor" name="98bee3f402438056dbd653e752054796"></a><!-- doxytag: member="nmtMaster.c::masterRequestNodeState" ref="98bee3f402438056dbd653e752054796" args="(CO_Data *d, UNS8 nodeId)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void masterRequestNodeState </td>
<td>(</td>
<td class="paramtype">CO_Data * </td>
<td class="paramname"> <em>d</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">UNS8 </td>
<td class="paramname"> <em>nodeId</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>nodeId</em> </td><td></td></tr>
</table>
</dl>
<p>
FIXME: should warn for bad toggle bit.<p>
NMTable configuration to indicate that the master is waiting for a Node_Guard frame from the slave whose node_id is ID<p>
A state that does not exist<p>
NMT broadcast
<p>
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>.
<p>
References <a class="el" href="nmtMaster_8c-source.html#l00070">masterSendNMTnodeguard()</a>.
<p>
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>
<map name="nmtMaster_8c_98bee3f402438056dbd653e752054796_cgraph_map">
<area href="nmtMaster_8c.html#f63689baeabb15103c2b7afe8885c5c4" shape="rect" coords="249,6,455,30" alt="">
</map>
</div>
</div><p>
<a class="anchor" name="f63689baeabb15103c2b7afe8885c5c4"></a><!-- doxytag: member="nmtMaster.c::masterSendNMTnodeguard" ref="f63689baeabb15103c2b7afe8885c5c4" args="(CO_Data *d, UNS8 nodeId)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">UNS8 masterSendNMTnodeguard </td>
<td>(</td>
<td class="paramtype">CO_Data * </td>
<td class="paramname"> <em>d</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">UNS8 </td>
<td class="paramname"> <em>nodeId</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>nodeId</em> </td><td></td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
<p>
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>.
<p>
Referenced by <a class="el" href="nmtMaster_8c-source.html#l00090">masterRequestNodeState()</a>.
</div>
</div><p>
<a class="anchor" name="6170d95d9900ef756921a934c5fb37d2"></a><!-- doxytag: member="nmtMaster.c::masterSendNMTstateChange" ref="6170d95d9900ef756921a934c5fb37d2" args="(CO_Data *d, UNS8 Node_ID, UNS8 cs)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">UNS8 masterSendNMTstateChange </td>
<td>(</td>
<td class="paramtype">CO_Data * </td>
<td class="paramname"> <em>d</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">UNS8 </td>
<td class="paramname"> <em>Node_ID</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">UNS8 </td>
<td class="paramname"> <em>cs</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>Node_ID</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>cs</em> </td><td></td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
<p>
message configuration
<p>
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>.
</div>
</div><p>
<hr size="1"><address style="align: right;"><small>Generated on Tue Jun 5 18:32:06 2007 for CanFestival by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
</body>
</html>