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/sdo.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/sdo.c File Reference</h1><code>#include "objacces.h"</code><br>
|
|
19 |
<code>#include "sdo.h"</code><br>
|
|
20 |
<code>#include "canfestival.h"</code><br>
|
|
21 |
|
|
22 |
<p>
|
210
|
23 |
Include dependency graph for sdo.c:<p><center><img src="sdo_8c__incl.png" border="0" usemap="#/home/epimerde/documents/tc11/CanFestival-3/src/sdo.c_map" alt=""></center>
|
|
24 |
|
|
25 |
<p>
|
207
|
26 |
<a href="sdo_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
|
|
27 |
<tr><td></td></tr>
|
|
28 |
<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
|
|
29 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#b5ce7bd7fe4169a9f709815f03f9870b">NO_INLINE</a></td></tr>
|
|
30 |
|
|
31 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#2eb6f9e0395b47b8d5e3eeae4fe0c116">INLINE</a></td></tr>
|
|
32 |
|
|
33 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#ce5a1634ff4089db3b228cdd5010c321">getSDOcs</a>(byte) (byte >> 5)</td></tr>
|
|
34 |
|
|
35 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#dfd3877d80f6b903b491a115e587bd14">getSDOn2</a>(byte) ((byte >> 2) & 3)</td></tr>
|
|
36 |
|
|
37 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#e5677ca12bfb71b06cbd6e99e9be0955">getSDOn3</a>(byte) ((byte >> 1) & 7)</td></tr>
|
|
38 |
|
|
39 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#cf60675f20de8746e279dce3a5c8e3c6">getSDOe</a>(byte) ((byte >> 1) & 1)</td></tr>
|
|
40 |
|
|
41 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#f7f9e9bc3d59c9772d4c767b199dcf89">getSDOs</a>(byte) (byte & 1)</td></tr>
|
|
42 |
|
|
43 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#e5a2dafe8497bff1fd88f881ea74414d">getSDOc</a>(byte) (byte & 1)</td></tr>
|
|
44 |
|
|
45 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#464b29fd628d92426de0a841232bdd12">getSDOt</a>(byte) ((byte >> 4) & 1)</td></tr>
|
|
46 |
|
|
47 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#d9b34e26bf67f1251f3bb364756e17f1">getSDOindex</a>(byte1, byte2) ((byte2 << 8) | (byte1))</td></tr>
|
|
48 |
|
|
49 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#52a96f6fa6083f6b291133135b7155a8">getSDOsubIndex</a>(byte3) (byte3)</td></tr>
|
|
50 |
|
|
51 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#b90f05aac908e8eee39a34b3e21e0ea9">StopSDO_TIMER</a>(id)</td></tr>
|
|
52 |
|
|
53 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#c1e9eb7a28803b958d298b6997cc60ca">StartSDO_TIMER</a>(id)</td></tr>
|
|
54 |
|
|
55 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#b3938a9884014e96cafc42aeee743c0f">RestartSDO_TIMER</a>(id)</td></tr>
|
|
56 |
|
|
57 |
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
|
|
58 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">INLINE UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#3c07605ffe3ea197aa36e583ef87a20a">_writeNetworkDict</a> (CO_Data *d, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 count, UNS8 dataType, void *data, SDOCallback_t Callback, UNS8 endianize)</td></tr>
|
|
59 |
|
|
60 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">INLINE UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#4bb4b3cd35af7e7580cffde23e9d3270">_readNetworkDict</a> (CO_Data *d, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 dataType, SDOCallback_t Callback)</td></tr>
|
|
61 |
|
|
62 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#9309025e29b59e09026abcd3b45a5b61">SDOTimeoutAlarm</a> (CO_Data *d, UNS32 id)</td></tr>
|
|
63 |
|
|
64 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#1f4f07eccc4890a11ccf4f632da7740b">resetSDO</a> (CO_Data *d)</td></tr>
|
|
65 |
|
|
66 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS32 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#2eb5309dca3a7363da5e5e7230b85d58">SDOlineToObjdict</a> (CO_Data *d, UNS8 line)</td></tr>
|
|
67 |
|
|
68 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS32 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#29427a80fd1aeabff30bf0602fbc220f">objdictToSDOline</a> (CO_Data *d, UNS8 line)</td></tr>
|
|
69 |
|
|
70 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#ad6eb8be03b832ebba4dfb87aaba4065">lineToSDO</a> (CO_Data *d, UNS8 line, UNS8 nbBytes, UNS8 *data)</td></tr>
|
|
71 |
|
|
72 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#18b6f7e9c9441640a88ffef1e8720694">SDOtoLine</a> (CO_Data *d, UNS8 line, UNS8 nbBytes, UNS8 *data)</td></tr>
|
|
73 |
|
|
74 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#2019db2a4d17e6d29c055cbae173e2b9">failedSDO</a> (CO_Data *d, UNS8 nodeId, UNS8 whoami, UNS16 index, UNS8 subIndex, UNS32 abortCode)</td></tr>
|
|
75 |
|
|
76 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#42d33be015d4c4c83c73f1f0e588f481">resetSDOline</a> (CO_Data *d, UNS8 line)</td></tr>
|
|
77 |
|
|
78 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#b9c873a15f55b29112b5527a6cc6898d">initSDOline</a> (CO_Data *d, UNS8 line, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 state)</td></tr>
|
|
79 |
|
|
80 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#58d1f9691977617601beb9e5b4123252">getSDOfreeLine</a> (CO_Data *d, UNS8 whoami, UNS8 *line)</td></tr>
|
|
81 |
|
|
82 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#bb0c376b048ab2c6e0524b135b62376f">getSDOlineOnUse</a> (CO_Data *d, UNS8 nodeId, UNS8 whoami, UNS8 *line)</td></tr>
|
|
83 |
|
|
84 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#555a772d3a88a29c495f33513f8b2d58">closeSDOtransfer</a> (CO_Data *d, UNS8 nodeId, UNS8 whoami)</td></tr>
|
|
85 |
|
|
86 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#acceb714c6e457e98deb9ba164ba2a2f">getSDOlineRestBytes</a> (CO_Data *d, UNS8 line, UNS8 *nbBytes)</td></tr>
|
|
87 |
|
|
88 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#601a837ecb5f21bf4c66b058c5ae7810">setSDOlineRestBytes</a> (CO_Data *d, UNS8 line, UNS8 nbBytes)</td></tr>
|
|
89 |
|
|
90 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#c6b5d7d1439d537da992a96644a1ca5d">sendSDO</a> (CO_Data *d, UNS8 whoami, s_SDO sdo)</td></tr>
|
|
91 |
|
|
92 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#b26c3f2fb63d81055809d6ccaa785b7c">sendSDOabort</a> (CO_Data *d, UNS8 whoami, UNS16 index, UNS8 subIndex, UNS32 abortCode)</td></tr>
|
|
93 |
|
|
94 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#2a93a7c780472b1d8666d89aa270f661">proceedSDO</a> (CO_Data *d, Message *m)</td></tr>
|
|
95 |
|
|
96 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#bc20ed246e00053dcf71faa8f45ee39c">writeNetworkDict</a> (CO_Data *d, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 count, UNS8 dataType, void *data)</td></tr>
|
|
97 |
|
|
98 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#f4ec05293fb8971a1b282994498ed4f5">writeNetworkDictCallBack</a> (CO_Data *d, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 count, UNS8 dataType, void *data, SDOCallback_t Callback)</td></tr>
|
|
99 |
|
|
100 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#0e102a0835e4115920cd406e80a8d135">readNetworkDict</a> (CO_Data *d, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 dataType)</td></tr>
|
|
101 |
|
|
102 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#542a5cdd20c00aa130a39fe68295e769">readNetworkDictCallback</a> (CO_Data *d, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 dataType, SDOCallback_t Callback)</td></tr>
|
|
103 |
|
|
104 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#05b0c8eee1faee3c7a2f6e2ba3a16533">getReadResultNetworkDict</a> (CO_Data *d, UNS8 nodeId, void *data, UNS8 *size, UNS32 *abortCode)</td></tr>
|
|
105 |
|
|
106 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#8671e306873f19362c60bb50ab930d1d">getWriteResultNetworkDict</a> (CO_Data *d, UNS8 nodeId, UNS32 *abortCode)</td></tr>
|
|
107 |
|
|
108 |
</table>
|
210
|
109 |
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
|
110 |
<dl class="author" compact><dt><b>Author:</b></dt><dd>Edouard TISSERANT and Francis DUPIN </dd></dl>
|
|
111 |
<dl class="date" compact><dt><b>Date:</b></dt><dd>Tue Jun 5 09:32:32 2007 </dd></dl>
|
|
112 |
|
|
113 |
<p>
|
|
114 |
Definition in file <a class="el" href="sdo_8c-source.html">sdo.c</a>.<hr><h2>Define Documentation</h2>
|
207
|
115 |
<a class="anchor" name="e5a2dafe8497bff1fd88f881ea74414d"></a><!-- doxytag: member="sdo.c::getSDOc" ref="e5a2dafe8497bff1fd88f881ea74414d" args="(byte)" -->
|
|
116 |
<div class="memitem">
|
|
117 |
<div class="memproto">
|
|
118 |
<table class="memname">
|
|
119 |
<tr>
|
|
120 |
<td class="memname">#define getSDOc </td>
|
|
121 |
<td>(</td>
|
|
122 |
<td class="paramtype">byte </td>
|
|
123 |
<td class="paramname"> </td>
|
|
124 |
<td> ) </td>
|
|
125 |
<td width="100%"> (byte & 1)</td>
|
|
126 |
</tr>
|
|
127 |
</table>
|
|
128 |
</div>
|
|
129 |
<div class="memdoc">
|
|
130 |
|
|
131 |
<p>
|
|
132 |
Returns the indicator of end transmission from the first byte of the SDO
|
|
133 |
<p>
|
210
|
134 |
Definition at line <a class="el" href="sdo_8c-source.html#l00109">109</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
135 |
<p>
|
|
136 |
Referenced by <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>.
|
207
|
137 |
</div>
|
|
138 |
</div><p>
|
|
139 |
<a class="anchor" name="ce5a1634ff4089db3b228cdd5010c321"></a><!-- doxytag: member="sdo.c::getSDOcs" ref="ce5a1634ff4089db3b228cdd5010c321" args="(byte)" -->
|
|
140 |
<div class="memitem">
|
|
141 |
<div class="memproto">
|
|
142 |
<table class="memname">
|
|
143 |
<tr>
|
|
144 |
<td class="memname">#define getSDOcs </td>
|
|
145 |
<td>(</td>
|
|
146 |
<td class="paramtype">byte </td>
|
|
147 |
<td class="paramname"> </td>
|
|
148 |
<td> ) </td>
|
|
149 |
<td width="100%"> (byte >> 5)</td>
|
|
150 |
</tr>
|
|
151 |
</table>
|
|
152 |
</div>
|
|
153 |
<div class="memdoc">
|
|
154 |
|
|
155 |
<p>
|
|
156 |
Returns the command specifier (cs, ccs, scs) from the first byte of the SDO
|
|
157 |
<p>
|
210
|
158 |
Definition at line <a class="el" href="sdo_8c-source.html#l00089">89</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
159 |
<p>
|
|
160 |
Referenced by <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>.
|
207
|
161 |
</div>
|
|
162 |
</div><p>
|
|
163 |
<a class="anchor" name="cf60675f20de8746e279dce3a5c8e3c6"></a><!-- doxytag: member="sdo.c::getSDOe" ref="cf60675f20de8746e279dce3a5c8e3c6" args="(byte)" -->
|
|
164 |
<div class="memitem">
|
|
165 |
<div class="memproto">
|
|
166 |
<table class="memname">
|
|
167 |
<tr>
|
|
168 |
<td class="memname">#define getSDOe </td>
|
|
169 |
<td>(</td>
|
|
170 |
<td class="paramtype">byte </td>
|
|
171 |
<td class="paramname"> </td>
|
|
172 |
<td> ) </td>
|
|
173 |
<td width="100%"> ((byte >> 1) & 1)</td>
|
|
174 |
</tr>
|
|
175 |
</table>
|
|
176 |
</div>
|
|
177 |
<div class="memdoc">
|
|
178 |
|
|
179 |
<p>
|
|
180 |
Returns the transfer type from the first byte of the SDO
|
|
181 |
<p>
|
210
|
182 |
Definition at line <a class="el" href="sdo_8c-source.html#l00101">101</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
183 |
<p>
|
|
184 |
Referenced by <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>.
|
207
|
185 |
</div>
|
|
186 |
</div><p>
|
|
187 |
<a class="anchor" name="d9b34e26bf67f1251f3bb364756e17f1"></a><!-- doxytag: member="sdo.c::getSDOindex" ref="d9b34e26bf67f1251f3bb364756e17f1" args="(byte1, byte2)" -->
|
|
188 |
<div class="memitem">
|
|
189 |
<div class="memproto">
|
|
190 |
<table class="memname">
|
|
191 |
<tr>
|
|
192 |
<td class="memname">#define getSDOindex </td>
|
|
193 |
<td>(</td>
|
|
194 |
<td class="paramtype">byte1, <tr>
|
|
195 |
<td class="paramkey"></td>
|
|
196 |
<td></td>
|
|
197 |
<td class="paramtype">byte2 </td>
|
|
198 |
<td class="paramname"> </td>
|
|
199 |
<td> ) </td>
|
|
200 |
<td width="100%"> ((byte2 << 8) | (byte1))</td>
|
|
201 |
</tr>
|
|
202 |
</table>
|
|
203 |
</div>
|
|
204 |
<div class="memdoc">
|
|
205 |
|
|
206 |
<p>
|
|
207 |
Returns the index from the bytes 1 and 2 of the SDO
|
|
208 |
<p>
|
210
|
209 |
Definition at line <a class="el" href="sdo_8c-source.html#l00117">117</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
210 |
<p>
|
|
211 |
Referenced by <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>.
|
207
|
212 |
</div>
|
|
213 |
</div><p>
|
|
214 |
<a class="anchor" name="dfd3877d80f6b903b491a115e587bd14"></a><!-- doxytag: member="sdo.c::getSDOn2" ref="dfd3877d80f6b903b491a115e587bd14" args="(byte)" -->
|
|
215 |
<div class="memitem">
|
|
216 |
<div class="memproto">
|
|
217 |
<table class="memname">
|
|
218 |
<tr>
|
|
219 |
<td class="memname">#define getSDOn2 </td>
|
|
220 |
<td>(</td>
|
|
221 |
<td class="paramtype">byte </td>
|
|
222 |
<td class="paramname"> </td>
|
|
223 |
<td> ) </td>
|
|
224 |
<td width="100%"> ((byte >> 2) & 3)</td>
|
|
225 |
</tr>
|
|
226 |
</table>
|
|
227 |
</div>
|
|
228 |
<div class="memdoc">
|
|
229 |
|
|
230 |
<p>
|
|
231 |
Returns the number of bytes without data from the first byte of the SDO. Coded in 2 bits
|
|
232 |
<p>
|
210
|
233 |
Definition at line <a class="el" href="sdo_8c-source.html#l00093">93</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
234 |
<p>
|
|
235 |
Referenced by <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>.
|
207
|
236 |
</div>
|
|
237 |
</div><p>
|
|
238 |
<a class="anchor" name="e5677ca12bfb71b06cbd6e99e9be0955"></a><!-- doxytag: member="sdo.c::getSDOn3" ref="e5677ca12bfb71b06cbd6e99e9be0955" args="(byte)" -->
|
|
239 |
<div class="memitem">
|
|
240 |
<div class="memproto">
|
|
241 |
<table class="memname">
|
|
242 |
<tr>
|
|
243 |
<td class="memname">#define getSDOn3 </td>
|
|
244 |
<td>(</td>
|
|
245 |
<td class="paramtype">byte </td>
|
|
246 |
<td class="paramname"> </td>
|
|
247 |
<td> ) </td>
|
|
248 |
<td width="100%"> ((byte >> 1) & 7)</td>
|
|
249 |
</tr>
|
|
250 |
</table>
|
|
251 |
</div>
|
|
252 |
<div class="memdoc">
|
|
253 |
|
|
254 |
<p>
|
|
255 |
Returns the number of bytes without data from the first byte of the SDO. Coded in 3 bits
|
|
256 |
<p>
|
210
|
257 |
Definition at line <a class="el" href="sdo_8c-source.html#l00097">97</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
258 |
<p>
|
|
259 |
Referenced by <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>.
|
207
|
260 |
</div>
|
|
261 |
</div><p>
|
|
262 |
<a class="anchor" name="f7f9e9bc3d59c9772d4c767b199dcf89"></a><!-- doxytag: member="sdo.c::getSDOs" ref="f7f9e9bc3d59c9772d4c767b199dcf89" args="(byte)" -->
|
|
263 |
<div class="memitem">
|
|
264 |
<div class="memproto">
|
|
265 |
<table class="memname">
|
|
266 |
<tr>
|
|
267 |
<td class="memname">#define getSDOs </td>
|
|
268 |
<td>(</td>
|
|
269 |
<td class="paramtype">byte </td>
|
|
270 |
<td class="paramname"> </td>
|
|
271 |
<td> ) </td>
|
|
272 |
<td width="100%"> (byte & 1)</td>
|
|
273 |
</tr>
|
|
274 |
</table>
|
|
275 |
</div>
|
|
276 |
<div class="memdoc">
|
|
277 |
|
|
278 |
<p>
|
|
279 |
Returns the size indicator from the first byte of the SDO
|
|
280 |
<p>
|
210
|
281 |
Definition at line <a class="el" href="sdo_8c-source.html#l00105">105</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
282 |
<p>
|
|
283 |
Referenced by <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>.
|
207
|
284 |
</div>
|
|
285 |
</div><p>
|
|
286 |
<a class="anchor" name="52a96f6fa6083f6b291133135b7155a8"></a><!-- doxytag: member="sdo.c::getSDOsubIndex" ref="52a96f6fa6083f6b291133135b7155a8" args="(byte3)" -->
|
|
287 |
<div class="memitem">
|
|
288 |
<div class="memproto">
|
|
289 |
<table class="memname">
|
|
290 |
<tr>
|
|
291 |
<td class="memname">#define getSDOsubIndex </td>
|
|
292 |
<td>(</td>
|
|
293 |
<td class="paramtype">byte3 </td>
|
|
294 |
<td class="paramname"> </td>
|
|
295 |
<td> ) </td>
|
|
296 |
<td width="100%"> (byte3)</td>
|
|
297 |
</tr>
|
|
298 |
</table>
|
|
299 |
</div>
|
|
300 |
<div class="memdoc">
|
|
301 |
|
|
302 |
<p>
|
|
303 |
Returns the subIndex from the byte 3 of the SDO
|
|
304 |
<p>
|
210
|
305 |
Definition at line <a class="el" href="sdo_8c-source.html#l00121">121</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
306 |
<p>
|
|
307 |
Referenced by <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>.
|
207
|
308 |
</div>
|
|
309 |
</div><p>
|
|
310 |
<a class="anchor" name="464b29fd628d92426de0a841232bdd12"></a><!-- doxytag: member="sdo.c::getSDOt" ref="464b29fd628d92426de0a841232bdd12" args="(byte)" -->
|
|
311 |
<div class="memitem">
|
|
312 |
<div class="memproto">
|
|
313 |
<table class="memname">
|
|
314 |
<tr>
|
|
315 |
<td class="memname">#define getSDOt </td>
|
|
316 |
<td>(</td>
|
|
317 |
<td class="paramtype">byte </td>
|
|
318 |
<td class="paramname"> </td>
|
|
319 |
<td> ) </td>
|
|
320 |
<td width="100%"> ((byte >> 4) & 1)</td>
|
|
321 |
</tr>
|
|
322 |
</table>
|
|
323 |
</div>
|
|
324 |
<div class="memdoc">
|
|
325 |
|
|
326 |
<p>
|
|
327 |
Returns the toggle from the first byte of the SDO
|
|
328 |
<p>
|
210
|
329 |
Definition at line <a class="el" href="sdo_8c-source.html#l00113">113</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
330 |
<p>
|
|
331 |
Referenced by <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>.
|
207
|
332 |
</div>
|
|
333 |
</div><p>
|
|
334 |
<a class="anchor" name="2eb6f9e0395b47b8d5e3eeae4fe0c116"></a><!-- doxytag: member="sdo.c::INLINE" ref="2eb6f9e0395b47b8d5e3eeae4fe0c116" args="" -->
|
|
335 |
<div class="memitem">
|
|
336 |
<div class="memproto">
|
|
337 |
<table class="memname">
|
|
338 |
<tr>
|
|
339 |
<td class="memname">#define INLINE </td>
|
|
340 |
</tr>
|
|
341 |
</table>
|
|
342 |
</div>
|
|
343 |
<div class="memdoc">
|
|
344 |
|
|
345 |
<p>
|
|
346 |
|
|
347 |
<p>
|
210
|
348 |
Definition at line <a class="el" href="sdo_8c-source.html#l00043">43</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
207
|
349 |
</div>
|
|
350 |
</div><p>
|
|
351 |
<a class="anchor" name="b5ce7bd7fe4169a9f709815f03f9870b"></a><!-- doxytag: member="sdo.c::NO_INLINE" ref="b5ce7bd7fe4169a9f709815f03f9870b" args="" -->
|
|
352 |
<div class="memitem">
|
|
353 |
<div class="memproto">
|
|
354 |
<table class="memname">
|
|
355 |
<tr>
|
|
356 |
<td class="memname">#define NO_INLINE </td>
|
|
357 |
</tr>
|
|
358 |
</table>
|
|
359 |
</div>
|
|
360 |
<div class="memdoc">
|
|
361 |
|
|
362 |
<p>
|
|
363 |
|
|
364 |
<p>
|
210
|
365 |
Definition at line <a class="el" href="sdo_8c-source.html#l00040">40</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
207
|
366 |
</div>
|
|
367 |
</div><p>
|
|
368 |
<a class="anchor" name="b3938a9884014e96cafc42aeee743c0f"></a><!-- doxytag: member="sdo.c::RestartSDO_TIMER" ref="b3938a9884014e96cafc42aeee743c0f" args="(id)" -->
|
|
369 |
<div class="memitem">
|
|
370 |
<div class="memproto">
|
|
371 |
<table class="memname">
|
|
372 |
<tr>
|
|
373 |
<td class="memname">#define RestartSDO_TIMER </td>
|
|
374 |
<td>(</td>
|
|
375 |
<td class="paramtype">id </td>
|
|
376 |
<td class="paramname"> </td>
|
|
377 |
<td> ) </td>
|
|
378 |
<td width="100%"></td>
|
|
379 |
</tr>
|
|
380 |
</table>
|
|
381 |
</div>
|
|
382 |
<div class="memdoc">
|
|
383 |
|
|
384 |
<p>
|
|
385 |
<b>Value:</b><div class="fragment"><pre class="fragment">MSG_WAR(0x3A07, <span class="stringliteral">"restartSDO_TIMER for line : "</span>, line);\
|
|
386 |
<span class="keywordflow">if</span>(d->transfers[<span class="keywordtype">id</span>].timer != TIMER_NONE) { <a class="code" href="sdo_8c.html#b90f05aac908e8eee39a34b3e21e0ea9">StopSDO_TIMER</a>(<span class="keywordtype">id</span>) <a class="code" href="sdo_8c.html#c1e9eb7a28803b958d298b6997cc60ca">StartSDO_TIMER</a>(<span class="keywordtype">id</span>) }
|
|
387 |
</pre></div>
|
|
388 |
<p>
|
210
|
389 |
Definition at line <a class="el" href="sdo_8c-source.html#l00160">160</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
390 |
<p>
|
|
391 |
Referenced by <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>.
|
207
|
392 |
</div>
|
|
393 |
</div><p>
|
|
394 |
<a class="anchor" name="c1e9eb7a28803b958d298b6997cc60ca"></a><!-- doxytag: member="sdo.c::StartSDO_TIMER" ref="c1e9eb7a28803b958d298b6997cc60ca" args="(id)" -->
|
|
395 |
<div class="memitem">
|
|
396 |
<div class="memproto">
|
|
397 |
<table class="memname">
|
|
398 |
<tr>
|
|
399 |
<td class="memname">#define StartSDO_TIMER </td>
|
|
400 |
<td>(</td>
|
|
401 |
<td class="paramtype">id </td>
|
|
402 |
<td class="paramname"> </td>
|
|
403 |
<td> ) </td>
|
|
404 |
<td width="100%"></td>
|
|
405 |
</tr>
|
|
406 |
</table>
|
|
407 |
</div>
|
|
408 |
<div class="memdoc">
|
|
409 |
|
|
410 |
<p>
|
|
411 |
<b>Value:</b><div class="fragment"><pre class="fragment">MSG_WAR(0x3A06, <span class="stringliteral">"StartSDO_TIMER for line : "</span>, line);\
|
|
412 |
d->transfers[id].timer = <a class="code" href="timer_8c.html#11c2616d78f06ed9144ef662f757b128">SetAlarm</a>(d,<span class="keywordtype">id</span>,&<a class="code" href="sdo_8c.html#9309025e29b59e09026abcd3b45a5b61">SDOTimeoutAlarm</a>,MS_TO_TIMEVAL(SDO_TIMEOUT_MS),0);
|
|
413 |
</pre></div>
|
|
414 |
<p>
|
210
|
415 |
Definition at line <a class="el" href="sdo_8c-source.html#l00156">156</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
416 |
<p>
|
|
417 |
Referenced by <a class="el" href="sdo_8c-source.html#l00359">initSDOline()</a>.
|
207
|
418 |
</div>
|
|
419 |
</div><p>
|
|
420 |
<a class="anchor" name="b90f05aac908e8eee39a34b3e21e0ea9"></a><!-- doxytag: member="sdo.c::StopSDO_TIMER" ref="b90f05aac908e8eee39a34b3e21e0ea9" args="(id)" -->
|
|
421 |
<div class="memitem">
|
|
422 |
<div class="memproto">
|
|
423 |
<table class="memname">
|
|
424 |
<tr>
|
|
425 |
<td class="memname">#define StopSDO_TIMER </td>
|
|
426 |
<td>(</td>
|
|
427 |
<td class="paramtype">id </td>
|
|
428 |
<td class="paramname"> </td>
|
|
429 |
<td> ) </td>
|
|
430 |
<td width="100%"></td>
|
|
431 |
</tr>
|
|
432 |
</table>
|
|
433 |
</div>
|
|
434 |
<div class="memdoc">
|
|
435 |
|
|
436 |
<p>
|
|
437 |
<b>Value:</b><div class="fragment"><pre class="fragment">MSG_WAR(0x3A05, <span class="stringliteral">"StopSDO_TIMER for line : "</span>, line);\
|
|
438 |
d->transfers[id].timer = <a class="code" href="timer_8c.html#991b3cfaac2f201b14d5530f75985c21">DelAlarm</a>(d->transfers[<span class="keywordtype">id</span>].timer);
|
|
439 |
</pre></div>
|
|
440 |
<p>
|
210
|
441 |
Definition at line <a class="el" href="sdo_8c-source.html#l00152">152</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
442 |
<p>
|
|
443 |
Referenced by <a class="el" href="sdo_8c-source.html#l00307">failedSDO()</a>, <a class="el" href="sdo_8c-source.html#l00359">initSDOline()</a>, and <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>.
|
207
|
444 |
</div>
|
|
445 |
</div><p>
|
|
446 |
<hr><h2>Function Documentation</h2>
|
|
447 |
<a class="anchor" name="4bb4b3cd35af7e7580cffde23e9d3270"></a><!-- doxytag: member="sdo.c::_readNetworkDict" ref="4bb4b3cd35af7e7580cffde23e9d3270" args="(CO_Data *d, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 dataType, SDOCallback_t Callback)" -->
|
|
448 |
<div class="memitem">
|
|
449 |
<div class="memproto">
|
|
450 |
<table class="memname">
|
|
451 |
<tr>
|
|
452 |
<td class="memname">INLINE UNS8 _readNetworkDict </td>
|
|
453 |
<td>(</td>
|
|
454 |
<td class="paramtype">CO_Data * </td>
|
|
455 |
<td class="paramname"> <em>d</em>, </td>
|
|
456 |
</tr>
|
|
457 |
<tr>
|
|
458 |
<td class="paramkey"></td>
|
|
459 |
<td></td>
|
|
460 |
<td class="paramtype">UNS8 </td>
|
|
461 |
<td class="paramname"> <em>nodeId</em>, </td>
|
|
462 |
</tr>
|
|
463 |
<tr>
|
|
464 |
<td class="paramkey"></td>
|
|
465 |
<td></td>
|
|
466 |
<td class="paramtype">UNS16 </td>
|
|
467 |
<td class="paramname"> <em>index</em>, </td>
|
|
468 |
</tr>
|
|
469 |
<tr>
|
|
470 |
<td class="paramkey"></td>
|
|
471 |
<td></td>
|
|
472 |
<td class="paramtype">UNS8 </td>
|
|
473 |
<td class="paramname"> <em>subIndex</em>, </td>
|
|
474 |
</tr>
|
|
475 |
<tr>
|
|
476 |
<td class="paramkey"></td>
|
|
477 |
<td></td>
|
|
478 |
<td class="paramtype">UNS8 </td>
|
|
479 |
<td class="paramname"> <em>dataType</em>, </td>
|
|
480 |
</tr>
|
|
481 |
<tr>
|
|
482 |
<td class="paramkey"></td>
|
|
483 |
<td></td>
|
|
484 |
<td class="paramtype">SDOCallback_t </td>
|
|
485 |
<td class="paramname"> <em>Callback</em></td><td> </td>
|
|
486 |
</tr>
|
|
487 |
<tr>
|
|
488 |
<td></td>
|
|
489 |
<td>)</td>
|
|
490 |
<td></td><td></td><td width="100%"></td>
|
|
491 |
</tr>
|
|
492 |
</table>
|
|
493 |
</div>
|
|
494 |
<div class="memdoc">
|
|
495 |
|
|
496 |
<p>
|
210
|
497 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
498 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
499 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
500 |
<tr><td valign="top"></td><td valign="top"><em>nodeId</em> </td><td></td></tr>
|
|
501 |
<tr><td valign="top"></td><td valign="top"><em>index</em> </td><td></td></tr>
|
|
502 |
<tr><td valign="top"></td><td valign="top"><em>subIndex</em> </td><td></td></tr>
|
|
503 |
<tr><td valign="top"></td><td valign="top"><em>dataType</em> </td><td></td></tr>
|
|
504 |
<tr><td valign="top"></td><td valign="top"><em>Callback</em> </td><td></td></tr>
|
|
505 |
</table>
|
|
506 |
</dl>
|
|
507 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
508 |
|
|
509 |
<p>
|
|
510 |
Verify that there is no SDO communication yet.<p>
|
|
511 |
Taking the line ...<p>
|
|
512 |
Check which SDO to use to communicate with the node<p>
|
|
513 |
looking for the nodeId server<p>
|
|
514 |
Send the SDO to the server. Initiate upload, cs=2.
|
|
515 |
<p>
|
|
516 |
Definition at line <a class="el" href="sdo_8c-source.html#l01406">1406</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
517 |
<p>
|
|
518 |
References <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#l00359">initSDOline()</a>, <a class="el" href="sdo_8c-source.html#l00338">resetSDOline()</a>, and <a class="el" href="sdo_8c-source.html#l00498">sendSDO()</a>.
|
|
519 |
<p>
|
|
520 |
Referenced by <a class="el" href="sdo_8c-source.html#l01499">readNetworkDict()</a>, and <a class="el" href="sdo_8c-source.html#l01516">readNetworkDictCallback()</a>.
|
|
521 |
<p>
|
|
522 |
Here is the call graph for this function:<p><center><img src="sdo_8c_4bb4b3cd35af7e7580cffde23e9d3270_cgraph.png" border="0" usemap="#sdo_8c_4bb4b3cd35af7e7580cffde23e9d3270_cgraph_map" alt=""></center>
|
|
523 |
<map name="sdo_8c_4bb4b3cd35af7e7580cffde23e9d3270_cgraph_map">
|
|
524 |
<area href="sdo_8c.html#58d1f9691977617601beb9e5b4123252" shape="rect" coords="205,5,333,29" alt="">
|
|
525 |
<area href="sdo_8c.html#bb0c376b048ab2c6e0524b135b62376f" shape="rect" coords="199,53,340,77" alt="">
|
|
526 |
<area href="sdo_8c.html#b9c873a15f55b29112b5527a6cc6898d" shape="rect" coords="391,128,487,152" alt="">
|
|
527 |
<area href="sdo_8c.html#42d33be015d4c4c83c73f1f0e588f481" shape="rect" coords="215,152,324,176" alt="">
|
|
528 |
<area href="sdo_8c.html#c6b5d7d1439d537da992a96644a1ca5d" shape="rect" coords="228,200,311,224" alt="">
|
|
529 |
</map>
|
|
530 |
|
207
|
531 |
</div>
|
|
532 |
</div><p>
|
|
533 |
<a class="anchor" name="3c07605ffe3ea197aa36e583ef87a20a"></a><!-- doxytag: member="sdo.c::_writeNetworkDict" ref="3c07605ffe3ea197aa36e583ef87a20a" args="(CO_Data *d, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 count, UNS8 dataType, void *data, SDOCallback_t Callback, UNS8 endianize)" -->
|
|
534 |
<div class="memitem">
|
|
535 |
<div class="memproto">
|
|
536 |
<table class="memname">
|
|
537 |
<tr>
|
|
538 |
<td class="memname">INLINE UNS8 _writeNetworkDict </td>
|
|
539 |
<td>(</td>
|
|
540 |
<td class="paramtype">CO_Data * </td>
|
|
541 |
<td class="paramname"> <em>d</em>, </td>
|
|
542 |
</tr>
|
|
543 |
<tr>
|
|
544 |
<td class="paramkey"></td>
|
|
545 |
<td></td>
|
|
546 |
<td class="paramtype">UNS8 </td>
|
|
547 |
<td class="paramname"> <em>nodeId</em>, </td>
|
|
548 |
</tr>
|
|
549 |
<tr>
|
|
550 |
<td class="paramkey"></td>
|
|
551 |
<td></td>
|
|
552 |
<td class="paramtype">UNS16 </td>
|
|
553 |
<td class="paramname"> <em>index</em>, </td>
|
|
554 |
</tr>
|
|
555 |
<tr>
|
|
556 |
<td class="paramkey"></td>
|
|
557 |
<td></td>
|
|
558 |
<td class="paramtype">UNS8 </td>
|
|
559 |
<td class="paramname"> <em>subIndex</em>, </td>
|
|
560 |
</tr>
|
|
561 |
<tr>
|
|
562 |
<td class="paramkey"></td>
|
|
563 |
<td></td>
|
|
564 |
<td class="paramtype">UNS8 </td>
|
|
565 |
<td class="paramname"> <em>count</em>, </td>
|
|
566 |
</tr>
|
|
567 |
<tr>
|
|
568 |
<td class="paramkey"></td>
|
|
569 |
<td></td>
|
|
570 |
<td class="paramtype">UNS8 </td>
|
|
571 |
<td class="paramname"> <em>dataType</em>, </td>
|
|
572 |
</tr>
|
|
573 |
<tr>
|
|
574 |
<td class="paramkey"></td>
|
|
575 |
<td></td>
|
|
576 |
<td class="paramtype">void * </td>
|
|
577 |
<td class="paramname"> <em>data</em>, </td>
|
|
578 |
</tr>
|
|
579 |
<tr>
|
|
580 |
<td class="paramkey"></td>
|
|
581 |
<td></td>
|
|
582 |
<td class="paramtype">SDOCallback_t </td>
|
|
583 |
<td class="paramname"> <em>Callback</em>, </td>
|
|
584 |
</tr>
|
|
585 |
<tr>
|
|
586 |
<td class="paramkey"></td>
|
|
587 |
<td></td>
|
|
588 |
<td class="paramtype">UNS8 </td>
|
|
589 |
<td class="paramname"> <em>endianize</em></td><td> </td>
|
|
590 |
</tr>
|
|
591 |
<tr>
|
|
592 |
<td></td>
|
|
593 |
<td>)</td>
|
|
594 |
<td></td><td></td><td width="100%"></td>
|
|
595 |
</tr>
|
|
596 |
</table>
|
|
597 |
</div>
|
|
598 |
<div class="memdoc">
|
|
599 |
|
|
600 |
<p>
|
210
|
601 |
Called by writeNetworkDict<p>
|
|
602 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
603 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
604 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
605 |
<tr><td valign="top"></td><td valign="top"><em>nodeId</em> </td><td></td></tr>
|
|
606 |
<tr><td valign="top"></td><td valign="top"><em>index</em> </td><td></td></tr>
|
|
607 |
<tr><td valign="top"></td><td valign="top"><em>subIndex</em> </td><td></td></tr>
|
|
608 |
<tr><td valign="top"></td><td valign="top"><em>count</em> </td><td></td></tr>
|
|
609 |
<tr><td valign="top"></td><td valign="top"><em>dataType</em> </td><td></td></tr>
|
|
610 |
<tr><td valign="top"></td><td valign="top"><em>data</em> </td><td></td></tr>
|
|
611 |
<tr><td valign="top"></td><td valign="top"><em>Callback</em> </td><td></td></tr>
|
|
612 |
<tr><td valign="top"></td><td valign="top"><em>endianize</em> </td><td></td></tr>
|
|
613 |
</table>
|
|
614 |
</dl>
|
|
615 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
616 |
|
207
|
617 |
</div>
|
|
618 |
</div><p>
|
|
619 |
<a class="anchor" name="555a772d3a88a29c495f33513f8b2d58"></a><!-- doxytag: member="sdo.c::closeSDOtransfer" ref="555a772d3a88a29c495f33513f8b2d58" args="(CO_Data *d, UNS8 nodeId, UNS8 whoami)" -->
|
|
620 |
<div class="memitem">
|
|
621 |
<div class="memproto">
|
|
622 |
<table class="memname">
|
|
623 |
<tr>
|
|
624 |
<td class="memname">UNS8 closeSDOtransfer </td>
|
|
625 |
<td>(</td>
|
|
626 |
<td class="paramtype">CO_Data * </td>
|
|
627 |
<td class="paramname"> <em>d</em>, </td>
|
|
628 |
</tr>
|
|
629 |
<tr>
|
|
630 |
<td class="paramkey"></td>
|
|
631 |
<td></td>
|
|
632 |
<td class="paramtype">UNS8 </td>
|
|
633 |
<td class="paramname"> <em>nodeId</em>, </td>
|
|
634 |
</tr>
|
|
635 |
<tr>
|
|
636 |
<td class="paramkey"></td>
|
|
637 |
<td></td>
|
|
638 |
<td class="paramtype">UNS8 </td>
|
|
639 |
<td class="paramname"> <em>whoami</em></td><td> </td>
|
|
640 |
</tr>
|
|
641 |
<tr>
|
|
642 |
<td></td>
|
|
643 |
<td>)</td>
|
|
644 |
<td></td><td></td><td width="100%"></td>
|
|
645 |
</tr>
|
|
646 |
</table>
|
|
647 |
</div>
|
|
648 |
<div class="memdoc">
|
|
649 |
|
|
650 |
<p>
|
210
|
651 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
652 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
653 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
654 |
<tr><td valign="top"></td><td valign="top"><em>nodeId</em> </td><td></td></tr>
|
|
655 |
<tr><td valign="top"></td><td valign="top"><em>whoami</em> </td><td></td></tr>
|
|
656 |
</table>
|
|
657 |
</dl>
|
|
658 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
659 |
|
|
660 |
<p>
|
|
661 |
Definition at line <a class="el" href="sdo_8c-source.html#l00439">439</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
662 |
<p>
|
|
663 |
References <a class="el" href="sdo_8c-source.html#l00414">getSDOlineOnUse()</a>, and <a class="el" href="sdo_8c-source.html#l00338">resetSDOline()</a>.
|
|
664 |
<p>
|
|
665 |
Here is the call graph for this function:<p><center><img src="sdo_8c_555a772d3a88a29c495f33513f8b2d58_cgraph.png" border="0" usemap="#sdo_8c_555a772d3a88a29c495f33513f8b2d58_cgraph_map" alt=""></center>
|
|
666 |
<map name="sdo_8c_555a772d3a88a29c495f33513f8b2d58_cgraph_map">
|
|
667 |
<area href="sdo_8c.html#bb0c376b048ab2c6e0524b135b62376f" shape="rect" coords="196,6,338,30" alt="">
|
|
668 |
<area href="sdo_8c.html#42d33be015d4c4c83c73f1f0e588f481" shape="rect" coords="212,54,322,78" alt="">
|
|
669 |
<area href="sdo_8c.html#b9c873a15f55b29112b5527a6cc6898d" shape="rect" coords="388,54,484,78" alt="">
|
|
670 |
</map>
|
|
671 |
|
207
|
672 |
</div>
|
|
673 |
</div><p>
|
|
674 |
<a class="anchor" name="2019db2a4d17e6d29c055cbae173e2b9"></a><!-- doxytag: member="sdo.c::failedSDO" ref="2019db2a4d17e6d29c055cbae173e2b9" args="(CO_Data *d, UNS8 nodeId, UNS8 whoami, UNS16 index, UNS8 subIndex, UNS32 abortCode)" -->
|
|
675 |
<div class="memitem">
|
|
676 |
<div class="memproto">
|
|
677 |
<table class="memname">
|
|
678 |
<tr>
|
|
679 |
<td class="memname">UNS8 failedSDO </td>
|
|
680 |
<td>(</td>
|
|
681 |
<td class="paramtype">CO_Data * </td>
|
|
682 |
<td class="paramname"> <em>d</em>, </td>
|
|
683 |
</tr>
|
|
684 |
<tr>
|
|
685 |
<td class="paramkey"></td>
|
|
686 |
<td></td>
|
|
687 |
<td class="paramtype">UNS8 </td>
|
|
688 |
<td class="paramname"> <em>nodeId</em>, </td>
|
|
689 |
</tr>
|
|
690 |
<tr>
|
|
691 |
<td class="paramkey"></td>
|
|
692 |
<td></td>
|
|
693 |
<td class="paramtype">UNS8 </td>
|
|
694 |
<td class="paramname"> <em>whoami</em>, </td>
|
|
695 |
</tr>
|
|
696 |
<tr>
|
|
697 |
<td class="paramkey"></td>
|
|
698 |
<td></td>
|
|
699 |
<td class="paramtype">UNS16 </td>
|
|
700 |
<td class="paramname"> <em>index</em>, </td>
|
|
701 |
</tr>
|
|
702 |
<tr>
|
|
703 |
<td class="paramkey"></td>
|
|
704 |
<td></td>
|
|
705 |
<td class="paramtype">UNS8 </td>
|
|
706 |
<td class="paramname"> <em>subIndex</em>, </td>
|
|
707 |
</tr>
|
|
708 |
<tr>
|
|
709 |
<td class="paramkey"></td>
|
|
710 |
<td></td>
|
|
711 |
<td class="paramtype">UNS32 </td>
|
|
712 |
<td class="paramname"> <em>abortCode</em></td><td> </td>
|
|
713 |
</tr>
|
|
714 |
<tr>
|
|
715 |
<td></td>
|
|
716 |
<td>)</td>
|
|
717 |
<td></td><td></td><td width="100%"></td>
|
|
718 |
</tr>
|
|
719 |
</table>
|
|
720 |
</div>
|
|
721 |
<div class="memdoc">
|
|
722 |
|
|
723 |
<p>
|
210
|
724 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
725 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
726 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
727 |
<tr><td valign="top"></td><td valign="top"><em>nodeId</em> </td><td></td></tr>
|
|
728 |
<tr><td valign="top"></td><td valign="top"><em>whoami</em> </td><td></td></tr>
|
|
729 |
<tr><td valign="top"></td><td valign="top"><em>index</em> </td><td></td></tr>
|
|
730 |
<tr><td valign="top"></td><td valign="top"><em>subIndex</em> </td><td></td></tr>
|
|
731 |
<tr><td valign="top"></td><td valign="top"><em>abortCode</em> </td><td></td></tr>
|
|
732 |
</table>
|
|
733 |
</dl>
|
|
734 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
735 |
|
|
736 |
<p>
|
|
737 |
Definition at line <a class="el" href="sdo_8c-source.html#l00307">307</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
738 |
<p>
|
|
739 |
References <a class="el" href="sdo_8c-source.html#l00414">getSDOlineOnUse()</a>, <a class="el" href="sdo_8c-source.html#l00338">resetSDOline()</a>, <a class="el" href="sdo_8c-source.html#l00578">sendSDOabort()</a>, and <a class="el" href="sdo_8c-source.html#l00152">StopSDO_TIMER</a>.
|
|
740 |
<p>
|
|
741 |
Referenced by <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>.
|
|
742 |
<p>
|
|
743 |
Here is the call graph for this function:<p><center><img src="sdo_8c_2019db2a4d17e6d29c055cbae173e2b9_cgraph.png" border="0" usemap="#sdo_8c_2019db2a4d17e6d29c055cbae173e2b9_cgraph_map" alt=""></center>
|
|
744 |
<map name="sdo_8c_2019db2a4d17e6d29c055cbae173e2b9_cgraph_map">
|
|
745 |
<area href="sdo_8c.html#bb0c376b048ab2c6e0524b135b62376f" shape="rect" coords="145,6,287,30" alt="">
|
|
746 |
<area href="sdo_8c.html#42d33be015d4c4c83c73f1f0e588f481" shape="rect" coords="161,54,271,78" alt="">
|
|
747 |
<area href="sdo_8c.html#b26c3f2fb63d81055809d6ccaa785b7c" shape="rect" coords="156,102,276,126" alt="">
|
|
748 |
<area href="sdo_8c.html#b9c873a15f55b29112b5527a6cc6898d" shape="rect" coords="337,54,433,78" alt="">
|
|
749 |
<area href="sdo_8c.html#c6b5d7d1439d537da992a96644a1ca5d" shape="rect" coords="344,102,427,126" alt="">
|
|
750 |
</map>
|
|
751 |
|
207
|
752 |
</div>
|
|
753 |
</div><p>
|
|
754 |
<a class="anchor" name="05b0c8eee1faee3c7a2f6e2ba3a16533"></a><!-- doxytag: member="sdo.c::getReadResultNetworkDict" ref="05b0c8eee1faee3c7a2f6e2ba3a16533" args="(CO_Data *d, UNS8 nodeId, void *data, UNS8 *size, UNS32 *abortCode)" -->
|
|
755 |
<div class="memitem">
|
|
756 |
<div class="memproto">
|
|
757 |
<table class="memname">
|
|
758 |
<tr>
|
|
759 |
<td class="memname">UNS8 getReadResultNetworkDict </td>
|
|
760 |
<td>(</td>
|
|
761 |
<td class="paramtype">CO_Data * </td>
|
|
762 |
<td class="paramname"> <em>d</em>, </td>
|
|
763 |
</tr>
|
|
764 |
<tr>
|
|
765 |
<td class="paramkey"></td>
|
|
766 |
<td></td>
|
|
767 |
<td class="paramtype">UNS8 </td>
|
|
768 |
<td class="paramname"> <em>nodeId</em>, </td>
|
|
769 |
</tr>
|
|
770 |
<tr>
|
|
771 |
<td class="paramkey"></td>
|
|
772 |
<td></td>
|
|
773 |
<td class="paramtype">void * </td>
|
|
774 |
<td class="paramname"> <em>data</em>, </td>
|
|
775 |
</tr>
|
|
776 |
<tr>
|
|
777 |
<td class="paramkey"></td>
|
|
778 |
<td></td>
|
|
779 |
<td class="paramtype">UNS8 * </td>
|
|
780 |
<td class="paramname"> <em>size</em>, </td>
|
|
781 |
</tr>
|
|
782 |
<tr>
|
|
783 |
<td class="paramkey"></td>
|
|
784 |
<td></td>
|
|
785 |
<td class="paramtype">UNS32 * </td>
|
|
786 |
<td class="paramname"> <em>abortCode</em></td><td> </td>
|
|
787 |
</tr>
|
|
788 |
<tr>
|
|
789 |
<td></td>
|
|
790 |
<td>)</td>
|
|
791 |
<td></td><td></td><td width="100%"></td>
|
|
792 |
</tr>
|
|
793 |
</table>
|
|
794 |
</div>
|
|
795 |
<div class="memdoc">
|
|
796 |
|
|
797 |
<p>
|
210
|
798 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
799 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
800 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
801 |
<tr><td valign="top"></td><td valign="top"><em>nodeId</em> </td><td></td></tr>
|
|
802 |
<tr><td valign="top"></td><td valign="top"><em>data</em> </td><td></td></tr>
|
|
803 |
<tr><td valign="top"></td><td valign="top"><em>size</em> </td><td></td></tr>
|
|
804 |
<tr><td valign="top"></td><td valign="top"><em>abortCode</em> </td><td></td></tr>
|
|
805 |
</table>
|
|
806 |
</dl>
|
|
807 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
808 |
|
|
809 |
<p>
|
|
810 |
Looking for the line tranfert.<p>
|
|
811 |
Transfert is finished. Put the value in the data.
|
|
812 |
<p>
|
|
813 |
Definition at line <a class="el" href="sdo_8c-source.html#l01532">1532</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
814 |
<p>
|
|
815 |
References <a class="el" href="sdo_8c-source.html#l00414">getSDOlineOnUse()</a>.
|
|
816 |
<p>
|
|
817 |
Here is the call graph for this function:<p><center><img src="sdo_8c_05b0c8eee1faee3c7a2f6e2ba3a16533_cgraph.png" border="0" usemap="#sdo_8c_05b0c8eee1faee3c7a2f6e2ba3a16533_cgraph_map" alt=""></center>
|
|
818 |
<map name="sdo_8c_05b0c8eee1faee3c7a2f6e2ba3a16533_cgraph_map">
|
|
819 |
<area href="sdo_8c.html#bb0c376b048ab2c6e0524b135b62376f" shape="rect" coords="257,6,399,30" alt="">
|
|
820 |
</map>
|
|
821 |
|
207
|
822 |
</div>
|
|
823 |
</div><p>
|
|
824 |
<a class="anchor" name="58d1f9691977617601beb9e5b4123252"></a><!-- doxytag: member="sdo.c::getSDOfreeLine" ref="58d1f9691977617601beb9e5b4123252" args="(CO_Data *d, UNS8 whoami, UNS8 *line)" -->
|
|
825 |
<div class="memitem">
|
|
826 |
<div class="memproto">
|
|
827 |
<table class="memname">
|
|
828 |
<tr>
|
|
829 |
<td class="memname">UNS8 getSDOfreeLine </td>
|
|
830 |
<td>(</td>
|
|
831 |
<td class="paramtype">CO_Data * </td>
|
|
832 |
<td class="paramname"> <em>d</em>, </td>
|
|
833 |
</tr>
|
|
834 |
<tr>
|
|
835 |
<td class="paramkey"></td>
|
|
836 |
<td></td>
|
|
837 |
<td class="paramtype">UNS8 </td>
|
|
838 |
<td class="paramname"> <em>whoami</em>, </td>
|
|
839 |
</tr>
|
|
840 |
<tr>
|
|
841 |
<td class="paramkey"></td>
|
|
842 |
<td></td>
|
|
843 |
<td class="paramtype">UNS8 * </td>
|
|
844 |
<td class="paramname"> <em>line</em></td><td> </td>
|
|
845 |
</tr>
|
|
846 |
<tr>
|
|
847 |
<td></td>
|
|
848 |
<td>)</td>
|
|
849 |
<td></td><td></td><td width="100%"></td>
|
|
850 |
</tr>
|
|
851 |
</table>
|
|
852 |
</div>
|
|
853 |
<div class="memdoc">
|
|
854 |
|
|
855 |
<p>
|
210
|
856 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
857 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
858 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
859 |
<tr><td valign="top"></td><td valign="top"><em>whoami</em> </td><td></td></tr>
|
|
860 |
<tr><td valign="top"></td><td valign="top"><em>line</em> </td><td></td></tr>
|
|
861 |
</table>
|
|
862 |
</dl>
|
|
863 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
864 |
|
|
865 |
<p>
|
|
866 |
Definition at line <a class="el" href="sdo_8c-source.html#l00388">388</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
867 |
<p>
|
|
868 |
Referenced by <a class="el" href="sdo_8c-source.html#l01406">_readNetworkDict()</a>, <a class="el" href="sdo_8c-source.html#l01247">_writeNetworkDict()</a>, and <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>.
|
207
|
869 |
</div>
|
|
870 |
</div><p>
|
|
871 |
<a class="anchor" name="bb0c376b048ab2c6e0524b135b62376f"></a><!-- doxytag: member="sdo.c::getSDOlineOnUse" ref="bb0c376b048ab2c6e0524b135b62376f" args="(CO_Data *d, UNS8 nodeId, UNS8 whoami, UNS8 *line)" -->
|
|
872 |
<div class="memitem">
|
|
873 |
<div class="memproto">
|
|
874 |
<table class="memname">
|
|
875 |
<tr>
|
|
876 |
<td class="memname">UNS8 getSDOlineOnUse </td>
|
|
877 |
<td>(</td>
|
|
878 |
<td class="paramtype">CO_Data * </td>
|
|
879 |
<td class="paramname"> <em>d</em>, </td>
|
|
880 |
</tr>
|
|
881 |
<tr>
|
|
882 |
<td class="paramkey"></td>
|
|
883 |
<td></td>
|
|
884 |
<td class="paramtype">UNS8 </td>
|
|
885 |
<td class="paramname"> <em>nodeId</em>, </td>
|
|
886 |
</tr>
|
|
887 |
<tr>
|
|
888 |
<td class="paramkey"></td>
|
|
889 |
<td></td>
|
|
890 |
<td class="paramtype">UNS8 </td>
|
|
891 |
<td class="paramname"> <em>whoami</em>, </td>
|
|
892 |
</tr>
|
|
893 |
<tr>
|
|
894 |
<td class="paramkey"></td>
|
|
895 |
<td></td>
|
|
896 |
<td class="paramtype">UNS8 * </td>
|
|
897 |
<td class="paramname"> <em>line</em></td><td> </td>
|
|
898 |
</tr>
|
|
899 |
<tr>
|
|
900 |
<td></td>
|
|
901 |
<td>)</td>
|
|
902 |
<td></td><td></td><td width="100%"></td>
|
|
903 |
</tr>
|
|
904 |
</table>
|
|
905 |
</div>
|
|
906 |
<div class="memdoc">
|
|
907 |
|
|
908 |
<p>
|
210
|
909 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
910 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
911 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
912 |
<tr><td valign="top"></td><td valign="top"><em>nodeId</em> </td><td></td></tr>
|
|
913 |
<tr><td valign="top"></td><td valign="top"><em>whoami</em> </td><td></td></tr>
|
|
914 |
<tr><td valign="top"></td><td valign="top"><em>line</em> </td><td></td></tr>
|
|
915 |
</table>
|
|
916 |
</dl>
|
|
917 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
918 |
|
|
919 |
<p>
|
|
920 |
Definition at line <a class="el" href="sdo_8c-source.html#l00414">414</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
921 |
<p>
|
|
922 |
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#l00439">closeSDOtransfer()</a>, <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#l01573">getWriteResultNetworkDict()</a>, and <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>.
|
207
|
923 |
</div>
|
|
924 |
</div><p>
|
|
925 |
<a class="anchor" name="acceb714c6e457e98deb9ba164ba2a2f"></a><!-- doxytag: member="sdo.c::getSDOlineRestBytes" ref="acceb714c6e457e98deb9ba164ba2a2f" args="(CO_Data *d, UNS8 line, UNS8 *nbBytes)" -->
|
|
926 |
<div class="memitem">
|
|
927 |
<div class="memproto">
|
|
928 |
<table class="memname">
|
|
929 |
<tr>
|
|
930 |
<td class="memname">UNS8 getSDOlineRestBytes </td>
|
|
931 |
<td>(</td>
|
|
932 |
<td class="paramtype">CO_Data * </td>
|
|
933 |
<td class="paramname"> <em>d</em>, </td>
|
|
934 |
</tr>
|
|
935 |
<tr>
|
|
936 |
<td class="paramkey"></td>
|
|
937 |
<td></td>
|
|
938 |
<td class="paramtype">UNS8 </td>
|
|
939 |
<td class="paramname"> <em>line</em>, </td>
|
|
940 |
</tr>
|
|
941 |
<tr>
|
|
942 |
<td class="paramkey"></td>
|
|
943 |
<td></td>
|
|
944 |
<td class="paramtype">UNS8 * </td>
|
|
945 |
<td class="paramname"> <em>nbBytes</em></td><td> </td>
|
|
946 |
</tr>
|
|
947 |
<tr>
|
|
948 |
<td></td>
|
|
949 |
<td>)</td>
|
|
950 |
<td></td><td></td><td width="100%"></td>
|
|
951 |
</tr>
|
|
952 |
</table>
|
|
953 |
</div>
|
|
954 |
<div class="memdoc">
|
|
955 |
|
|
956 |
<p>
|
210
|
957 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
958 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
959 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
960 |
<tr><td valign="top"></td><td valign="top"><em>line</em> </td><td></td></tr>
|
|
961 |
<tr><td valign="top"></td><td valign="top"><em>nbBytes</em> </td><td></td></tr>
|
|
962 |
</table>
|
|
963 |
</dl>
|
|
964 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
965 |
|
|
966 |
<p>
|
|
967 |
Definition at line <a class="el" href="sdo_8c-source.html#l00461">461</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
968 |
<p>
|
|
969 |
Referenced by <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>.
|
207
|
970 |
</div>
|
|
971 |
</div><p>
|
|
972 |
<a class="anchor" name="8671e306873f19362c60bb50ab930d1d"></a><!-- doxytag: member="sdo.c::getWriteResultNetworkDict" ref="8671e306873f19362c60bb50ab930d1d" args="(CO_Data *d, UNS8 nodeId, UNS32 *abortCode)" -->
|
|
973 |
<div class="memitem">
|
|
974 |
<div class="memproto">
|
|
975 |
<table class="memname">
|
|
976 |
<tr>
|
|
977 |
<td class="memname">UNS8 getWriteResultNetworkDict </td>
|
|
978 |
<td>(</td>
|
|
979 |
<td class="paramtype">CO_Data * </td>
|
|
980 |
<td class="paramname"> <em>d</em>, </td>
|
|
981 |
</tr>
|
|
982 |
<tr>
|
|
983 |
<td class="paramkey"></td>
|
|
984 |
<td></td>
|
|
985 |
<td class="paramtype">UNS8 </td>
|
|
986 |
<td class="paramname"> <em>nodeId</em>, </td>
|
|
987 |
</tr>
|
|
988 |
<tr>
|
|
989 |
<td class="paramkey"></td>
|
|
990 |
<td></td>
|
|
991 |
<td class="paramtype">UNS32 * </td>
|
|
992 |
<td class="paramname"> <em>abortCode</em></td><td> </td>
|
|
993 |
</tr>
|
|
994 |
<tr>
|
|
995 |
<td></td>
|
|
996 |
<td>)</td>
|
|
997 |
<td></td><td></td><td width="100%"></td>
|
|
998 |
</tr>
|
|
999 |
</table>
|
|
1000 |
</div>
|
|
1001 |
<div class="memdoc">
|
|
1002 |
|
|
1003 |
<p>
|
210
|
1004 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
1005 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
1006 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
1007 |
<tr><td valign="top"></td><td valign="top"><em>nodeId</em> </td><td></td></tr>
|
|
1008 |
<tr><td valign="top"></td><td valign="top"><em>abortCode</em> </td><td></td></tr>
|
|
1009 |
</table>
|
|
1010 |
</dl>
|
|
1011 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
1012 |
|
|
1013 |
<p>
|
|
1014 |
Looking for the line tranfert.
|
|
1015 |
<p>
|
|
1016 |
Definition at line <a class="el" href="sdo_8c-source.html#l01573">1573</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
1017 |
<p>
|
|
1018 |
References <a class="el" href="sdo_8c-source.html#l00414">getSDOlineOnUse()</a>.
|
|
1019 |
<p>
|
|
1020 |
Here is the call graph for this function:<p><center><img src="sdo_8c_8671e306873f19362c60bb50ab930d1d_cgraph.png" border="0" usemap="#sdo_8c_8671e306873f19362c60bb50ab930d1d_cgraph_map" alt=""></center>
|
|
1021 |
<map name="sdo_8c_8671e306873f19362c60bb50ab930d1d_cgraph_map">
|
|
1022 |
<area href="sdo_8c.html#bb0c376b048ab2c6e0524b135b62376f" shape="rect" coords="260,6,401,30" alt="">
|
|
1023 |
</map>
|
|
1024 |
|
207
|
1025 |
</div>
|
|
1026 |
</div><p>
|
|
1027 |
<a class="anchor" name="b9c873a15f55b29112b5527a6cc6898d"></a><!-- doxytag: member="sdo.c::initSDOline" ref="b9c873a15f55b29112b5527a6cc6898d" args="(CO_Data *d, UNS8 line, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 state)" -->
|
|
1028 |
<div class="memitem">
|
|
1029 |
<div class="memproto">
|
|
1030 |
<table class="memname">
|
|
1031 |
<tr>
|
|
1032 |
<td class="memname">UNS8 initSDOline </td>
|
|
1033 |
<td>(</td>
|
|
1034 |
<td class="paramtype">CO_Data * </td>
|
|
1035 |
<td class="paramname"> <em>d</em>, </td>
|
|
1036 |
</tr>
|
|
1037 |
<tr>
|
|
1038 |
<td class="paramkey"></td>
|
|
1039 |
<td></td>
|
|
1040 |
<td class="paramtype">UNS8 </td>
|
|
1041 |
<td class="paramname"> <em>line</em>, </td>
|
|
1042 |
</tr>
|
|
1043 |
<tr>
|
|
1044 |
<td class="paramkey"></td>
|
|
1045 |
<td></td>
|
|
1046 |
<td class="paramtype">UNS8 </td>
|
|
1047 |
<td class="paramname"> <em>nodeId</em>, </td>
|
|
1048 |
</tr>
|
|
1049 |
<tr>
|
|
1050 |
<td class="paramkey"></td>
|
|
1051 |
<td></td>
|
|
1052 |
<td class="paramtype">UNS16 </td>
|
|
1053 |
<td class="paramname"> <em>index</em>, </td>
|
|
1054 |
</tr>
|
|
1055 |
<tr>
|
|
1056 |
<td class="paramkey"></td>
|
|
1057 |
<td></td>
|
|
1058 |
<td class="paramtype">UNS8 </td>
|
|
1059 |
<td class="paramname"> <em>subIndex</em>, </td>
|
|
1060 |
</tr>
|
|
1061 |
<tr>
|
|
1062 |
<td class="paramkey"></td>
|
|
1063 |
<td></td>
|
|
1064 |
<td class="paramtype">UNS8 </td>
|
|
1065 |
<td class="paramname"> <em>state</em></td><td> </td>
|
|
1066 |
</tr>
|
|
1067 |
<tr>
|
|
1068 |
<td></td>
|
|
1069 |
<td>)</td>
|
|
1070 |
<td></td><td></td><td width="100%"></td>
|
|
1071 |
</tr>
|
|
1072 |
</table>
|
|
1073 |
</div>
|
|
1074 |
<div class="memdoc">
|
|
1075 |
|
|
1076 |
<p>
|
210
|
1077 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
1078 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
1079 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
1080 |
<tr><td valign="top"></td><td valign="top"><em>line</em> </td><td></td></tr>
|
|
1081 |
<tr><td valign="top"></td><td valign="top"><em>nodeId</em> </td><td></td></tr>
|
|
1082 |
<tr><td valign="top"></td><td valign="top"><em>index</em> </td><td></td></tr>
|
|
1083 |
<tr><td valign="top"></td><td valign="top"><em>subIndex</em> </td><td></td></tr>
|
|
1084 |
<tr><td valign="top"></td><td valign="top"><em>state</em> </td><td></td></tr>
|
|
1085 |
</table>
|
|
1086 |
</dl>
|
|
1087 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
1088 |
|
|
1089 |
<p>
|
|
1090 |
Definition at line <a class="el" href="sdo_8c-source.html#l00359">359</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
1091 |
<p>
|
|
1092 |
References <a class="el" href="sdo_8c-source.html#l00156">StartSDO_TIMER</a>, and <a class="el" href="sdo_8c-source.html#l00152">StopSDO_TIMER</a>.
|
|
1093 |
<p>
|
|
1094 |
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#l00608">proceedSDO()</a>, and <a class="el" href="sdo_8c-source.html#l00338">resetSDOline()</a>.
|
207
|
1095 |
</div>
|
|
1096 |
</div><p>
|
|
1097 |
<a class="anchor" name="ad6eb8be03b832ebba4dfb87aaba4065"></a><!-- doxytag: member="sdo.c::lineToSDO" ref="ad6eb8be03b832ebba4dfb87aaba4065" args="(CO_Data *d, UNS8 line, UNS8 nbBytes, UNS8 *data)" -->
|
|
1098 |
<div class="memitem">
|
|
1099 |
<div class="memproto">
|
|
1100 |
<table class="memname">
|
|
1101 |
<tr>
|
|
1102 |
<td class="memname">UNS8 lineToSDO </td>
|
|
1103 |
<td>(</td>
|
|
1104 |
<td class="paramtype">CO_Data * </td>
|
|
1105 |
<td class="paramname"> <em>d</em>, </td>
|
|
1106 |
</tr>
|
|
1107 |
<tr>
|
|
1108 |
<td class="paramkey"></td>
|
|
1109 |
<td></td>
|
|
1110 |
<td class="paramtype">UNS8 </td>
|
|
1111 |
<td class="paramname"> <em>line</em>, </td>
|
|
1112 |
</tr>
|
|
1113 |
<tr>
|
|
1114 |
<td class="paramkey"></td>
|
|
1115 |
<td></td>
|
|
1116 |
<td class="paramtype">UNS8 </td>
|
|
1117 |
<td class="paramname"> <em>nbBytes</em>, </td>
|
|
1118 |
</tr>
|
|
1119 |
<tr>
|
|
1120 |
<td class="paramkey"></td>
|
|
1121 |
<td></td>
|
|
1122 |
<td class="paramtype">UNS8 * </td>
|
|
1123 |
<td class="paramname"> <em>data</em></td><td> </td>
|
|
1124 |
</tr>
|
|
1125 |
<tr>
|
|
1126 |
<td></td>
|
|
1127 |
<td>)</td>
|
|
1128 |
<td></td><td></td><td width="100%"></td>
|
|
1129 |
</tr>
|
|
1130 |
</table>
|
|
1131 |
</div>
|
|
1132 |
<div class="memdoc">
|
|
1133 |
|
|
1134 |
<p>
|
210
|
1135 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
1136 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
1137 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
1138 |
<tr><td valign="top"></td><td valign="top"><em>line</em> </td><td></td></tr>
|
|
1139 |
<tr><td valign="top"></td><td valign="top"><em>nbBytes</em> </td><td></td></tr>
|
|
1140 |
<tr><td valign="top"></td><td valign="top"><em>data</em> </td><td></td></tr>
|
|
1141 |
</table>
|
|
1142 |
</dl>
|
|
1143 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
1144 |
|
|
1145 |
<p>
|
|
1146 |
Definition at line <a class="el" href="sdo_8c-source.html#l00250">250</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
1147 |
<p>
|
|
1148 |
Referenced by <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>.
|
207
|
1149 |
</div>
|
|
1150 |
</div><p>
|
|
1151 |
<a class="anchor" name="29427a80fd1aeabff30bf0602fbc220f"></a><!-- doxytag: member="sdo.c::objdictToSDOline" ref="29427a80fd1aeabff30bf0602fbc220f" args="(CO_Data *d, UNS8 line)" -->
|
|
1152 |
<div class="memitem">
|
|
1153 |
<div class="memproto">
|
|
1154 |
<table class="memname">
|
|
1155 |
<tr>
|
|
1156 |
<td class="memname">UNS32 objdictToSDOline </td>
|
|
1157 |
<td>(</td>
|
|
1158 |
<td class="paramtype">CO_Data * </td>
|
|
1159 |
<td class="paramname"> <em>d</em>, </td>
|
|
1160 |
</tr>
|
|
1161 |
<tr>
|
|
1162 |
<td class="paramkey"></td>
|
|
1163 |
<td></td>
|
|
1164 |
<td class="paramtype">UNS8 </td>
|
|
1165 |
<td class="paramname"> <em>line</em></td><td> </td>
|
|
1166 |
</tr>
|
|
1167 |
<tr>
|
|
1168 |
<td></td>
|
|
1169 |
<td>)</td>
|
|
1170 |
<td></td><td></td><td width="100%"></td>
|
|
1171 |
</tr>
|
|
1172 |
</table>
|
|
1173 |
</div>
|
|
1174 |
<div class="memdoc">
|
|
1175 |
|
|
1176 |
<p>
|
210
|
1177 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
1178 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
1179 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
1180 |
<tr><td valign="top"></td><td valign="top"><em>line</em> </td><td></td></tr>
|
|
1181 |
</table>
|
|
1182 |
</dl>
|
|
1183 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
1184 |
|
|
1185 |
<p>
|
|
1186 |
Definition at line <a class="el" href="sdo_8c-source.html#l00209">209</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
1187 |
<p>
|
|
1188 |
References <a class="el" href="objacces_8c-source.html#l00198">getODentry()</a>.
|
|
1189 |
<p>
|
|
1190 |
Referenced by <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>.
|
|
1191 |
<p>
|
|
1192 |
Here is the call graph for this function:<p><center><img src="sdo_8c_29427a80fd1aeabff30bf0602fbc220f_cgraph.png" border="0" usemap="#sdo_8c_29427a80fd1aeabff30bf0602fbc220f_cgraph_map" alt=""></center>
|
|
1193 |
<map name="sdo_8c_29427a80fd1aeabff30bf0602fbc220f_cgraph_map">
|
|
1194 |
<area href="objacces_8c.html#39c263a4bc5d2d824fefe22fdb4c2dac" shape="rect" coords="191,6,289,30" alt="">
|
|
1195 |
<area href="objacces_8c.html#49e9444c8c8d39906a40a153366ed09c" shape="rect" coords="340,6,447,30" alt="">
|
|
1196 |
<area href="objacces_8c.html#75d39b2dadcdb48f7321c6f3766aad26" shape="rect" coords="497,6,665,30" alt="">
|
|
1197 |
</map>
|
|
1198 |
|
207
|
1199 |
</div>
|
|
1200 |
</div><p>
|
|
1201 |
<a class="anchor" name="2a93a7c780472b1d8666d89aa270f661"></a><!-- doxytag: member="sdo.c::proceedSDO" ref="2a93a7c780472b1d8666d89aa270f661" args="(CO_Data *d, Message *m)" -->
|
|
1202 |
<div class="memitem">
|
|
1203 |
<div class="memproto">
|
|
1204 |
<table class="memname">
|
|
1205 |
<tr>
|
|
1206 |
<td class="memname">UNS8 proceedSDO </td>
|
|
1207 |
<td>(</td>
|
|
1208 |
<td class="paramtype">CO_Data * </td>
|
|
1209 |
<td class="paramname"> <em>d</em>, </td>
|
|
1210 |
</tr>
|
|
1211 |
<tr>
|
|
1212 |
<td class="paramkey"></td>
|
|
1213 |
<td></td>
|
|
1214 |
<td class="paramtype">Message * </td>
|
|
1215 |
<td class="paramname"> <em>m</em></td><td> </td>
|
|
1216 |
</tr>
|
|
1217 |
<tr>
|
|
1218 |
<td></td>
|
|
1219 |
<td>)</td>
|
|
1220 |
<td></td><td></td><td width="100%"></td>
|
|
1221 |
</tr>
|
|
1222 |
</table>
|
|
1223 |
</div>
|
|
1224 |
<div class="memdoc">
|
|
1225 |
|
|
1226 |
<p>
|
210
|
1227 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
1228 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
1229 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
1230 |
<tr><td valign="top"></td><td valign="top"><em>m</em> </td><td></td></tr>
|
|
1231 |
</table>
|
|
1232 |
</dl>
|
|
1233 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
1234 |
|
|
1235 |
<p>
|
|
1236 |
received or to be transmited.<p>
|
|
1237 |
The node from which the SDO is received<p>
|
|
1238 |
node id in 32 bits, for temporary use<p>
|
|
1239 |
SDO_SERVER or SDO_CLIENT.<p>
|
|
1240 |
while reading or writing in the local object dictionary.<p>
|
|
1241 |
SDO to transmit<p>
|
|
1242 |
Looking for the cobId in the object dictionary.<p>
|
|
1243 |
Am-I a server ?<p>
|
|
1244 |
In case of server, the node id of the client may be unknown. So we put the index minus offset<p>
|
|
1245 |
0x1200 where the cobid received is defined.<p>
|
|
1246 |
end while<p>
|
|
1247 |
Am-I client ?<p>
|
|
1248 |
a) Looking for the cobid received.<p>
|
|
1249 |
b) cobid found, so reading the node id of the server.<p>
|
|
1250 |
This SDO was not for us !<p>
|
|
1251 |
Test if the size of the SDO is ok<p>
|
|
1252 |
Testing the command specifier<p>
|
|
1253 |
Allowed : cs = 0, 1, 2, 3, 4. (= all except those for block tranfert).<p>
|
|
1254 |
cs = other : Not allowed -> abort.<p>
|
|
1255 |
I am SERVER<p>
|
|
1256 |
Receiving a download segment data.<p>
|
|
1257 |
A SDO transfert should have been yet initiated.<p>
|
|
1258 |
Reset the wathdog<p>
|
|
1259 |
Toggle test.<p>
|
|
1260 |
Nb of data to be downloaded<p>
|
|
1261 |
Store the data in the transfert structure.<p>
|
|
1262 |
Sending the SDO response, CS = 1<p>
|
|
1263 |
The node id of the server, (here it is the sender).<p>
|
|
1264 |
Inverting the toggle for the next segment.<p>
|
|
1265 |
If it was the last segment,<p>
|
|
1266 |
Transfering line data to object dictionary.<p>
|
|
1267 |
The code does not use the "d" of initiate frame. So it is safe if e=s=0<p>
|
|
1268 |
Release of the line<p>
|
|
1269 |
I am CLIENT<p>
|
|
1270 |
It is a request for a previous upload segment. We should find a line opened for this.<p>
|
|
1271 |
Reset the wathdog<p>
|
|
1272 |
test of the toggle;<p>
|
|
1273 |
nb of data to be uploaded<p>
|
|
1274 |
Storing the data in the line structure.<p>
|
|
1275 |
Inverting the toggle for the next segment.<p>
|
|
1276 |
If it was the last segment,<p>
|
|
1277 |
Put in state finished<p>
|
|
1278 |
The code is safe for the case e=s=0 in initiate frame.<p>
|
|
1279 |
more segments to receive<p>
|
|
1280 |
Sending the request for the next segment.<p>
|
|
1281 |
I am SERVER<p>
|
|
1282 |
Receive of an initiate download<p>
|
|
1283 |
Search if a SDO transfert have been yet initiated<p>
|
|
1284 |
No line on use. Great !<p>
|
|
1285 |
Try to open a new line.<p>
|
|
1286 |
If SDO expedited<p>
|
|
1287 |
nb of data to be downloaded<p>
|
|
1288 |
Storing the data in the line structure.<p>
|
|
1289 |
SDO expedited -> transfert finished. Data can be stored in the dictionary.<p>
|
|
1290 |
The line will be reseted when it is downloading in the dictionary.<p>
|
|
1291 |
Transfering line data to object dictionary.<p>
|
|
1292 |
Release of the line.<p>
|
|
1293 |
So, if it is not an expedited transfert<p>
|
|
1294 |
TODO : if e and s = 0, not reading m->data[4] but put nbBytes = 0<p>
|
|
1295 |
Transfert limited to 255 bytes.<p>
|
|
1296 |
Sending a SDO, cs=3<p>
|
|
1297 |
The node id of the server, (here it is the sender).<p>
|
|
1298 |
I am CLIENT<p>
|
|
1299 |
It is a response for a previous download segment. We should find a line opened for this.<p>
|
|
1300 |
Reset the wathdog<p>
|
|
1301 |
test of the toggle;<p>
|
|
1302 |
End transmission or downloading next segment. We need to know if it will be the last one.<p>
|
|
1303 |
At least one transfer to send.<p>
|
|
1304 |
several segments to download.<p>
|
|
1305 |
code to send the next segment. (cs = 0; c = 0)<p>
|
|
1306 |
Last segment.<p>
|
|
1307 |
code to send the last segment. (cs = 0; c = 1)<p>
|
|
1308 |
end if I am a CLIENT<p>
|
|
1309 |
I am SERVER<p>
|
|
1310 |
Receive of an initiate upload.<p>
|
|
1311 |
Search if a SDO transfert have been yet initiated<p>
|
|
1312 |
No line on use. Great !<p>
|
|
1313 |
Try to open a new line.<p>
|
|
1314 |
Transfer data from dictionary to the line structure.<p>
|
|
1315 |
Preparing the response.<p>
|
|
1316 |
Nb bytes to transfer ?<p>
|
|
1317 |
The server node Id;<p>
|
|
1318 |
normal transfert. (segmented).<p>
|
|
1319 |
code to send the initiate upload response. (cs = 2)<p>
|
|
1320 |
It takes too much memory to upgrate to 2^32 because the size of data is also coded<p>
|
|
1321 |
in the object dictionary, at every index and subindex.<p>
|
|
1322 |
Expedited upload. (cs = 2 ; e = 1)<p>
|
|
1323 |
Release the line.<p>
|
|
1324 |
end if I am SERVER<p>
|
|
1325 |
I am CLIENT<p>
|
|
1326 |
It is the response for the previous initiate upload request.<p>
|
|
1327 |
We should find a line opened for this.<p>
|
|
1328 |
Reset the wathdog<p>
|
|
1329 |
nb of data to be uploaded<p>
|
|
1330 |
Storing the data in the line structure.<p>
|
|
1331 |
SDO expedited -> transfert finished. data are available via <a class="el" href="sdo_8c.html#05b0c8eee1faee3c7a2f6e2ba3a16533">getReadResultNetworkDict()</a>.<p>
|
|
1332 |
So, if it is not an expedited transfert<p>
|
|
1333 |
Storing the nb of data to receive.<p>
|
|
1334 |
Remember the limitation to 255 bytes to transfert<p>
|
|
1335 |
Requesting next segment. (cs = 3)<p>
|
|
1336 |
End if CLIENT<p>
|
|
1337 |
I am SERVER<p>
|
|
1338 |
Receiving a upload segment.<p>
|
|
1339 |
A SDO transfert should have been yet initiated.<p>
|
|
1340 |
Reset the wathdog<p>
|
|
1341 |
Toggle test.<p>
|
|
1342 |
Uploading next segment. We need to know if it will be the last one.<p>
|
|
1343 |
The segment to transfer is not the last one.<p>
|
|
1344 |
code to send the next segment. (cs = 0; c = 0)<p>
|
|
1345 |
Inverting the toggle for the next tranfert.<p>
|
|
1346 |
Last segment.<p>
|
|
1347 |
code to send the last segment. (cs = 0; c = 1)<p>
|
|
1348 |
The server node Id;<p>
|
|
1349 |
Release the line<p>
|
|
1350 |
I am CLIENT<p>
|
|
1351 |
It is the response for the previous initiate download request.<p>
|
|
1352 |
We should find a line opened for this.<p>
|
|
1353 |
Reset the watchdog<p>
|
|
1354 |
more than one request to send<p>
|
|
1355 |
code to send the next segment. (cs = 0; c = 0)<p>
|
|
1356 |
The server node Id;<p>
|
|
1357 |
Last segment.<p>
|
|
1358 |
code to send the last segment. (cs = 0; c = 1)<p>
|
|
1359 |
The server node Id;<p>
|
|
1360 |
Received SDO abort.<p>
|
|
1361 |
Looking for the line concerned.<p>
|
|
1362 |
Tips : The end user has no way to know that the server node has received an abort SDO.<p>
|
|
1363 |
Its is ok, I think.<p>
|
|
1364 |
If I am CLIENT<p>
|
|
1365 |
The line *must* be released by the core program.<p>
|
|
1366 |
Error : Unknown cs
|
|
1367 |
<p>
|
|
1368 |
Definition at line <a class="el" href="sdo_8c-source.html#l00608">608</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
1369 |
<p>
|
|
1370 |
References <a class="el" href="sdo_8c-source.html#l00307">failedSDO()</a>, <a class="el" href="sdo_8c-source.html#l00109">getSDOc</a>, <a class="el" href="sdo_8c-source.html#l00089">getSDOcs</a>, <a class="el" href="sdo_8c-source.html#l00101">getSDOe</a>, <a class="el" href="sdo_8c-source.html#l00388">getSDOfreeLine()</a>, <a class="el" href="sdo_8c-source.html#l00117">getSDOindex</a>, <a class="el" href="sdo_8c-source.html#l00414">getSDOlineOnUse()</a>, <a class="el" href="sdo_8c-source.html#l00461">getSDOlineRestBytes()</a>, <a class="el" href="sdo_8c-source.html#l00093">getSDOn2</a>, <a class="el" href="sdo_8c-source.html#l00097">getSDOn3</a>, <a class="el" href="sdo_8c-source.html#l00105">getSDOs</a>, <a class="el" href="sdo_8c-source.html#l00121">getSDOsubIndex</a>, <a class="el" href="sdo_8c-source.html#l00113">getSDOt</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#l00338">resetSDOline()</a>, <a class="el" href="sdo_8c-source.html#l00160">RestartSDO_TIMER</a>, <a class="el" href="sdo_8c-source.html#l00186">SDOlineToObjdict()</a>, <a class="el" href="sdo_8c-source.html#l00279">SDOtoLine()</a>, <a class="el" href="sdo_8c-source.html#l00498">sendSDO()</a>, <a class="el" href="sdo_8c-source.html#l00479">setSDOlineRestBytes()</a>, and <a class="el" href="sdo_8c-source.html#l00152">StopSDO_TIMER</a>.
|
|
1371 |
<p>
|
|
1372 |
Referenced by <a class="el" href="states_8c-source.html#l00065">canDispatch()</a>.
|
|
1373 |
<p>
|
|
1374 |
Here is the call graph for this function:<p><center><img src="sdo_8c_2a93a7c780472b1d8666d89aa270f661_cgraph.png" border="0" usemap="#sdo_8c_2a93a7c780472b1d8666d89aa270f661_cgraph_map" alt=""></center>
|
|
1375 |
<map name="sdo_8c_2a93a7c780472b1d8666d89aa270f661_cgraph_map">
|
|
1376 |
<area href="sdo_8c.html#2019db2a4d17e6d29c055cbae173e2b9" shape="rect" coords="199,140,287,164" alt="">
|
|
1377 |
<area href="sdo_8c.html#bb0c376b048ab2c6e0524b135b62376f" shape="rect" coords="375,190,516,214" alt="">
|
|
1378 |
<area href="sdo_8c.html#42d33be015d4c4c83c73f1f0e588f481" shape="rect" coords="391,91,500,115" alt="">
|
|
1379 |
<area href="sdo_8c.html#b9c873a15f55b29112b5527a6cc6898d" shape="rect" coords="572,66,668,90" alt="">
|
|
1380 |
<area href="sdo_8c.html#c6b5d7d1439d537da992a96644a1ca5d" shape="rect" coords="579,191,662,215" alt="">
|
|
1381 |
<area href="sdo_8c.html#58d1f9691977617601beb9e5b4123252" shape="rect" coords="179,290,307,314" alt="">
|
|
1382 |
<area href="sdo_8c.html#acceb714c6e457e98deb9ba164ba2a2f" shape="rect" coords="160,338,326,362" alt="">
|
|
1383 |
<area href="sdo_8c.html#ad6eb8be03b832ebba4dfb87aaba4065" shape="rect" coords="198,386,288,410" alt="">
|
|
1384 |
<area href="sdo_8c.html#29427a80fd1aeabff30bf0602fbc220f" shape="rect" coords="175,434,311,458" alt="">
|
|
1385 |
<area href="sdo_8c.html#2eb5309dca3a7363da5e5e7230b85d58" shape="rect" coords="174,482,312,506" alt="">
|
|
1386 |
<area href="sdo_8c.html#18b6f7e9c9441640a88ffef1e8720694" shape="rect" coords="196,530,290,554" alt="">
|
|
1387 |
<area href="sdo_8c.html#601a837ecb5f21bf4c66b058c5ae7810" shape="rect" coords="162,578,324,602" alt="">
|
|
1388 |
<area href="sdo_8c.html#b26c3f2fb63d81055809d6ccaa785b7c" shape="rect" coords="386,140,506,164" alt="">
|
|
1389 |
<area href="objacces_8c.html#39c263a4bc5d2d824fefe22fdb4c2dac" shape="rect" coords="396,434,495,458" alt="">
|
|
1390 |
<area href="objacces_8c.html#49e9444c8c8d39906a40a153366ed09c" shape="rect" coords="567,434,674,458" alt="">
|
|
1391 |
<area href="objacces_8c.html#75d39b2dadcdb48f7321c6f3766aad26" shape="rect" coords="724,458,892,482" alt="">
|
|
1392 |
<area href="objacces_8c.html#17e598cc1b2e60380e2e4e75afe9b3b0" shape="rect" coords="396,482,495,506" alt="">
|
|
1393 |
<area href="objacces_8c.html#72f69950be4a1352fc78648c71454820" shape="rect" coords="567,482,674,506" alt="">
|
|
1394 |
</map>
|
|
1395 |
|
207
|
1396 |
</div>
|
|
1397 |
</div><p>
|
|
1398 |
<a class="anchor" name="0e102a0835e4115920cd406e80a8d135"></a><!-- doxytag: member="sdo.c::readNetworkDict" ref="0e102a0835e4115920cd406e80a8d135" args="(CO_Data *d, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 dataType)" -->
|
|
1399 |
<div class="memitem">
|
|
1400 |
<div class="memproto">
|
|
1401 |
<table class="memname">
|
|
1402 |
<tr>
|
|
1403 |
<td class="memname">UNS8 readNetworkDict </td>
|
|
1404 |
<td>(</td>
|
|
1405 |
<td class="paramtype">CO_Data * </td>
|
|
1406 |
<td class="paramname"> <em>d</em>, </td>
|
|
1407 |
</tr>
|
|
1408 |
<tr>
|
|
1409 |
<td class="paramkey"></td>
|
|
1410 |
<td></td>
|
|
1411 |
<td class="paramtype">UNS8 </td>
|
|
1412 |
<td class="paramname"> <em>nodeId</em>, </td>
|
|
1413 |
</tr>
|
|
1414 |
<tr>
|
|
1415 |
<td class="paramkey"></td>
|
|
1416 |
<td></td>
|
|
1417 |
<td class="paramtype">UNS16 </td>
|
|
1418 |
<td class="paramname"> <em>index</em>, </td>
|
|
1419 |
</tr>
|
|
1420 |
<tr>
|
|
1421 |
<td class="paramkey"></td>
|
|
1422 |
<td></td>
|
|
1423 |
<td class="paramtype">UNS8 </td>
|
|
1424 |
<td class="paramname"> <em>subIndex</em>, </td>
|
|
1425 |
</tr>
|
|
1426 |
<tr>
|
|
1427 |
<td class="paramkey"></td>
|
|
1428 |
<td></td>
|
|
1429 |
<td class="paramtype">UNS8 </td>
|
|
1430 |
<td class="paramname"> <em>dataType</em></td><td> </td>
|
|
1431 |
</tr>
|
|
1432 |
<tr>
|
|
1433 |
<td></td>
|
|
1434 |
<td>)</td>
|
|
1435 |
<td></td><td></td><td width="100%"></td>
|
|
1436 |
</tr>
|
|
1437 |
</table>
|
|
1438 |
</div>
|
|
1439 |
<div class="memdoc">
|
|
1440 |
|
|
1441 |
<p>
|
210
|
1442 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
1443 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
1444 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
1445 |
<tr><td valign="top"></td><td valign="top"><em>nodeId</em> </td><td></td></tr>
|
|
1446 |
<tr><td valign="top"></td><td valign="top"><em>index</em> </td><td></td></tr>
|
|
1447 |
<tr><td valign="top"></td><td valign="top"><em>subIndex</em> </td><td></td></tr>
|
|
1448 |
<tr><td valign="top"></td><td valign="top"><em>dataType</em> </td><td></td></tr>
|
|
1449 |
</table>
|
|
1450 |
</dl>
|
|
1451 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
1452 |
|
|
1453 |
<p>
|
|
1454 |
Definition at line <a class="el" href="sdo_8c-source.html#l01499">1499</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
1455 |
<p>
|
|
1456 |
References <a class="el" href="sdo_8c-source.html#l01406">_readNetworkDict()</a>.
|
|
1457 |
<p>
|
|
1458 |
Here is the call graph for this function:<p><center><img src="sdo_8c_0e102a0835e4115920cd406e80a8d135_cgraph.png" border="0" usemap="#sdo_8c_0e102a0835e4115920cd406e80a8d135_cgraph_map" alt=""></center>
|
|
1459 |
<map name="sdo_8c_0e102a0835e4115920cd406e80a8d135_cgraph_map">
|
|
1460 |
<area href="sdo_8c.html#4bb4b3cd35af7e7580cffde23e9d3270" shape="rect" coords="191,103,332,127" alt="">
|
|
1461 |
<area href="sdo_8c.html#58d1f9691977617601beb9e5b4123252" shape="rect" coords="389,5,517,29" alt="">
|
|
1462 |
<area href="sdo_8c.html#bb0c376b048ab2c6e0524b135b62376f" shape="rect" coords="383,53,524,77" alt="">
|
|
1463 |
<area href="sdo_8c.html#b9c873a15f55b29112b5527a6cc6898d" shape="rect" coords="575,128,671,152" alt="">
|
|
1464 |
<area href="sdo_8c.html#42d33be015d4c4c83c73f1f0e588f481" shape="rect" coords="399,152,508,176" alt="">
|
|
1465 |
<area href="sdo_8c.html#c6b5d7d1439d537da992a96644a1ca5d" shape="rect" coords="412,200,495,224" alt="">
|
|
1466 |
</map>
|
|
1467 |
|
207
|
1468 |
</div>
|
|
1469 |
</div><p>
|
|
1470 |
<a class="anchor" name="542a5cdd20c00aa130a39fe68295e769"></a><!-- doxytag: member="sdo.c::readNetworkDictCallback" ref="542a5cdd20c00aa130a39fe68295e769" args="(CO_Data *d, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 dataType, SDOCallback_t Callback)" -->
|
|
1471 |
<div class="memitem">
|
|
1472 |
<div class="memproto">
|
|
1473 |
<table class="memname">
|
|
1474 |
<tr>
|
|
1475 |
<td class="memname">UNS8 readNetworkDictCallback </td>
|
|
1476 |
<td>(</td>
|
|
1477 |
<td class="paramtype">CO_Data * </td>
|
|
1478 |
<td class="paramname"> <em>d</em>, </td>
|
|
1479 |
</tr>
|
|
1480 |
<tr>
|
|
1481 |
<td class="paramkey"></td>
|
|
1482 |
<td></td>
|
|
1483 |
<td class="paramtype">UNS8 </td>
|
|
1484 |
<td class="paramname"> <em>nodeId</em>, </td>
|
|
1485 |
</tr>
|
|
1486 |
<tr>
|
|
1487 |
<td class="paramkey"></td>
|
|
1488 |
<td></td>
|
|
1489 |
<td class="paramtype">UNS16 </td>
|
|
1490 |
<td class="paramname"> <em>index</em>, </td>
|
|
1491 |
</tr>
|
|
1492 |
<tr>
|
|
1493 |
<td class="paramkey"></td>
|
|
1494 |
<td></td>
|
|
1495 |
<td class="paramtype">UNS8 </td>
|
|
1496 |
<td class="paramname"> <em>subIndex</em>, </td>
|
|
1497 |
</tr>
|
|
1498 |
<tr>
|
|
1499 |
<td class="paramkey"></td>
|
|
1500 |
<td></td>
|
|
1501 |
<td class="paramtype">UNS8 </td>
|
|
1502 |
<td class="paramname"> <em>dataType</em>, </td>
|
|
1503 |
</tr>
|
|
1504 |
<tr>
|
|
1505 |
<td class="paramkey"></td>
|
|
1506 |
<td></td>
|
|
1507 |
<td class="paramtype">SDOCallback_t </td>
|
|
1508 |
<td class="paramname"> <em>Callback</em></td><td> </td>
|
|
1509 |
</tr>
|
|
1510 |
<tr>
|
|
1511 |
<td></td>
|
|
1512 |
<td>)</td>
|
|
1513 |
<td></td><td></td><td width="100%"></td>
|
|
1514 |
</tr>
|
|
1515 |
</table>
|
|
1516 |
</div>
|
|
1517 |
<div class="memdoc">
|
|
1518 |
|
|
1519 |
<p>
|
210
|
1520 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
1521 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
1522 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
1523 |
<tr><td valign="top"></td><td valign="top"><em>nodeId</em> </td><td></td></tr>
|
|
1524 |
<tr><td valign="top"></td><td valign="top"><em>index</em> </td><td></td></tr>
|
|
1525 |
<tr><td valign="top"></td><td valign="top"><em>subIndex</em> </td><td></td></tr>
|
|
1526 |
<tr><td valign="top"></td><td valign="top"><em>dataType</em> </td><td></td></tr>
|
|
1527 |
<tr><td valign="top"></td><td valign="top"><em>Callback</em> </td><td></td></tr>
|
|
1528 |
</table>
|
|
1529 |
</dl>
|
|
1530 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
1531 |
|
|
1532 |
<p>
|
|
1533 |
Definition at line <a class="el" href="sdo_8c-source.html#l01516">1516</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
1534 |
<p>
|
|
1535 |
References <a class="el" href="sdo_8c-source.html#l01406">_readNetworkDict()</a>.
|
|
1536 |
<p>
|
|
1537 |
Here is the call graph for this function:<p><center><img src="sdo_8c_542a5cdd20c00aa130a39fe68295e769_cgraph.png" border="0" usemap="#sdo_8c_542a5cdd20c00aa130a39fe68295e769_cgraph_map" alt=""></center>
|
|
1538 |
<map name="sdo_8c_542a5cdd20c00aa130a39fe68295e769_cgraph_map">
|
|
1539 |
<area href="sdo_8c.html#4bb4b3cd35af7e7580cffde23e9d3270" shape="rect" coords="247,103,388,127" alt="">
|
|
1540 |
<area href="sdo_8c.html#58d1f9691977617601beb9e5b4123252" shape="rect" coords="445,5,573,29" alt="">
|
|
1541 |
<area href="sdo_8c.html#bb0c376b048ab2c6e0524b135b62376f" shape="rect" coords="439,53,580,77" alt="">
|
|
1542 |
<area href="sdo_8c.html#b9c873a15f55b29112b5527a6cc6898d" shape="rect" coords="631,128,727,152" alt="">
|
|
1543 |
<area href="sdo_8c.html#42d33be015d4c4c83c73f1f0e588f481" shape="rect" coords="455,152,564,176" alt="">
|
|
1544 |
<area href="sdo_8c.html#c6b5d7d1439d537da992a96644a1ca5d" shape="rect" coords="468,200,551,224" alt="">
|
|
1545 |
</map>
|
|
1546 |
|
207
|
1547 |
</div>
|
|
1548 |
</div><p>
|
|
1549 |
<a class="anchor" name="1f4f07eccc4890a11ccf4f632da7740b"></a><!-- doxytag: member="sdo.c::resetSDO" ref="1f4f07eccc4890a11ccf4f632da7740b" args="(CO_Data *d)" -->
|
|
1550 |
<div class="memitem">
|
|
1551 |
<div class="memproto">
|
|
1552 |
<table class="memname">
|
|
1553 |
<tr>
|
|
1554 |
<td class="memname">void resetSDO </td>
|
|
1555 |
<td>(</td>
|
|
1556 |
<td class="paramtype">CO_Data * </td>
|
|
1557 |
<td class="paramname"> <em>d</em> </td>
|
|
1558 |
<td> ) </td>
|
|
1559 |
<td width="100%"></td>
|
|
1560 |
</tr>
|
|
1561 |
</table>
|
|
1562 |
</div>
|
|
1563 |
<div class="memdoc">
|
|
1564 |
|
|
1565 |
<p>
|
210
|
1566 |
Reset all sdo buffers<p>
|
|
1567 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
1568 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
1569 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
1570 |
</table>
|
|
1571 |
</dl>
|
|
1572 |
|
|
1573 |
<p>
|
|
1574 |
transfer structure initialization
|
|
1575 |
<p>
|
|
1576 |
Definition at line <a class="el" href="sdo_8c-source.html#l00169">169</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
1577 |
<p>
|
|
1578 |
References <a class="el" href="sdo_8c-source.html#l00338">resetSDOline()</a>.
|
|
1579 |
<p>
|
|
1580 |
Referenced by <a class="el" href="states_8c-source.html#l00120">switchCommunicationState()</a>.
|
|
1581 |
<p>
|
|
1582 |
Here is the call graph for this function:<p><center><img src="sdo_8c_1f4f07eccc4890a11ccf4f632da7740b_cgraph.png" border="0" usemap="#sdo_8c_1f4f07eccc4890a11ccf4f632da7740b_cgraph_map" alt=""></center>
|
|
1583 |
<map name="sdo_8c_1f4f07eccc4890a11ccf4f632da7740b_cgraph_map">
|
|
1584 |
<area href="sdo_8c.html#42d33be015d4c4c83c73f1f0e588f481" shape="rect" coords="140,6,250,30" alt="">
|
|
1585 |
<area href="sdo_8c.html#b9c873a15f55b29112b5527a6cc6898d" shape="rect" coords="300,6,396,30" alt="">
|
|
1586 |
</map>
|
|
1587 |
|
207
|
1588 |
</div>
|
|
1589 |
</div><p>
|
|
1590 |
<a class="anchor" name="42d33be015d4c4c83c73f1f0e588f481"></a><!-- doxytag: member="sdo.c::resetSDOline" ref="42d33be015d4c4c83c73f1f0e588f481" args="(CO_Data *d, UNS8 line)" -->
|
|
1591 |
<div class="memitem">
|
|
1592 |
<div class="memproto">
|
|
1593 |
<table class="memname">
|
|
1594 |
<tr>
|
|
1595 |
<td class="memname">void resetSDOline </td>
|
|
1596 |
<td>(</td>
|
|
1597 |
<td class="paramtype">CO_Data * </td>
|
|
1598 |
<td class="paramname"> <em>d</em>, </td>
|
|
1599 |
</tr>
|
|
1600 |
<tr>
|
|
1601 |
<td class="paramkey"></td>
|
|
1602 |
<td></td>
|
|
1603 |
<td class="paramtype">UNS8 </td>
|
|
1604 |
<td class="paramname"> <em>line</em></td><td> </td>
|
|
1605 |
</tr>
|
|
1606 |
<tr>
|
|
1607 |
<td></td>
|
|
1608 |
<td>)</td>
|
|
1609 |
<td></td><td></td><td width="100%"></td>
|
|
1610 |
</tr>
|
|
1611 |
</table>
|
|
1612 |
</div>
|
|
1613 |
<div class="memdoc">
|
|
1614 |
|
|
1615 |
<p>
|
210
|
1616 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
1617 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
1618 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
1619 |
<tr><td valign="top"></td><td valign="top"><em>line</em> </td><td></td></tr>
|
|
1620 |
</table>
|
|
1621 |
</dl>
|
|
1622 |
|
|
1623 |
<p>
|
|
1624 |
Definition at line <a class="el" href="sdo_8c-source.html#l00338">338</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
1625 |
<p>
|
|
1626 |
References <a class="el" href="sdo_8c-source.html#l00359">initSDOline()</a>.
|
|
1627 |
<p>
|
|
1628 |
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#l00439">closeSDOtransfer()</a>, <a class="el" href="sdo_8c-source.html#l00307">failedSDO()</a>, <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>, <a class="el" href="sdo_8c-source.html#l00169">resetSDO()</a>, and <a class="el" href="sdo_8c-source.html#l00129">SDOTimeoutAlarm()</a>.
|
|
1629 |
<p>
|
|
1630 |
Here is the call graph for this function:<p><center><img src="sdo_8c_42d33be015d4c4c83c73f1f0e588f481_cgraph.png" border="0" usemap="#sdo_8c_42d33be015d4c4c83c73f1f0e588f481_cgraph_map" alt=""></center>
|
|
1631 |
<map name="sdo_8c_42d33be015d4c4c83c73f1f0e588f481_cgraph_map">
|
|
1632 |
<area href="sdo_8c.html#b9c873a15f55b29112b5527a6cc6898d" shape="rect" coords="167,6,263,30" alt="">
|
|
1633 |
</map>
|
|
1634 |
|
207
|
1635 |
</div>
|
|
1636 |
</div><p>
|
|
1637 |
<a class="anchor" name="2eb5309dca3a7363da5e5e7230b85d58"></a><!-- doxytag: member="sdo.c::SDOlineToObjdict" ref="2eb5309dca3a7363da5e5e7230b85d58" args="(CO_Data *d, UNS8 line)" -->
|
|
1638 |
<div class="memitem">
|
|
1639 |
<div class="memproto">
|
|
1640 |
<table class="memname">
|
|
1641 |
<tr>
|
|
1642 |
<td class="memname">UNS32 SDOlineToObjdict </td>
|
|
1643 |
<td>(</td>
|
|
1644 |
<td class="paramtype">CO_Data * </td>
|
|
1645 |
<td class="paramname"> <em>d</em>, </td>
|
|
1646 |
</tr>
|
|
1647 |
<tr>
|
|
1648 |
<td class="paramkey"></td>
|
|
1649 |
<td></td>
|
|
1650 |
<td class="paramtype">UNS8 </td>
|
|
1651 |
<td class="paramname"> <em>line</em></td><td> </td>
|
|
1652 |
</tr>
|
|
1653 |
<tr>
|
|
1654 |
<td></td>
|
|
1655 |
<td>)</td>
|
|
1656 |
<td></td><td></td><td width="100%"></td>
|
|
1657 |
</tr>
|
|
1658 |
</table>
|
|
1659 |
</div>
|
|
1660 |
<div class="memdoc">
|
|
1661 |
|
|
1662 |
<p>
|
210
|
1663 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
1664 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
1665 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
1666 |
<tr><td valign="top"></td><td valign="top"><em>line</em> </td><td></td></tr>
|
|
1667 |
</table>
|
|
1668 |
</dl>
|
|
1669 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
1670 |
|
|
1671 |
<p>
|
|
1672 |
Definition at line <a class="el" href="sdo_8c-source.html#l00186">186</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
1673 |
<p>
|
|
1674 |
References <a class="el" href="objacces_8c-source.html#l00350">setODentry()</a>.
|
|
1675 |
<p>
|
|
1676 |
Referenced by <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>.
|
|
1677 |
<p>
|
|
1678 |
Here is the call graph for this function:<p><center><img src="sdo_8c_2eb5309dca3a7363da5e5e7230b85d58_cgraph.png" border="0" usemap="#sdo_8c_2eb5309dca3a7363da5e5e7230b85d58_cgraph_map" alt=""></center>
|
|
1679 |
<map name="sdo_8c_2eb5309dca3a7363da5e5e7230b85d58_cgraph_map">
|
|
1680 |
<area href="objacces_8c.html#17e598cc1b2e60380e2e4e75afe9b3b0" shape="rect" coords="192,6,291,30" alt="">
|
|
1681 |
<area href="objacces_8c.html#72f69950be4a1352fc78648c71454820" shape="rect" coords="339,6,445,30" alt="">
|
|
1682 |
<area href="objacces_8c.html#75d39b2dadcdb48f7321c6f3766aad26" shape="rect" coords="495,6,663,30" alt="">
|
|
1683 |
</map>
|
|
1684 |
|
207
|
1685 |
</div>
|
|
1686 |
</div><p>
|
|
1687 |
<a class="anchor" name="9309025e29b59e09026abcd3b45a5b61"></a><!-- doxytag: member="sdo.c::SDOTimeoutAlarm" ref="9309025e29b59e09026abcd3b45a5b61" args="(CO_Data *d, UNS32 id)" -->
|
|
1688 |
<div class="memitem">
|
|
1689 |
<div class="memproto">
|
|
1690 |
<table class="memname">
|
|
1691 |
<tr>
|
|
1692 |
<td class="memname">void SDOTimeoutAlarm </td>
|
|
1693 |
<td>(</td>
|
|
1694 |
<td class="paramtype">CO_Data * </td>
|
|
1695 |
<td class="paramname"> <em>d</em>, </td>
|
|
1696 |
</tr>
|
|
1697 |
<tr>
|
|
1698 |
<td class="paramkey"></td>
|
|
1699 |
<td></td>
|
|
1700 |
<td class="paramtype">UNS32 </td>
|
|
1701 |
<td class="paramname"> <em>id</em></td><td> </td>
|
|
1702 |
</tr>
|
|
1703 |
<tr>
|
|
1704 |
<td></td>
|
|
1705 |
<td>)</td>
|
|
1706 |
<td></td><td></td><td width="100%"></td>
|
|
1707 |
</tr>
|
|
1708 |
</table>
|
|
1709 |
</div>
|
|
1710 |
<div class="memdoc">
|
|
1711 |
|
|
1712 |
<p>
|
210
|
1713 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
1714 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
1715 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
1716 |
<tr><td valign="top"></td><td valign="top"><em>id</em> </td><td></td></tr>
|
|
1717 |
</table>
|
|
1718 |
</dl>
|
|
1719 |
|
|
1720 |
<p>
|
|
1721 |
Definition at line <a class="el" href="sdo_8c-source.html#l00129">129</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
1722 |
<p>
|
|
1723 |
References <a class="el" href="sdo_8c-source.html#l00338">resetSDOline()</a>, and <a class="el" href="sdo_8c-source.html#l00578">sendSDOabort()</a>.
|
|
1724 |
<p>
|
|
1725 |
Here is the call graph for this function:<p><center><img src="sdo_8c_9309025e29b59e09026abcd3b45a5b61_cgraph.png" border="0" usemap="#sdo_8c_9309025e29b59e09026abcd3b45a5b61_cgraph_map" alt=""></center>
|
|
1726 |
<map name="sdo_8c_9309025e29b59e09026abcd3b45a5b61_cgraph_map">
|
|
1727 |
<area href="sdo_8c.html#42d33be015d4c4c83c73f1f0e588f481" shape="rect" coords="205,6,315,30" alt="">
|
|
1728 |
<area href="sdo_8c.html#b26c3f2fb63d81055809d6ccaa785b7c" shape="rect" coords="200,54,320,78" alt="">
|
|
1729 |
<area href="sdo_8c.html#b9c873a15f55b29112b5527a6cc6898d" shape="rect" coords="369,6,465,30" alt="">
|
|
1730 |
<area href="sdo_8c.html#c6b5d7d1439d537da992a96644a1ca5d" shape="rect" coords="376,54,459,78" alt="">
|
|
1731 |
</map>
|
|
1732 |
|
207
|
1733 |
</div>
|
|
1734 |
</div><p>
|
|
1735 |
<a class="anchor" name="18b6f7e9c9441640a88ffef1e8720694"></a><!-- doxytag: member="sdo.c::SDOtoLine" ref="18b6f7e9c9441640a88ffef1e8720694" args="(CO_Data *d, UNS8 line, UNS8 nbBytes, UNS8 *data)" -->
|
|
1736 |
<div class="memitem">
|
|
1737 |
<div class="memproto">
|
|
1738 |
<table class="memname">
|
|
1739 |
<tr>
|
|
1740 |
<td class="memname">UNS8 SDOtoLine </td>
|
|
1741 |
<td>(</td>
|
|
1742 |
<td class="paramtype">CO_Data * </td>
|
|
1743 |
<td class="paramname"> <em>d</em>, </td>
|
|
1744 |
</tr>
|
|
1745 |
<tr>
|
|
1746 |
<td class="paramkey"></td>
|
|
1747 |
<td></td>
|
|
1748 |
<td class="paramtype">UNS8 </td>
|
|
1749 |
<td class="paramname"> <em>line</em>, </td>
|
|
1750 |
</tr>
|
|
1751 |
<tr>
|
|
1752 |
<td class="paramkey"></td>
|
|
1753 |
<td></td>
|
|
1754 |
<td class="paramtype">UNS8 </td>
|
|
1755 |
<td class="paramname"> <em>nbBytes</em>, </td>
|
|
1756 |
</tr>
|
|
1757 |
<tr>
|
|
1758 |
<td class="paramkey"></td>
|
|
1759 |
<td></td>
|
|
1760 |
<td class="paramtype">UNS8 * </td>
|
|
1761 |
<td class="paramname"> <em>data</em></td><td> </td>
|
|
1762 |
</tr>
|
|
1763 |
<tr>
|
|
1764 |
<td></td>
|
|
1765 |
<td>)</td>
|
|
1766 |
<td></td><td></td><td width="100%"></td>
|
|
1767 |
</tr>
|
|
1768 |
</table>
|
|
1769 |
</div>
|
|
1770 |
<div class="memdoc">
|
|
1771 |
|
|
1772 |
<p>
|
210
|
1773 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
1774 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
1775 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
1776 |
<tr><td valign="top"></td><td valign="top"><em>line</em> </td><td></td></tr>
|
|
1777 |
<tr><td valign="top"></td><td valign="top"><em>nbBytes</em> </td><td></td></tr>
|
|
1778 |
<tr><td valign="top"></td><td valign="top"><em>data</em> </td><td></td></tr>
|
|
1779 |
</table>
|
|
1780 |
</dl>
|
|
1781 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
1782 |
|
|
1783 |
<p>
|
|
1784 |
Definition at line <a class="el" href="sdo_8c-source.html#l00279">279</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
1785 |
<p>
|
|
1786 |
Referenced by <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>.
|
207
|
1787 |
</div>
|
|
1788 |
</div><p>
|
|
1789 |
<a class="anchor" name="c6b5d7d1439d537da992a96644a1ca5d"></a><!-- doxytag: member="sdo.c::sendSDO" ref="c6b5d7d1439d537da992a96644a1ca5d" args="(CO_Data *d, UNS8 whoami, s_SDO sdo)" -->
|
|
1790 |
<div class="memitem">
|
|
1791 |
<div class="memproto">
|
|
1792 |
<table class="memname">
|
|
1793 |
<tr>
|
|
1794 |
<td class="memname">UNS8 sendSDO </td>
|
|
1795 |
<td>(</td>
|
|
1796 |
<td class="paramtype">CO_Data * </td>
|
|
1797 |
<td class="paramname"> <em>d</em>, </td>
|
|
1798 |
</tr>
|
|
1799 |
<tr>
|
|
1800 |
<td class="paramkey"></td>
|
|
1801 |
<td></td>
|
|
1802 |
<td class="paramtype">UNS8 </td>
|
|
1803 |
<td class="paramname"> <em>whoami</em>, </td>
|
|
1804 |
</tr>
|
|
1805 |
<tr>
|
|
1806 |
<td class="paramkey"></td>
|
|
1807 |
<td></td>
|
|
1808 |
<td class="paramtype">s_SDO </td>
|
|
1809 |
<td class="paramname"> <em>sdo</em></td><td> </td>
|
|
1810 |
</tr>
|
|
1811 |
<tr>
|
|
1812 |
<td></td>
|
|
1813 |
<td>)</td>
|
|
1814 |
<td></td><td></td><td width="100%"></td>
|
|
1815 |
</tr>
|
|
1816 |
</table>
|
|
1817 |
</div>
|
|
1818 |
<div class="memdoc">
|
|
1819 |
|
|
1820 |
<p>
|
210
|
1821 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
1822 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
1823 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
1824 |
<tr><td valign="top"></td><td valign="top"><em>whoami</em> </td><td></td></tr>
|
|
1825 |
<tr><td valign="top"></td><td valign="top"><em>sdo</em> </td><td></td></tr>
|
|
1826 |
</table>
|
|
1827 |
</dl>
|
|
1828 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
1829 |
|
|
1830 |
<p>
|
|
1831 |
get the server->client cobid<p>
|
|
1832 |
case server. Easy because today only one server SDO is authorized in CanFestival<p>
|
|
1833 |
case client<p>
|
|
1834 |
Get the client->server cobid.<p>
|
|
1835 |
First, have to find at the index where is defined the communication with the server node<p>
|
|
1836 |
Second, read the cobid client->server<p>
|
|
1837 |
message copy for sending<p>
|
|
1838 |
the length of SDO must be 8
|
|
1839 |
<p>
|
|
1840 |
Definition at line <a class="el" href="sdo_8c-source.html#l00498">498</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
1841 |
<p>
|
|
1842 |
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#l00608">proceedSDO()</a>, and <a class="el" href="sdo_8c-source.html#l00578">sendSDOabort()</a>.
|
207
|
1843 |
</div>
|
|
1844 |
</div><p>
|
|
1845 |
<a class="anchor" name="b26c3f2fb63d81055809d6ccaa785b7c"></a><!-- doxytag: member="sdo.c::sendSDOabort" ref="b26c3f2fb63d81055809d6ccaa785b7c" args="(CO_Data *d, UNS8 whoami, UNS16 index, UNS8 subIndex, UNS32 abortCode)" -->
|
|
1846 |
<div class="memitem">
|
|
1847 |
<div class="memproto">
|
|
1848 |
<table class="memname">
|
|
1849 |
<tr>
|
|
1850 |
<td class="memname">UNS8 sendSDOabort </td>
|
|
1851 |
<td>(</td>
|
|
1852 |
<td class="paramtype">CO_Data * </td>
|
|
1853 |
<td class="paramname"> <em>d</em>, </td>
|
|
1854 |
</tr>
|
|
1855 |
<tr>
|
|
1856 |
<td class="paramkey"></td>
|
|
1857 |
<td></td>
|
|
1858 |
<td class="paramtype">UNS8 </td>
|
|
1859 |
<td class="paramname"> <em>whoami</em>, </td>
|
|
1860 |
</tr>
|
|
1861 |
<tr>
|
|
1862 |
<td class="paramkey"></td>
|
|
1863 |
<td></td>
|
|
1864 |
<td class="paramtype">UNS16 </td>
|
|
1865 |
<td class="paramname"> <em>index</em>, </td>
|
|
1866 |
</tr>
|
|
1867 |
<tr>
|
|
1868 |
<td class="paramkey"></td>
|
|
1869 |
<td></td>
|
|
1870 |
<td class="paramtype">UNS8 </td>
|
|
1871 |
<td class="paramname"> <em>subIndex</em>, </td>
|
|
1872 |
</tr>
|
|
1873 |
<tr>
|
|
1874 |
<td class="paramkey"></td>
|
|
1875 |
<td></td>
|
|
1876 |
<td class="paramtype">UNS32 </td>
|
|
1877 |
<td class="paramname"> <em>abortCode</em></td><td> </td>
|
|
1878 |
</tr>
|
|
1879 |
<tr>
|
|
1880 |
<td></td>
|
|
1881 |
<td>)</td>
|
|
1882 |
<td></td><td></td><td width="100%"></td>
|
|
1883 |
</tr>
|
|
1884 |
</table>
|
|
1885 |
</div>
|
|
1886 |
<div class="memdoc">
|
|
1887 |
|
|
1888 |
<p>
|
210
|
1889 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
1890 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
1891 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
1892 |
<tr><td valign="top"></td><td valign="top"><em>whoami</em> </td><td></td></tr>
|
|
1893 |
<tr><td valign="top"></td><td valign="top"><em>index</em> </td><td></td></tr>
|
|
1894 |
<tr><td valign="top"></td><td valign="top"><em>subIndex</em> </td><td></td></tr>
|
|
1895 |
<tr><td valign="top"></td><td valign="top"><em>abortCode</em> </td><td></td></tr>
|
|
1896 |
</table>
|
|
1897 |
</dl>
|
|
1898 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
1899 |
|
|
1900 |
<p>
|
|
1901 |
Definition at line <a class="el" href="sdo_8c-source.html#l00578">578</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
1902 |
<p>
|
|
1903 |
References <a class="el" href="sdo_8c-source.html#l00498">sendSDO()</a>.
|
|
1904 |
<p>
|
|
1905 |
Referenced by <a class="el" href="sdo_8c-source.html#l00307">failedSDO()</a>, and <a class="el" href="sdo_8c-source.html#l00129">SDOTimeoutAlarm()</a>.
|
|
1906 |
<p>
|
|
1907 |
Here is the call graph for this function:<p><center><img src="sdo_8c_b26c3f2fb63d81055809d6ccaa785b7c_cgraph.png" border="0" usemap="#sdo_8c_b26c3f2fb63d81055809d6ccaa785b7c_cgraph_map" alt=""></center>
|
|
1908 |
<map name="sdo_8c_b26c3f2fb63d81055809d6ccaa785b7c_cgraph_map">
|
|
1909 |
<area href="sdo_8c.html#c6b5d7d1439d537da992a96644a1ca5d" shape="rect" coords="175,6,257,30" alt="">
|
|
1910 |
</map>
|
|
1911 |
|
207
|
1912 |
</div>
|
|
1913 |
</div><p>
|
|
1914 |
<a class="anchor" name="601a837ecb5f21bf4c66b058c5ae7810"></a><!-- doxytag: member="sdo.c::setSDOlineRestBytes" ref="601a837ecb5f21bf4c66b058c5ae7810" args="(CO_Data *d, UNS8 line, UNS8 nbBytes)" -->
|
|
1915 |
<div class="memitem">
|
|
1916 |
<div class="memproto">
|
|
1917 |
<table class="memname">
|
|
1918 |
<tr>
|
|
1919 |
<td class="memname">UNS8 setSDOlineRestBytes </td>
|
|
1920 |
<td>(</td>
|
|
1921 |
<td class="paramtype">CO_Data * </td>
|
|
1922 |
<td class="paramname"> <em>d</em>, </td>
|
|
1923 |
</tr>
|
|
1924 |
<tr>
|
|
1925 |
<td class="paramkey"></td>
|
|
1926 |
<td></td>
|
|
1927 |
<td class="paramtype">UNS8 </td>
|
|
1928 |
<td class="paramname"> <em>line</em>, </td>
|
|
1929 |
</tr>
|
|
1930 |
<tr>
|
|
1931 |
<td class="paramkey"></td>
|
|
1932 |
<td></td>
|
|
1933 |
<td class="paramtype">UNS8 </td>
|
|
1934 |
<td class="paramname"> <em>nbBytes</em></td><td> </td>
|
|
1935 |
</tr>
|
|
1936 |
<tr>
|
|
1937 |
<td></td>
|
|
1938 |
<td>)</td>
|
|
1939 |
<td></td><td></td><td width="100%"></td>
|
|
1940 |
</tr>
|
|
1941 |
</table>
|
|
1942 |
</div>
|
|
1943 |
<div class="memdoc">
|
|
1944 |
|
|
1945 |
<p>
|
210
|
1946 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
1947 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
1948 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
1949 |
<tr><td valign="top"></td><td valign="top"><em>line</em> </td><td></td></tr>
|
|
1950 |
<tr><td valign="top"></td><td valign="top"><em>nbBytes</em> </td><td></td></tr>
|
|
1951 |
</table>
|
|
1952 |
</dl>
|
|
1953 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
1954 |
|
|
1955 |
<p>
|
|
1956 |
Definition at line <a class="el" href="sdo_8c-source.html#l00479">479</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
1957 |
<p>
|
|
1958 |
Referenced by <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>.
|
207
|
1959 |
</div>
|
|
1960 |
</div><p>
|
|
1961 |
<a class="anchor" name="bc20ed246e00053dcf71faa8f45ee39c"></a><!-- doxytag: member="sdo.c::writeNetworkDict" ref="bc20ed246e00053dcf71faa8f45ee39c" args="(CO_Data *d, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 count, UNS8 dataType, void *data)" -->
|
|
1962 |
<div class="memitem">
|
|
1963 |
<div class="memproto">
|
|
1964 |
<table class="memname">
|
|
1965 |
<tr>
|
|
1966 |
<td class="memname">UNS8 writeNetworkDict </td>
|
|
1967 |
<td>(</td>
|
|
1968 |
<td class="paramtype">CO_Data * </td>
|
|
1969 |
<td class="paramname"> <em>d</em>, </td>
|
|
1970 |
</tr>
|
|
1971 |
<tr>
|
|
1972 |
<td class="paramkey"></td>
|
|
1973 |
<td></td>
|
|
1974 |
<td class="paramtype">UNS8 </td>
|
|
1975 |
<td class="paramname"> <em>nodeId</em>, </td>
|
|
1976 |
</tr>
|
|
1977 |
<tr>
|
|
1978 |
<td class="paramkey"></td>
|
|
1979 |
<td></td>
|
|
1980 |
<td class="paramtype">UNS16 </td>
|
|
1981 |
<td class="paramname"> <em>index</em>, </td>
|
|
1982 |
</tr>
|
|
1983 |
<tr>
|
|
1984 |
<td class="paramkey"></td>
|
|
1985 |
<td></td>
|
|
1986 |
<td class="paramtype">UNS8 </td>
|
|
1987 |
<td class="paramname"> <em>subIndex</em>, </td>
|
|
1988 |
</tr>
|
|
1989 |
<tr>
|
|
1990 |
<td class="paramkey"></td>
|
|
1991 |
<td></td>
|
|
1992 |
<td class="paramtype">UNS8 </td>
|
|
1993 |
<td class="paramname"> <em>count</em>, </td>
|
|
1994 |
</tr>
|
|
1995 |
<tr>
|
|
1996 |
<td class="paramkey"></td>
|
|
1997 |
<td></td>
|
|
1998 |
<td class="paramtype">UNS8 </td>
|
|
1999 |
<td class="paramname"> <em>dataType</em>, </td>
|
|
2000 |
</tr>
|
|
2001 |
<tr>
|
|
2002 |
<td class="paramkey"></td>
|
|
2003 |
<td></td>
|
|
2004 |
<td class="paramtype">void * </td>
|
|
2005 |
<td class="paramname"> <em>data</em></td><td> </td>
|
|
2006 |
</tr>
|
|
2007 |
<tr>
|
|
2008 |
<td></td>
|
|
2009 |
<td>)</td>
|
|
2010 |
<td></td><td></td><td width="100%"></td>
|
|
2011 |
</tr>
|
|
2012 |
</table>
|
|
2013 |
</div>
|
|
2014 |
<div class="memdoc">
|
|
2015 |
|
|
2016 |
<p>
|
210
|
2017 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
2018 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
2019 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
2020 |
<tr><td valign="top"></td><td valign="top"><em>nodeId</em> </td><td></td></tr>
|
|
2021 |
<tr><td valign="top"></td><td valign="top"><em>index</em> </td><td></td></tr>
|
|
2022 |
<tr><td valign="top"></td><td valign="top"><em>subIndex</em> </td><td></td></tr>
|
|
2023 |
<tr><td valign="top"></td><td valign="top"><em>count</em> </td><td></td></tr>
|
|
2024 |
<tr><td valign="top"></td><td valign="top"><em>dataType</em> </td><td></td></tr>
|
|
2025 |
<tr><td valign="top"></td><td valign="top"><em>data</em> </td><td></td></tr>
|
|
2026 |
</table>
|
|
2027 |
</dl>
|
|
2028 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
2029 |
|
|
2030 |
<p>
|
|
2031 |
Definition at line <a class="el" href="sdo_8c-source.html#l01368">1368</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
2032 |
<p>
|
|
2033 |
References <a class="el" href="sdo_8c-source.html#l01247">_writeNetworkDict()</a>.
|
|
2034 |
<p>
|
|
2035 |
Here is the call graph for this function:<p><center><img src="sdo_8c_bc20ed246e00053dcf71faa8f45ee39c_cgraph.png" border="0" usemap="#sdo_8c_bc20ed246e00053dcf71faa8f45ee39c_cgraph_map" alt=""></center>
|
|
2036 |
<map name="sdo_8c_bc20ed246e00053dcf71faa8f45ee39c_cgraph_map">
|
|
2037 |
<area href="dcf_8c.html#3c07605ffe3ea197aa36e583ef87a20a" shape="rect" coords="192,103,339,127" alt="">
|
|
2038 |
<area href="sdo_8c.html#58d1f9691977617601beb9e5b4123252" shape="rect" coords="395,5,523,29" alt="">
|
|
2039 |
<area href="sdo_8c.html#bb0c376b048ab2c6e0524b135b62376f" shape="rect" coords="388,53,530,77" alt="">
|
|
2040 |
<area href="sdo_8c.html#b9c873a15f55b29112b5527a6cc6898d" shape="rect" coords="580,128,676,152" alt="">
|
|
2041 |
<area href="sdo_8c.html#42d33be015d4c4c83c73f1f0e588f481" shape="rect" coords="404,152,514,176" alt="">
|
|
2042 |
<area href="sdo_8c.html#c6b5d7d1439d537da992a96644a1ca5d" shape="rect" coords="418,200,500,224" alt="">
|
|
2043 |
</map>
|
|
2044 |
|
207
|
2045 |
</div>
|
|
2046 |
</div><p>
|
|
2047 |
<a class="anchor" name="f4ec05293fb8971a1b282994498ed4f5"></a><!-- doxytag: member="sdo.c::writeNetworkDictCallBack" ref="f4ec05293fb8971a1b282994498ed4f5" args="(CO_Data *d, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 count, UNS8 dataType, void *data, SDOCallback_t Callback)" -->
|
|
2048 |
<div class="memitem">
|
|
2049 |
<div class="memproto">
|
|
2050 |
<table class="memname">
|
|
2051 |
<tr>
|
|
2052 |
<td class="memname">UNS8 writeNetworkDictCallBack </td>
|
|
2053 |
<td>(</td>
|
|
2054 |
<td class="paramtype">CO_Data * </td>
|
|
2055 |
<td class="paramname"> <em>d</em>, </td>
|
|
2056 |
</tr>
|
|
2057 |
<tr>
|
|
2058 |
<td class="paramkey"></td>
|
|
2059 |
<td></td>
|
|
2060 |
<td class="paramtype">UNS8 </td>
|
|
2061 |
<td class="paramname"> <em>nodeId</em>, </td>
|
|
2062 |
</tr>
|
|
2063 |
<tr>
|
|
2064 |
<td class="paramkey"></td>
|
|
2065 |
<td></td>
|
|
2066 |
<td class="paramtype">UNS16 </td>
|
|
2067 |
<td class="paramname"> <em>index</em>, </td>
|
|
2068 |
</tr>
|
|
2069 |
<tr>
|
|
2070 |
<td class="paramkey"></td>
|
|
2071 |
<td></td>
|
|
2072 |
<td class="paramtype">UNS8 </td>
|
|
2073 |
<td class="paramname"> <em>subIndex</em>, </td>
|
|
2074 |
</tr>
|
|
2075 |
<tr>
|
|
2076 |
<td class="paramkey"></td>
|
|
2077 |
<td></td>
|
|
2078 |
<td class="paramtype">UNS8 </td>
|
|
2079 |
<td class="paramname"> <em>count</em>, </td>
|
|
2080 |
</tr>
|
|
2081 |
<tr>
|
|
2082 |
<td class="paramkey"></td>
|
|
2083 |
<td></td>
|
|
2084 |
<td class="paramtype">UNS8 </td>
|
|
2085 |
<td class="paramname"> <em>dataType</em>, </td>
|
|
2086 |
</tr>
|
|
2087 |
<tr>
|
|
2088 |
<td class="paramkey"></td>
|
|
2089 |
<td></td>
|
|
2090 |
<td class="paramtype">void * </td>
|
|
2091 |
<td class="paramname"> <em>data</em>, </td>
|
|
2092 |
</tr>
|
|
2093 |
<tr>
|
|
2094 |
<td class="paramkey"></td>
|
|
2095 |
<td></td>
|
|
2096 |
<td class="paramtype">SDOCallback_t </td>
|
|
2097 |
<td class="paramname"> <em>Callback</em></td><td> </td>
|
|
2098 |
</tr>
|
|
2099 |
<tr>
|
|
2100 |
<td></td>
|
|
2101 |
<td>)</td>
|
|
2102 |
<td></td><td></td><td width="100%"></td>
|
|
2103 |
</tr>
|
|
2104 |
</table>
|
|
2105 |
</div>
|
|
2106 |
<div class="memdoc">
|
|
2107 |
|
|
2108 |
<p>
|
210
|
2109 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
2110 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
2111 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
2112 |
<tr><td valign="top"></td><td valign="top"><em>nodeId</em> </td><td></td></tr>
|
|
2113 |
<tr><td valign="top"></td><td valign="top"><em>index</em> </td><td></td></tr>
|
|
2114 |
<tr><td valign="top"></td><td valign="top"><em>subIndex</em> </td><td></td></tr>
|
|
2115 |
<tr><td valign="top"></td><td valign="top"><em>count</em> </td><td></td></tr>
|
|
2116 |
<tr><td valign="top"></td><td valign="top"><em>dataType</em> </td><td></td></tr>
|
|
2117 |
<tr><td valign="top"></td><td valign="top"><em>data</em> </td><td></td></tr>
|
|
2118 |
<tr><td valign="top"></td><td valign="top"><em>Callback</em> </td><td></td></tr>
|
|
2119 |
</table>
|
|
2120 |
</dl>
|
|
2121 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
2122 |
|
|
2123 |
<p>
|
|
2124 |
Definition at line <a class="el" href="sdo_8c-source.html#l01388">1388</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
2125 |
<p>
|
|
2126 |
References <a class="el" href="sdo_8c-source.html#l01247">_writeNetworkDict()</a>.
|
|
2127 |
<p>
|
|
2128 |
Here is the call graph for this function:<p><center><img src="sdo_8c_f4ec05293fb8971a1b282994498ed4f5_cgraph.png" border="0" usemap="#sdo_8c_f4ec05293fb8971a1b282994498ed4f5_cgraph_map" alt=""></center>
|
|
2129 |
<map name="sdo_8c_f4ec05293fb8971a1b282994498ed4f5_cgraph_map">
|
|
2130 |
<area href="dcf_8c.html#3c07605ffe3ea197aa36e583ef87a20a" shape="rect" coords="251,103,397,127" alt="">
|
|
2131 |
<area href="sdo_8c.html#58d1f9691977617601beb9e5b4123252" shape="rect" coords="453,5,581,29" alt="">
|
|
2132 |
<area href="sdo_8c.html#bb0c376b048ab2c6e0524b135b62376f" shape="rect" coords="447,53,588,77" alt="">
|
|
2133 |
<area href="sdo_8c.html#b9c873a15f55b29112b5527a6cc6898d" shape="rect" coords="639,128,735,152" alt="">
|
|
2134 |
<area href="sdo_8c.html#42d33be015d4c4c83c73f1f0e588f481" shape="rect" coords="463,152,572,176" alt="">
|
|
2135 |
<area href="sdo_8c.html#c6b5d7d1439d537da992a96644a1ca5d" shape="rect" coords="476,200,559,224" alt="">
|
|
2136 |
</map>
|
|
2137 |
|
|
2138 |
</div>
|
|
2139 |
</div><p>
|
|
2140 |
<hr size="1"><address style="align: right;"><small>Generated on Tue Jun 5 18:32:09 2007 for CanFestival by
|
207
|
2141 |
<a href="http://www.doxygen.org/index.html">
|
|
2142 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
|
|
2143 |
</body>
|
|
2144 |
</html>
|