As requested long ago, added CoData* parameter to all this applications callback, let application designer use identical callback for multiple nodes, and reduce source code length.
Concerned callbacks :
initialisation
preOperational
operational
stopped
heartbeatError
post_sync
post_TPDO
post_SlaveBootup
storeODSubIndex
post_emcy
<!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: struct_s_transfer Struct 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="annotated.html"><span>Data Structures</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="functions.html"><span>Data Fields</span></a></li>
</ul></div>
<h1>struct_s_transfer Struct Reference</h1><!-- doxytag: class="struct_s_transfer" --><code>#include <<a class="el" href="sdo_8h-source.html">sdo.h</a>></code>
<p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Data Fields</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="structstruct__s__transfer.html#96535d89aeba55918c7f64419220e028">nodeId</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="structstruct__s__transfer.html#5923ec653b04cb4d6452c336cc46410e">whoami</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="structstruct__s__transfer.html#a9014e6c3c00eb6614a2da59dab07212">state</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="structstruct__s__transfer.html#7301b7198e652ee202e9409905539b72">toggle</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS32 </td><td class="memItemRight" valign="bottom"><a class="el" href="structstruct__s__transfer.html#4659f8931399316266c41910f5c3428c">abortCode</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS16 </td><td class="memItemRight" valign="bottom"><a class="el" href="structstruct__s__transfer.html#1624f4c3e056e4a99edf9bd3917d7cff">index</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="structstruct__s__transfer.html#152b592ec92d3abd31a2450a2e5440d7">subIndex</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS32 </td><td class="memItemRight" valign="bottom"><a class="el" href="structstruct__s__transfer.html#979ad1ccd2a6db06d25f25f627009e75">count</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS32 </td><td class="memItemRight" valign="bottom"><a class="el" href="structstruct__s__transfer.html#1ccf99d458b7272818b434fe8fce0678">offset</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="structstruct__s__transfer.html#4da8e993e8e1e3f3680a0e66bc06955e">data</a> [SDO_MAX_LENGTH_TRANSFERT]</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="structstruct__s__transfer.html#a333b26c356e616a3058647d75429f15">dataType</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">TIMER_HANDLE </td><td class="memItemRight" valign="bottom"><a class="el" href="structstruct__s__transfer.html#e48328d294ca34e1ffe02cd2526fd469">timer</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="sdo_8h.html#a07f2d0e7b634e9474dad009a1a97a83">SDOCallback_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structstruct__s__transfer.html#2f6197ac553d351381f3a45f727064b8">Callback</a></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<p>
<p>
Definition at line <a class="el" href="sdo_8h-source.html#l00038">38</a> of file <a class="el" href="sdo_8h-source.html">sdo.h</a>.<hr><h2>Field Documentation</h2>
<a class="anchor" name="96535d89aeba55918c7f64419220e028"></a><!-- doxytag: member="struct_s_transfer::nodeId" ref="96535d89aeba55918c7f64419220e028" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">UNS8 <a class="el" href="structstruct__s__transfer.html#96535d89aeba55918c7f64419220e028">struct_s_transfer::nodeId</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="sdo_8h-source.html#l00039">39</a> of file <a class="el" href="sdo_8h-source.html">sdo.h</a>.
<p>
Referenced by <a class="el" href="sdo_8c-source.html#l00414">getSDOlineOnUse()</a>, <a class="el" href="sdo_8c-source.html#l00359">initSDOline()</a>, and <a class="el" href="sdo_8c-source.html#l00129">SDOTimeoutAlarm()</a>.
</div>
</div><p>
<a class="anchor" name="5923ec653b04cb4d6452c336cc46410e"></a><!-- doxytag: member="struct_s_transfer::whoami" ref="5923ec653b04cb4d6452c336cc46410e" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">UNS8 <a class="el" href="structstruct__s__transfer.html#5923ec653b04cb4d6452c336cc46410e">struct_s_transfer::whoami</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="sdo_8h-source.html#l00041">41</a> of file <a class="el" href="sdo_8h-source.html">sdo.h</a>.
<p>
Referenced by <a class="el" href="sdo_8c-source.html#l00388">getSDOfreeLine()</a>, <a class="el" href="sdo_8c-source.html#l00414">getSDOlineOnUse()</a>, and <a class="el" href="sdo_8c-source.html#l00129">SDOTimeoutAlarm()</a>.
</div>
</div><p>
<a class="anchor" name="a9014e6c3c00eb6614a2da59dab07212"></a><!-- doxytag: member="struct_s_transfer::state" ref="a9014e6c3c00eb6614a2da59dab07212" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">UNS8 <a class="el" href="structstruct__s__transfer.html#a9014e6c3c00eb6614a2da59dab07212">struct_s_transfer::state</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="sdo_8h-source.html#l00042">42</a> of file <a class="el" href="sdo_8h-source.html">sdo.h</a>.
<p>
Referenced by <a class="el" href="sdo_8c-source.html#l00307">failedSDO()</a>, <a class="el" href="sdo_8c-source.html#l01532">getReadResultNetworkDict()</a>, <a class="el" href="sdo_8c-source.html#l00388">getSDOfreeLine()</a>, <a class="el" href="sdo_8c-source.html#l00414">getSDOlineOnUse()</a>, <a class="el" href="sdo_8c-source.html#l01573">getWriteResultNetworkDict()</a>, <a class="el" href="sdo_8c-source.html#l00359">initSDOline()</a>, <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>, and <a class="el" href="sdo_8c-source.html#l00129">SDOTimeoutAlarm()</a>.
</div>
</div><p>
<a class="anchor" name="7301b7198e652ee202e9409905539b72"></a><!-- doxytag: member="struct_s_transfer::toggle" ref="7301b7198e652ee202e9409905539b72" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">UNS8 <a class="el" href="structstruct__s__transfer.html#7301b7198e652ee202e9409905539b72">struct_s_transfer::toggle</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="sdo_8h-source.html#l00043">43</a> of file <a class="el" href="sdo_8h-source.html">sdo.h</a>.
<p>
Referenced by <a class="el" href="sdo_8c-source.html#l00359">initSDOline()</a>, and <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>.
</div>
</div><p>
<a class="anchor" name="4659f8931399316266c41910f5c3428c"></a><!-- doxytag: member="struct_s_transfer::abortCode" ref="4659f8931399316266c41910f5c3428c" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">UNS32 <a class="el" href="structstruct__s__transfer.html#4659f8931399316266c41910f5c3428c">struct_s_transfer::abortCode</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="sdo_8h-source.html#l00044">44</a> of file <a class="el" href="sdo_8h-source.html">sdo.h</a>.
<p>
Referenced by <a class="el" href="sdo_8c-source.html#l01573">getWriteResultNetworkDict()</a>, <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>, and <a class="el" href="sdo_8c-source.html#l00129">SDOTimeoutAlarm()</a>.
</div>
</div><p>
<a class="anchor" name="1624f4c3e056e4a99edf9bd3917d7cff"></a><!-- doxytag: member="struct_s_transfer::index" ref="1624f4c3e056e4a99edf9bd3917d7cff" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">UNS16 <a class="el" href="structstruct__s__transfer.html#1624f4c3e056e4a99edf9bd3917d7cff">struct_s_transfer::index</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="sdo_8h-source.html#l00047">47</a> of file <a class="el" href="sdo_8h-source.html">sdo.h</a>.
<p>
Referenced by <a class="el" href="sdo_8c-source.html#l00359">initSDOline()</a>, <a class="el" href="sdo_8c-source.html#l00209">objdictToSDOline()</a>, <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>, <a class="el" href="sdo_8c-source.html#l00186">SDOlineToObjdict()</a>, and <a class="el" href="sdo_8c-source.html#l00129">SDOTimeoutAlarm()</a>.
</div>
</div><p>
<a class="anchor" name="152b592ec92d3abd31a2450a2e5440d7"></a><!-- doxytag: member="struct_s_transfer::subIndex" ref="152b592ec92d3abd31a2450a2e5440d7" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">UNS8 <a class="el" href="structstruct__s__transfer.html#152b592ec92d3abd31a2450a2e5440d7">struct_s_transfer::subIndex</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="sdo_8h-source.html#l00048">48</a> of file <a class="el" href="sdo_8h-source.html">sdo.h</a>.
<p>
Referenced by <a class="el" href="sdo_8c-source.html#l00359">initSDOline()</a>, <a class="el" href="sdo_8c-source.html#l00209">objdictToSDOline()</a>, <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>, <a class="el" href="sdo_8c-source.html#l00186">SDOlineToObjdict()</a>, and <a class="el" href="sdo_8c-source.html#l00129">SDOTimeoutAlarm()</a>.
</div>
</div><p>
<a class="anchor" name="979ad1ccd2a6db06d25f25f627009e75"></a><!-- doxytag: member="struct_s_transfer::count" ref="979ad1ccd2a6db06d25f25f627009e75" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">UNS32 <a class="el" href="structstruct__s__transfer.html#979ad1ccd2a6db06d25f25f627009e75">struct_s_transfer::count</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="sdo_8h-source.html#l00049">49</a> of file <a class="el" href="sdo_8h-source.html">sdo.h</a>.
<p>
Referenced by <a class="el" href="sdo_8c-source.html#l01247">_writeNetworkDict()</a>, <a class="el" href="sdo_8c-source.html#l01532">getReadResultNetworkDict()</a>, <a class="el" href="sdo_8c-source.html#l00461">getSDOlineRestBytes()</a>, <a class="el" href="sdo_8c-source.html#l00359">initSDOline()</a>, <a class="el" href="sdo_8c-source.html#l00250">lineToSDO()</a>, <a class="el" href="sdo_8c-source.html#l00209">objdictToSDOline()</a>, <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>, <a class="el" href="sdo_8c-source.html#l00186">SDOlineToObjdict()</a>, and <a class="el" href="sdo_8c-source.html#l00479">setSDOlineRestBytes()</a>.
</div>
</div><p>
<a class="anchor" name="1ccf99d458b7272818b434fe8fce0678"></a><!-- doxytag: member="struct_s_transfer::offset" ref="1ccf99d458b7272818b434fe8fce0678" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">UNS32 <a class="el" href="structstruct__s__transfer.html#1ccf99d458b7272818b434fe8fce0678">struct_s_transfer::offset</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="sdo_8h-source.html#l00050">50</a> of file <a class="el" href="sdo_8h-source.html">sdo.h</a>.
<p>
Referenced by <a class="el" href="sdo_8c-source.html#l01247">_writeNetworkDict()</a>, <a class="el" href="sdo_8c-source.html#l00461">getSDOlineRestBytes()</a>, <a class="el" href="sdo_8c-source.html#l00359">initSDOline()</a>, <a class="el" href="sdo_8c-source.html#l00250">lineToSDO()</a>, <a class="el" href="sdo_8c-source.html#l00209">objdictToSDOline()</a>, and <a class="el" href="sdo_8c-source.html#l00279">SDOtoLine()</a>.
</div>
</div><p>
<a class="anchor" name="4da8e993e8e1e3f3680a0e66bc06955e"></a><!-- doxytag: member="struct_s_transfer::data" ref="4da8e993e8e1e3f3680a0e66bc06955e" args="[SDO_MAX_LENGTH_TRANSFERT]" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">UNS8 <a class="el" href="structstruct__s__transfer.html#4da8e993e8e1e3f3680a0e66bc06955e">struct_s_transfer::data</a>[SDO_MAX_LENGTH_TRANSFERT] </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="sdo_8h-source.html#l00056">56</a> of file <a class="el" href="sdo_8h-source.html">sdo.h</a>.
<p>
Referenced by <a class="el" href="sdo_8c-source.html#l01247">_writeNetworkDict()</a>, <a class="el" href="sdo_8c-source.html#l01532">getReadResultNetworkDict()</a>, <a class="el" href="sdo_8c-source.html#l00250">lineToSDO()</a>, <a class="el" href="sdo_8c-source.html#l00209">objdictToSDOline()</a>, <a class="el" href="sdo_8c-source.html#l00338">resetSDOline()</a>, <a class="el" href="sdo_8c-source.html#l00186">SDOlineToObjdict()</a>, and <a class="el" href="sdo_8c-source.html#l00279">SDOtoLine()</a>.
</div>
</div><p>
<a class="anchor" name="a333b26c356e616a3058647d75429f15"></a><!-- doxytag: member="struct_s_transfer::dataType" ref="a333b26c356e616a3058647d75429f15" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">UNS8 <a class="el" href="structstruct__s__transfer.html#a333b26c356e616a3058647d75429f15">struct_s_transfer::dataType</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="sdo_8h-source.html#l00057">57</a> of file <a class="el" href="sdo_8h-source.html">sdo.h</a>.
<p>
Referenced by <a class="el" href="sdo_8c-source.html#l01406">_readNetworkDict()</a>, <a class="el" href="sdo_8c-source.html#l01247">_writeNetworkDict()</a>, <a class="el" href="sdo_8c-source.html#l01532">getReadResultNetworkDict()</a>, and <a class="el" href="sdo_8c-source.html#l00359">initSDOline()</a>.
</div>
</div><p>
<a class="anchor" name="e48328d294ca34e1ffe02cd2526fd469"></a><!-- doxytag: member="struct_s_transfer::timer" ref="e48328d294ca34e1ffe02cd2526fd469" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">TIMER_HANDLE <a class="el" href="structstruct__s__transfer.html#e48328d294ca34e1ffe02cd2526fd469">struct_s_transfer::timer</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="sdo_8h-source.html#l00061">61</a> of file <a class="el" href="sdo_8h-source.html">sdo.h</a>.
<p>
Referenced by <a class="el" href="sdo_8c-source.html#l00129">SDOTimeoutAlarm()</a>.
</div>
</div><p>
<a class="anchor" name="2f6197ac553d351381f3a45f727064b8"></a><!-- doxytag: member="struct_s_transfer::Callback" ref="2f6197ac553d351381f3a45f727064b8" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="sdo_8h.html#a07f2d0e7b634e9474dad009a1a97a83">SDOCallback_t</a> <a class="el" href="structstruct__s__transfer.html#2f6197ac553d351381f3a45f727064b8">struct_s_transfer::Callback</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="sdo_8h-source.html#l00067">67</a> of file <a class="el" href="sdo_8h-source.html">sdo.h</a>.
<p>
Referenced by <a class="el" href="sdo_8c-source.html#l01406">_readNetworkDict()</a>, <a class="el" href="sdo_8c-source.html#l01247">_writeNetworkDict()</a>, <a class="el" href="sdo_8c-source.html#l00359">initSDOline()</a>, <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>, and <a class="el" href="sdo_8c-source.html#l00129">SDOTimeoutAlarm()</a>.
</div>
</div><p>
<hr>The documentation for this struct was generated from the following file:<ul>
<li>include/<a class="el" href="sdo_8h-source.html">sdo.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Mon Jul 2 19:10:44 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>