changeset 210 | 6b5a4c21e061 |
parent 207 | b6572d0336c3 |
child 215 | f49e5a6b7804 |
209:2cb34a4ac65a | 210:6b5a4c21e061 |
---|---|
18 <h1>/home/epimerde/documents/tc11/CanFestival-3/src/sdo.c File Reference</h1><code>#include "objacces.h"</code><br> |
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> |
19 <code>#include "sdo.h"</code><br> |
20 <code>#include "canfestival.h"</code><br> |
20 <code>#include "canfestival.h"</code><br> |
21 |
21 |
22 <p> |
22 <p> |
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> |
|
23 <a href="sdo_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> |
26 <a href="sdo_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> |
24 <tr><td></td></tr> |
27 <tr><td></td></tr> |
25 <tr><td colspan="2"><br><h2>Defines</h2></td></tr> |
28 <tr><td colspan="2"><br><h2>Defines</h2></td></tr> |
26 <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> |
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> |
27 |
30 |
101 <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> |
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> |
102 |
105 |
103 <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> |
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> |
104 |
107 |
105 </table> |
108 </table> |
106 <hr><h2>Define Documentation</h2> |
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> |
|
107 <a class="anchor" name="e5a2dafe8497bff1fd88f881ea74414d"></a><!-- doxytag: member="sdo.c::getSDOc" ref="e5a2dafe8497bff1fd88f881ea74414d" args="(byte)" --> |
115 <a class="anchor" name="e5a2dafe8497bff1fd88f881ea74414d"></a><!-- doxytag: member="sdo.c::getSDOc" ref="e5a2dafe8497bff1fd88f881ea74414d" args="(byte)" --> |
108 <div class="memitem"> |
116 <div class="memitem"> |
109 <div class="memproto"> |
117 <div class="memproto"> |
110 <table class="memname"> |
118 <table class="memname"> |
111 <tr> |
119 <tr> |
121 <div class="memdoc"> |
129 <div class="memdoc"> |
122 |
130 |
123 <p> |
131 <p> |
124 Returns the indicator of end transmission from the first byte of the SDO |
132 Returns the indicator of end transmission from the first byte of the SDO |
125 <p> |
133 <p> |
126 Definition at line <a class="el" href="sdo_8c-source.html#l00075">75</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>. |
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>. |
|
127 </div> |
137 </div> |
128 </div><p> |
138 </div><p> |
129 <a class="anchor" name="ce5a1634ff4089db3b228cdd5010c321"></a><!-- doxytag: member="sdo.c::getSDOcs" ref="ce5a1634ff4089db3b228cdd5010c321" args="(byte)" --> |
139 <a class="anchor" name="ce5a1634ff4089db3b228cdd5010c321"></a><!-- doxytag: member="sdo.c::getSDOcs" ref="ce5a1634ff4089db3b228cdd5010c321" args="(byte)" --> |
130 <div class="memitem"> |
140 <div class="memitem"> |
131 <div class="memproto"> |
141 <div class="memproto"> |
143 <div class="memdoc"> |
153 <div class="memdoc"> |
144 |
154 |
145 <p> |
155 <p> |
146 Returns the command specifier (cs, ccs, scs) from the first byte of the SDO |
156 Returns the command specifier (cs, ccs, scs) from the first byte of the SDO |
147 <p> |
157 <p> |
148 Definition at line <a class="el" href="sdo_8c-source.html#l00055">55</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>. |
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>. |
|
149 </div> |
161 </div> |
150 </div><p> |
162 </div><p> |
151 <a class="anchor" name="cf60675f20de8746e279dce3a5c8e3c6"></a><!-- doxytag: member="sdo.c::getSDOe" ref="cf60675f20de8746e279dce3a5c8e3c6" args="(byte)" --> |
163 <a class="anchor" name="cf60675f20de8746e279dce3a5c8e3c6"></a><!-- doxytag: member="sdo.c::getSDOe" ref="cf60675f20de8746e279dce3a5c8e3c6" args="(byte)" --> |
152 <div class="memitem"> |
164 <div class="memitem"> |
153 <div class="memproto"> |
165 <div class="memproto"> |
165 <div class="memdoc"> |
177 <div class="memdoc"> |
166 |
178 |
167 <p> |
179 <p> |
168 Returns the transfer type from the first byte of the SDO |
180 Returns the transfer type from the first byte of the SDO |
169 <p> |
181 <p> |
170 Definition at line <a class="el" href="sdo_8c-source.html#l00067">67</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>. |
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>. |
|
171 </div> |
185 </div> |
172 </div><p> |
186 </div><p> |
173 <a class="anchor" name="d9b34e26bf67f1251f3bb364756e17f1"></a><!-- doxytag: member="sdo.c::getSDOindex" ref="d9b34e26bf67f1251f3bb364756e17f1" args="(byte1, byte2)" --> |
187 <a class="anchor" name="d9b34e26bf67f1251f3bb364756e17f1"></a><!-- doxytag: member="sdo.c::getSDOindex" ref="d9b34e26bf67f1251f3bb364756e17f1" args="(byte1, byte2)" --> |
174 <div class="memitem"> |
188 <div class="memitem"> |
175 <div class="memproto"> |
189 <div class="memproto"> |
190 <div class="memdoc"> |
204 <div class="memdoc"> |
191 |
205 |
192 <p> |
206 <p> |
193 Returns the index from the bytes 1 and 2 of the SDO |
207 Returns the index from the bytes 1 and 2 of the SDO |
194 <p> |
208 <p> |
195 Definition at line <a class="el" href="sdo_8c-source.html#l00083">83</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>. |
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>. |
|
196 </div> |
212 </div> |
197 </div><p> |
213 </div><p> |
198 <a class="anchor" name="dfd3877d80f6b903b491a115e587bd14"></a><!-- doxytag: member="sdo.c::getSDOn2" ref="dfd3877d80f6b903b491a115e587bd14" args="(byte)" --> |
214 <a class="anchor" name="dfd3877d80f6b903b491a115e587bd14"></a><!-- doxytag: member="sdo.c::getSDOn2" ref="dfd3877d80f6b903b491a115e587bd14" args="(byte)" --> |
199 <div class="memitem"> |
215 <div class="memitem"> |
200 <div class="memproto"> |
216 <div class="memproto"> |
212 <div class="memdoc"> |
228 <div class="memdoc"> |
213 |
229 |
214 <p> |
230 <p> |
215 Returns the number of bytes without data from the first byte of the SDO. Coded in 2 bits |
231 Returns the number of bytes without data from the first byte of the SDO. Coded in 2 bits |
216 <p> |
232 <p> |
217 Definition at line <a class="el" href="sdo_8c-source.html#l00059">59</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>. |
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>. |
|
218 </div> |
236 </div> |
219 </div><p> |
237 </div><p> |
220 <a class="anchor" name="e5677ca12bfb71b06cbd6e99e9be0955"></a><!-- doxytag: member="sdo.c::getSDOn3" ref="e5677ca12bfb71b06cbd6e99e9be0955" args="(byte)" --> |
238 <a class="anchor" name="e5677ca12bfb71b06cbd6e99e9be0955"></a><!-- doxytag: member="sdo.c::getSDOn3" ref="e5677ca12bfb71b06cbd6e99e9be0955" args="(byte)" --> |
221 <div class="memitem"> |
239 <div class="memitem"> |
222 <div class="memproto"> |
240 <div class="memproto"> |
234 <div class="memdoc"> |
252 <div class="memdoc"> |
235 |
253 |
236 <p> |
254 <p> |
237 Returns the number of bytes without data from the first byte of the SDO. Coded in 3 bits |
255 Returns the number of bytes without data from the first byte of the SDO. Coded in 3 bits |
238 <p> |
256 <p> |
239 Definition at line <a class="el" href="sdo_8c-source.html#l00063">63</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>. |
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>. |
|
240 </div> |
260 </div> |
241 </div><p> |
261 </div><p> |
242 <a class="anchor" name="f7f9e9bc3d59c9772d4c767b199dcf89"></a><!-- doxytag: member="sdo.c::getSDOs" ref="f7f9e9bc3d59c9772d4c767b199dcf89" args="(byte)" --> |
262 <a class="anchor" name="f7f9e9bc3d59c9772d4c767b199dcf89"></a><!-- doxytag: member="sdo.c::getSDOs" ref="f7f9e9bc3d59c9772d4c767b199dcf89" args="(byte)" --> |
243 <div class="memitem"> |
263 <div class="memitem"> |
244 <div class="memproto"> |
264 <div class="memproto"> |
256 <div class="memdoc"> |
276 <div class="memdoc"> |
257 |
277 |
258 <p> |
278 <p> |
259 Returns the size indicator from the first byte of the SDO |
279 Returns the size indicator from the first byte of the SDO |
260 <p> |
280 <p> |
261 Definition at line <a class="el" href="sdo_8c-source.html#l00071">71</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>. |
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>. |
|
262 </div> |
284 </div> |
263 </div><p> |
285 </div><p> |
264 <a class="anchor" name="52a96f6fa6083f6b291133135b7155a8"></a><!-- doxytag: member="sdo.c::getSDOsubIndex" ref="52a96f6fa6083f6b291133135b7155a8" args="(byte3)" --> |
286 <a class="anchor" name="52a96f6fa6083f6b291133135b7155a8"></a><!-- doxytag: member="sdo.c::getSDOsubIndex" ref="52a96f6fa6083f6b291133135b7155a8" args="(byte3)" --> |
265 <div class="memitem"> |
287 <div class="memitem"> |
266 <div class="memproto"> |
288 <div class="memproto"> |
278 <div class="memdoc"> |
300 <div class="memdoc"> |
279 |
301 |
280 <p> |
302 <p> |
281 Returns the subIndex from the byte 3 of the SDO |
303 Returns the subIndex from the byte 3 of the SDO |
282 <p> |
304 <p> |
283 Definition at line <a class="el" href="sdo_8c-source.html#l00088">88</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>. |
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>. |
|
284 </div> |
308 </div> |
285 </div><p> |
309 </div><p> |
286 <a class="anchor" name="464b29fd628d92426de0a841232bdd12"></a><!-- doxytag: member="sdo.c::getSDOt" ref="464b29fd628d92426de0a841232bdd12" args="(byte)" --> |
310 <a class="anchor" name="464b29fd628d92426de0a841232bdd12"></a><!-- doxytag: member="sdo.c::getSDOt" ref="464b29fd628d92426de0a841232bdd12" args="(byte)" --> |
287 <div class="memitem"> |
311 <div class="memitem"> |
288 <div class="memproto"> |
312 <div class="memproto"> |
300 <div class="memdoc"> |
324 <div class="memdoc"> |
301 |
325 |
302 <p> |
326 <p> |
303 Returns the toggle from the first byte of the SDO |
327 Returns the toggle from the first byte of the SDO |
304 <p> |
328 <p> |
305 Definition at line <a class="el" href="sdo_8c-source.html#l00079">79</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>. |
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>. |
|
306 </div> |
332 </div> |
307 </div><p> |
333 </div><p> |
308 <a class="anchor" name="2eb6f9e0395b47b8d5e3eeae4fe0c116"></a><!-- doxytag: member="sdo.c::INLINE" ref="2eb6f9e0395b47b8d5e3eeae4fe0c116" args="" --> |
334 <a class="anchor" name="2eb6f9e0395b47b8d5e3eeae4fe0c116"></a><!-- doxytag: member="sdo.c::INLINE" ref="2eb6f9e0395b47b8d5e3eeae4fe0c116" args="" --> |
309 <div class="memitem"> |
335 <div class="memitem"> |
310 <div class="memproto"> |
336 <div class="memproto"> |
317 <div class="memdoc"> |
343 <div class="memdoc"> |
318 |
344 |
319 <p> |
345 <p> |
320 |
346 |
321 <p> |
347 <p> |
322 Definition at line <a class="el" href="sdo_8c-source.html#l00034">34</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>. |
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>. |
323 </div> |
349 </div> |
324 </div><p> |
350 </div><p> |
325 <a class="anchor" name="b5ce7bd7fe4169a9f709815f03f9870b"></a><!-- doxytag: member="sdo.c::NO_INLINE" ref="b5ce7bd7fe4169a9f709815f03f9870b" args="" --> |
351 <a class="anchor" name="b5ce7bd7fe4169a9f709815f03f9870b"></a><!-- doxytag: member="sdo.c::NO_INLINE" ref="b5ce7bd7fe4169a9f709815f03f9870b" args="" --> |
326 <div class="memitem"> |
352 <div class="memitem"> |
327 <div class="memproto"> |
353 <div class="memproto"> |
334 <div class="memdoc"> |
360 <div class="memdoc"> |
335 |
361 |
336 <p> |
362 <p> |
337 |
363 |
338 <p> |
364 <p> |
339 Definition at line <a class="el" href="sdo_8c-source.html#l00031">31</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>. |
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>. |
340 </div> |
366 </div> |
341 </div><p> |
367 </div><p> |
342 <a class="anchor" name="b3938a9884014e96cafc42aeee743c0f"></a><!-- doxytag: member="sdo.c::RestartSDO_TIMER" ref="b3938a9884014e96cafc42aeee743c0f" args="(id)" --> |
368 <a class="anchor" name="b3938a9884014e96cafc42aeee743c0f"></a><!-- doxytag: member="sdo.c::RestartSDO_TIMER" ref="b3938a9884014e96cafc42aeee743c0f" args="(id)" --> |
343 <div class="memitem"> |
369 <div class="memitem"> |
344 <div class="memproto"> |
370 <div class="memproto"> |
358 <p> |
384 <p> |
359 <b>Value:</b><div class="fragment"><pre class="fragment">MSG_WAR(0x3A07, <span class="stringliteral">"restartSDO_TIMER for line : "</span>, line);\ |
385 <b>Value:</b><div class="fragment"><pre class="fragment">MSG_WAR(0x3A07, <span class="stringliteral">"restartSDO_TIMER for line : "</span>, line);\ |
360 <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>) } |
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>) } |
361 </pre></div> |
387 </pre></div> |
362 <p> |
388 <p> |
363 Definition at line <a class="el" href="sdo_8c-source.html#l00124">124</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>. |
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>. |
|
364 </div> |
392 </div> |
365 </div><p> |
393 </div><p> |
366 <a class="anchor" name="c1e9eb7a28803b958d298b6997cc60ca"></a><!-- doxytag: member="sdo.c::StartSDO_TIMER" ref="c1e9eb7a28803b958d298b6997cc60ca" args="(id)" --> |
394 <a class="anchor" name="c1e9eb7a28803b958d298b6997cc60ca"></a><!-- doxytag: member="sdo.c::StartSDO_TIMER" ref="c1e9eb7a28803b958d298b6997cc60ca" args="(id)" --> |
367 <div class="memitem"> |
395 <div class="memitem"> |
368 <div class="memproto"> |
396 <div class="memproto"> |
382 <p> |
410 <p> |
383 <b>Value:</b><div class="fragment"><pre class="fragment">MSG_WAR(0x3A06, <span class="stringliteral">"StartSDO_TIMER for line : "</span>, line);\ |
411 <b>Value:</b><div class="fragment"><pre class="fragment">MSG_WAR(0x3A06, <span class="stringliteral">"StartSDO_TIMER for line : "</span>, line);\ |
384 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); |
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); |
385 </pre></div> |
413 </pre></div> |
386 <p> |
414 <p> |
387 Definition at line <a class="el" href="sdo_8c-source.html#l00120">120</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>. |
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>. |
|
388 </div> |
418 </div> |
389 </div><p> |
419 </div><p> |
390 <a class="anchor" name="b90f05aac908e8eee39a34b3e21e0ea9"></a><!-- doxytag: member="sdo.c::StopSDO_TIMER" ref="b90f05aac908e8eee39a34b3e21e0ea9" args="(id)" --> |
420 <a class="anchor" name="b90f05aac908e8eee39a34b3e21e0ea9"></a><!-- doxytag: member="sdo.c::StopSDO_TIMER" ref="b90f05aac908e8eee39a34b3e21e0ea9" args="(id)" --> |
391 <div class="memitem"> |
421 <div class="memitem"> |
392 <div class="memproto"> |
422 <div class="memproto"> |
406 <p> |
436 <p> |
407 <b>Value:</b><div class="fragment"><pre class="fragment">MSG_WAR(0x3A05, <span class="stringliteral">"StopSDO_TIMER for line : "</span>, line);\ |
437 <b>Value:</b><div class="fragment"><pre class="fragment">MSG_WAR(0x3A05, <span class="stringliteral">"StopSDO_TIMER for line : "</span>, line);\ |
408 d->transfers[id].timer = <a class="code" href="timer_8c.html#991b3cfaac2f201b14d5530f75985c21">DelAlarm</a>(d->transfers[<span class="keywordtype">id</span>].timer); |
438 d->transfers[id].timer = <a class="code" href="timer_8c.html#991b3cfaac2f201b14d5530f75985c21">DelAlarm</a>(d->transfers[<span class="keywordtype">id</span>].timer); |
409 </pre></div> |
439 </pre></div> |
410 <p> |
440 <p> |
411 Definition at line <a class="el" href="sdo_8c-source.html#l00116">116</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>. |
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>. |
|
412 </div> |
444 </div> |
413 </div><p> |
445 </div><p> |
414 <hr><h2>Function Documentation</h2> |
446 <hr><h2>Function Documentation</h2> |
415 <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)" --> |
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)" --> |
416 <div class="memitem"> |
448 <div class="memitem"> |
460 </table> |
492 </table> |
461 </div> |
493 </div> |
462 <div class="memdoc"> |
494 <div class="memdoc"> |
463 |
495 |
464 <p> |
496 <p> |
465 Called by readNetworkDict |
497 <dl compact><dt><b>Parameters:</b></dt><dd> |
466 <p> |
498 <table border="0" cellspacing="2" cellpadding="0"> |
467 Definition at line <a class="el" href="sdo_8c-source.html#l01198">1198</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>. |
499 <tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr> |
468 <p> |
500 <tr><td valign="top"></td><td valign="top"><em>nodeId</em> </td><td></td></tr> |
469 References <a class="el" href="sdo_8c-source.html#l00284">getSDOfreeLine()</a>, <a class="el" href="sdo_8c-source.html#l00301">getSDOlineOnUse()</a>, <a class="el" href="sdo_8c-source.html#l00263">initSDOline()</a>, <a class="el" href="sdo_8c-source.html#l00253">resetSDOline()</a>, and <a class="el" href="sdo_8c-source.html#l00354">sendSDO()</a>. |
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 |
|
470 </div> |
531 </div> |
471 </div><p> |
532 </div><p> |
472 <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)" --> |
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)" --> |
473 <div class="memitem"> |
534 <div class="memitem"> |
474 <div class="memproto"> |
535 <div class="memproto"> |
535 </table> |
596 </table> |
536 </div> |
597 </div> |
537 <div class="memdoc"> |
598 <div class="memdoc"> |
538 |
599 |
539 <p> |
600 <p> |
540 Called by writeNetworkDict |
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 |
|
541 </div> |
617 </div> |
542 </div><p> |
618 </div><p> |
543 <a class="anchor" name="555a772d3a88a29c495f33513f8b2d58"></a><!-- doxytag: member="sdo.c::closeSDOtransfer" ref="555a772d3a88a29c495f33513f8b2d58" args="(CO_Data *d, UNS8 nodeId, UNS8 whoami)" --> |
619 <a class="anchor" name="555a772d3a88a29c495f33513f8b2d58"></a><!-- doxytag: member="sdo.c::closeSDOtransfer" ref="555a772d3a88a29c495f33513f8b2d58" args="(CO_Data *d, UNS8 nodeId, UNS8 whoami)" --> |
544 <div class="memitem"> |
620 <div class="memitem"> |
545 <div class="memproto"> |
621 <div class="memproto"> |
570 </table> |
646 </table> |
571 </div> |
647 </div> |
572 <div class="memdoc"> |
648 <div class="memdoc"> |
573 |
649 |
574 <p> |
650 <p> |
575 |
651 <dl compact><dt><b>Parameters:</b></dt><dd> |
576 <p> |
652 <table border="0" cellspacing="2" cellpadding="0"> |
577 Definition at line <a class="el" href="sdo_8c-source.html#l00318">318</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>. |
653 <tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr> |
578 <p> |
654 <tr><td valign="top"></td><td valign="top"><em>nodeId</em> </td><td></td></tr> |
579 References <a class="el" href="sdo_8c-source.html#l00301">getSDOlineOnUse()</a>, and <a class="el" href="sdo_8c-source.html#l00253">resetSDOline()</a>. |
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 |
|
580 </div> |
672 </div> |
581 </div><p> |
673 </div><p> |
582 <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)" --> |
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)" --> |
583 <div class="memitem"> |
675 <div class="memitem"> |
584 <div class="memproto"> |
676 <div class="memproto"> |
627 </table> |
719 </table> |
628 </div> |
720 </div> |
629 <div class="memdoc"> |
721 <div class="memdoc"> |
630 |
722 |
631 <p> |
723 <p> |
632 |
724 <dl compact><dt><b>Parameters:</b></dt><dd> |
633 <p> |
725 <table border="0" cellspacing="2" cellpadding="0"> |
634 Definition at line <a class="el" href="sdo_8c-source.html#l00227">227</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>. |
726 <tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr> |
635 <p> |
727 <tr><td valign="top"></td><td valign="top"><em>nodeId</em> </td><td></td></tr> |
636 References <a class="el" href="sdo_8c-source.html#l00301">getSDOlineOnUse()</a>, <a class="el" href="sdo_8c-source.html#l00253">resetSDOline()</a>, <a class="el" href="sdo_8c-source.html#l00424">sendSDOabort()</a>, and <a class="el" href="sdo_8c-source.html#l00116">StopSDO_TIMER</a>. |
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 |
|
637 </div> |
752 </div> |
638 </div><p> |
753 </div><p> |
639 <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)" --> |
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)" --> |
640 <div class="memitem"> |
755 <div class="memitem"> |
641 <div class="memproto"> |
756 <div class="memproto"> |
678 </table> |
793 </table> |
679 </div> |
794 </div> |
680 <div class="memdoc"> |
795 <div class="memdoc"> |
681 |
796 |
682 <p> |
797 <p> |
683 |
798 <dl compact><dt><b>Parameters:</b></dt><dd> |
684 <p> |
799 <table border="0" cellspacing="2" cellpadding="0"> |
685 Definition at line <a class="el" href="sdo_8c-source.html#l01295">1295</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>. |
800 <tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr> |
686 <p> |
801 <tr><td valign="top"></td><td valign="top"><em>nodeId</em> </td><td></td></tr> |
687 References <a class="el" href="sdo_8c-source.html#l00301">getSDOlineOnUse()</a>. |
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 |
|
688 </div> |
822 </div> |
689 </div><p> |
823 </div><p> |
690 <a class="anchor" name="58d1f9691977617601beb9e5b4123252"></a><!-- doxytag: member="sdo.c::getSDOfreeLine" ref="58d1f9691977617601beb9e5b4123252" args="(CO_Data *d, UNS8 whoami, UNS8 *line)" --> |
824 <a class="anchor" name="58d1f9691977617601beb9e5b4123252"></a><!-- doxytag: member="sdo.c::getSDOfreeLine" ref="58d1f9691977617601beb9e5b4123252" args="(CO_Data *d, UNS8 whoami, UNS8 *line)" --> |
691 <div class="memitem"> |
825 <div class="memitem"> |
692 <div class="memproto"> |
826 <div class="memproto"> |
717 </table> |
851 </table> |
718 </div> |
852 </div> |
719 <div class="memdoc"> |
853 <div class="memdoc"> |
720 |
854 |
721 <p> |
855 <p> |
722 |
856 <dl compact><dt><b>Parameters:</b></dt><dd> |
723 <p> |
857 <table border="0" cellspacing="2" cellpadding="0"> |
724 Definition at line <a class="el" href="sdo_8c-source.html#l00284">284</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>. |
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>. |
|
725 </div> |
869 </div> |
726 </div><p> |
870 </div><p> |
727 <a class="anchor" name="bb0c376b048ab2c6e0524b135b62376f"></a><!-- doxytag: member="sdo.c::getSDOlineOnUse" ref="bb0c376b048ab2c6e0524b135b62376f" args="(CO_Data *d, UNS8 nodeId, UNS8 whoami, UNS8 *line)" --> |
871 <a class="anchor" name="bb0c376b048ab2c6e0524b135b62376f"></a><!-- doxytag: member="sdo.c::getSDOlineOnUse" ref="bb0c376b048ab2c6e0524b135b62376f" args="(CO_Data *d, UNS8 nodeId, UNS8 whoami, UNS8 *line)" --> |
728 <div class="memitem"> |
872 <div class="memitem"> |
729 <div class="memproto"> |
873 <div class="memproto"> |
760 </table> |
904 </table> |
761 </div> |
905 </div> |
762 <div class="memdoc"> |
906 <div class="memdoc"> |
763 |
907 |
764 <p> |
908 <p> |
765 |
909 <dl compact><dt><b>Parameters:</b></dt><dd> |
766 <p> |
910 <table border="0" cellspacing="2" cellpadding="0"> |
767 Definition at line <a class="el" href="sdo_8c-source.html#l00301">301</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>. |
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>. |
|
768 </div> |
923 </div> |
769 </div><p> |
924 </div><p> |
770 <a class="anchor" name="acceb714c6e457e98deb9ba164ba2a2f"></a><!-- doxytag: member="sdo.c::getSDOlineRestBytes" ref="acceb714c6e457e98deb9ba164ba2a2f" args="(CO_Data *d, UNS8 line, UNS8 *nbBytes)" --> |
925 <a class="anchor" name="acceb714c6e457e98deb9ba164ba2a2f"></a><!-- doxytag: member="sdo.c::getSDOlineRestBytes" ref="acceb714c6e457e98deb9ba164ba2a2f" args="(CO_Data *d, UNS8 line, UNS8 *nbBytes)" --> |
771 <div class="memitem"> |
926 <div class="memitem"> |
772 <div class="memproto"> |
927 <div class="memproto"> |
797 </table> |
952 </table> |
798 </div> |
953 </div> |
799 <div class="memdoc"> |
954 <div class="memdoc"> |
800 |
955 |
801 <p> |
956 <p> |
802 |
957 <dl compact><dt><b>Parameters:</b></dt><dd> |
803 <p> |
958 <table border="0" cellspacing="2" cellpadding="0"> |
804 Definition at line <a class="el" href="sdo_8c-source.html#l00332">332</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>. |
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>. |
|
805 </div> |
970 </div> |
806 </div><p> |
971 </div><p> |
807 <a class="anchor" name="8671e306873f19362c60bb50ab930d1d"></a><!-- doxytag: member="sdo.c::getWriteResultNetworkDict" ref="8671e306873f19362c60bb50ab930d1d" args="(CO_Data *d, UNS8 nodeId, UNS32 *abortCode)" --> |
972 <a class="anchor" name="8671e306873f19362c60bb50ab930d1d"></a><!-- doxytag: member="sdo.c::getWriteResultNetworkDict" ref="8671e306873f19362c60bb50ab930d1d" args="(CO_Data *d, UNS8 nodeId, UNS32 *abortCode)" --> |
808 <div class="memitem"> |
973 <div class="memitem"> |
809 <div class="memproto"> |
974 <div class="memproto"> |
834 </table> |
999 </table> |
835 </div> |
1000 </div> |
836 <div class="memdoc"> |
1001 <div class="memdoc"> |
837 |
1002 |
838 <p> |
1003 <p> |
839 |
1004 <dl compact><dt><b>Parameters:</b></dt><dd> |
840 <p> |
1005 <table border="0" cellspacing="2" cellpadding="0"> |
841 Definition at line <a class="el" href="sdo_8c-source.html#l01329">1329</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>. |
1006 <tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr> |
842 <p> |
1007 <tr><td valign="top"></td><td valign="top"><em>nodeId</em> </td><td></td></tr> |
843 References <a class="el" href="sdo_8c-source.html#l00301">getSDOlineOnUse()</a>. |
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 |
|
844 </div> |
1025 </div> |
845 </div><p> |
1026 </div><p> |
846 <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)" --> |
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)" --> |
847 <div class="memitem"> |
1028 <div class="memitem"> |
848 <div class="memproto"> |
1029 <div class="memproto"> |
891 </table> |
1072 </table> |
892 </div> |
1073 </div> |
893 <div class="memdoc"> |
1074 <div class="memdoc"> |
894 |
1075 |
895 <p> |
1076 <p> |
896 |
1077 <dl compact><dt><b>Parameters:</b></dt><dd> |
897 <p> |
1078 <table border="0" cellspacing="2" cellpadding="0"> |
898 Definition at line <a class="el" href="sdo_8c-source.html#l00263">263</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>. |
1079 <tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr> |
899 <p> |
1080 <tr><td valign="top"></td><td valign="top"><em>line</em> </td><td></td></tr> |
900 References <a class="el" href="sdo_8c-source.html#l00120">StartSDO_TIMER</a>, and <a class="el" href="sdo_8c-source.html#l00116">StopSDO_TIMER</a>. |
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>. |
|
901 </div> |
1095 </div> |
902 </div><p> |
1096 </div><p> |
903 <a class="anchor" name="ad6eb8be03b832ebba4dfb87aaba4065"></a><!-- doxytag: member="sdo.c::lineToSDO" ref="ad6eb8be03b832ebba4dfb87aaba4065" args="(CO_Data *d, UNS8 line, UNS8 nbBytes, UNS8 *data)" --> |
1097 <a class="anchor" name="ad6eb8be03b832ebba4dfb87aaba4065"></a><!-- doxytag: member="sdo.c::lineToSDO" ref="ad6eb8be03b832ebba4dfb87aaba4065" args="(CO_Data *d, UNS8 line, UNS8 nbBytes, UNS8 *data)" --> |
904 <div class="memitem"> |
1098 <div class="memitem"> |
905 <div class="memproto"> |
1099 <div class="memproto"> |
936 </table> |
1130 </table> |
937 </div> |
1131 </div> |
938 <div class="memdoc"> |
1132 <div class="memdoc"> |
939 |
1133 |
940 <p> |
1134 <p> |
941 |
1135 <dl compact><dt><b>Parameters:</b></dt><dd> |
942 <p> |
1136 <table border="0" cellspacing="2" cellpadding="0"> |
943 Definition at line <a class="el" href="sdo_8c-source.html#l00189">189</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>. |
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>. |
|
944 </div> |
1149 </div> |
945 </div><p> |
1150 </div><p> |
946 <a class="anchor" name="29427a80fd1aeabff30bf0602fbc220f"></a><!-- doxytag: member="sdo.c::objdictToSDOline" ref="29427a80fd1aeabff30bf0602fbc220f" args="(CO_Data *d, UNS8 line)" --> |
1151 <a class="anchor" name="29427a80fd1aeabff30bf0602fbc220f"></a><!-- doxytag: member="sdo.c::objdictToSDOline" ref="29427a80fd1aeabff30bf0602fbc220f" args="(CO_Data *d, UNS8 line)" --> |
947 <div class="memitem"> |
1152 <div class="memitem"> |
948 <div class="memproto"> |
1153 <div class="memproto"> |
967 </table> |
1172 </table> |
968 </div> |
1173 </div> |
969 <div class="memdoc"> |
1174 <div class="memdoc"> |
970 |
1175 |
971 <p> |
1176 <p> |
972 |
1177 <dl compact><dt><b>Parameters:</b></dt><dd> |
973 <p> |
1178 <table border="0" cellspacing="2" cellpadding="0"> |
974 Definition at line <a class="el" href="sdo_8c-source.html#l00157">157</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>. |
1179 <tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr> |
975 <p> |
1180 <tr><td valign="top"></td><td valign="top"><em>line</em> </td><td></td></tr> |
976 References <a class="el" href="objacces_8c-source.html#l00145">getODentry()</a>. |
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 |
|
977 </div> |
1199 </div> |
978 </div><p> |
1200 </div><p> |
979 <a class="anchor" name="2a93a7c780472b1d8666d89aa270f661"></a><!-- doxytag: member="sdo.c::proceedSDO" ref="2a93a7c780472b1d8666d89aa270f661" args="(CO_Data *d, Message *m)" --> |
1201 <a class="anchor" name="2a93a7c780472b1d8666d89aa270f661"></a><!-- doxytag: member="sdo.c::proceedSDO" ref="2a93a7c780472b1d8666d89aa270f661" args="(CO_Data *d, Message *m)" --> |
980 <div class="memitem"> |
1202 <div class="memitem"> |
981 <div class="memproto"> |
1203 <div class="memproto"> |
1000 </table> |
1222 </table> |
1001 </div> |
1223 </div> |
1002 <div class="memdoc"> |
1224 <div class="memdoc"> |
1003 |
1225 |
1004 <p> |
1226 <p> |
1005 |
1227 <dl compact><dt><b>Parameters:</b></dt><dd> |
1006 <p> |
1228 <table border="0" cellspacing="2" cellpadding="0"> |
1007 Definition at line <a class="el" href="sdo_8c-source.html#l00447">447</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>. |
1229 <tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr> |
1008 <p> |
1230 <tr><td valign="top"></td><td valign="top"><em>m</em> </td><td></td></tr> |
1009 References <a class="el" href="sdo_8c-source.html#l00227">failedSDO()</a>, <a class="el" href="sdo_8c-source.html#l00075">getSDOc</a>, <a class="el" href="sdo_8c-source.html#l00055">getSDOcs</a>, <a class="el" href="sdo_8c-source.html#l00067">getSDOe</a>, <a class="el" href="sdo_8c-source.html#l00284">getSDOfreeLine()</a>, <a class="el" href="sdo_8c-source.html#l00083">getSDOindex</a>, <a class="el" href="sdo_8c-source.html#l00301">getSDOlineOnUse()</a>, <a class="el" href="sdo_8c-source.html#l00332">getSDOlineRestBytes()</a>, <a class="el" href="sdo_8c-source.html#l00059">getSDOn2</a>, <a class="el" href="sdo_8c-source.html#l00063">getSDOn3</a>, <a class="el" href="sdo_8c-source.html#l00071">getSDOs</a>, <a class="el" href="sdo_8c-source.html#l00088">getSDOsubIndex</a>, <a class="el" href="sdo_8c-source.html#l00079">getSDOt</a>, <a class="el" href="sdo_8c-source.html#l00263">initSDOline()</a>, <a class="el" href="sdo_8c-source.html#l00189">lineToSDO()</a>, <a class="el" href="sdo_8c-source.html#l00157">objdictToSDOline()</a>, <a class="el" href="sdo_8c-source.html#l00253">resetSDOline()</a>, <a class="el" href="sdo_8c-source.html#l00124">RestartSDO_TIMER</a>, <a class="el" href="sdo_8c-source.html#l00141">SDOlineToObjdict()</a>, <a class="el" href="sdo_8c-source.html#l00210">SDOtoLine()</a>, <a class="el" href="sdo_8c-source.html#l00354">sendSDO()</a>, <a class="el" href="sdo_8c-source.html#l00342">setSDOlineRestBytes()</a>, and <a class="el" href="sdo_8c-source.html#l00116">StopSDO_TIMER</a>. |
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 |
|
1010 </div> |
1396 </div> |
1011 </div><p> |
1397 </div><p> |
1012 <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)" --> |
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)" --> |
1013 <div class="memitem"> |
1399 <div class="memitem"> |
1014 <div class="memproto"> |
1400 <div class="memproto"> |
1051 </table> |
1437 </table> |
1052 </div> |
1438 </div> |
1053 <div class="memdoc"> |
1439 <div class="memdoc"> |
1054 |
1440 |
1055 <p> |
1441 <p> |
1056 |
1442 <dl compact><dt><b>Parameters:</b></dt><dd> |
1057 <p> |
1443 <table border="0" cellspacing="2" cellpadding="0"> |
1058 Definition at line <a class="el" href="sdo_8c-source.html#l01282">1282</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>. |
1444 <tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr> |
1059 <p> |
1445 <tr><td valign="top"></td><td valign="top"><em>nodeId</em> </td><td></td></tr> |
1060 References <a class="el" href="sdo_8c-source.html#l01198">_readNetworkDict()</a>. |
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 |
|
1061 </div> |
1468 </div> |
1062 </div><p> |
1469 </div><p> |
1063 <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)" --> |
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)" --> |
1064 <div class="memitem"> |
1471 <div class="memitem"> |
1065 <div class="memproto"> |
1472 <div class="memproto"> |
1108 </table> |
1515 </table> |
1109 </div> |
1516 </div> |
1110 <div class="memdoc"> |
1517 <div class="memdoc"> |
1111 |
1518 |
1112 <p> |
1519 <p> |
1113 |
1520 <dl compact><dt><b>Parameters:</b></dt><dd> |
1114 <p> |
1521 <table border="0" cellspacing="2" cellpadding="0"> |
1115 Definition at line <a class="el" href="sdo_8c-source.html#l01288">1288</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>. |
1522 <tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr> |
1116 <p> |
1523 <tr><td valign="top"></td><td valign="top"><em>nodeId</em> </td><td></td></tr> |
1117 References <a class="el" href="sdo_8c-source.html#l01198">_readNetworkDict()</a>. |
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 |
|
1118 </div> |
1547 </div> |
1119 </div><p> |
1548 </div><p> |
1120 <a class="anchor" name="1f4f07eccc4890a11ccf4f632da7740b"></a><!-- doxytag: member="sdo.c::resetSDO" ref="1f4f07eccc4890a11ccf4f632da7740b" args="(CO_Data *d)" --> |
1549 <a class="anchor" name="1f4f07eccc4890a11ccf4f632da7740b"></a><!-- doxytag: member="sdo.c::resetSDO" ref="1f4f07eccc4890a11ccf4f632da7740b" args="(CO_Data *d)" --> |
1121 <div class="memitem"> |
1550 <div class="memitem"> |
1122 <div class="memproto"> |
1551 <div class="memproto"> |
1132 </table> |
1561 </table> |
1133 </div> |
1562 </div> |
1134 <div class="memdoc"> |
1563 <div class="memdoc"> |
1135 |
1564 |
1136 <p> |
1565 <p> |
1137 Reset all sdo buffers |
1566 Reset all sdo buffers<p> |
1138 <p> |
1567 <dl compact><dt><b>Parameters:</b></dt><dd> |
1139 Definition at line <a class="el" href="sdo_8c-source.html#l00131">131</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>. |
1568 <table border="0" cellspacing="2" cellpadding="0"> |
1140 <p> |
1569 <tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr> |
1141 References <a class="el" href="sdo_8c-source.html#l00253">resetSDOline()</a>. |
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 |
|
1142 </div> |
1588 </div> |
1143 </div><p> |
1589 </div><p> |
1144 <a class="anchor" name="42d33be015d4c4c83c73f1f0e588f481"></a><!-- doxytag: member="sdo.c::resetSDOline" ref="42d33be015d4c4c83c73f1f0e588f481" args="(CO_Data *d, UNS8 line)" --> |
1590 <a class="anchor" name="42d33be015d4c4c83c73f1f0e588f481"></a><!-- doxytag: member="sdo.c::resetSDOline" ref="42d33be015d4c4c83c73f1f0e588f481" args="(CO_Data *d, UNS8 line)" --> |
1145 <div class="memitem"> |
1591 <div class="memitem"> |
1146 <div class="memproto"> |
1592 <div class="memproto"> |
1165 </table> |
1611 </table> |
1166 </div> |
1612 </div> |
1167 <div class="memdoc"> |
1613 <div class="memdoc"> |
1168 |
1614 |
1169 <p> |
1615 <p> |
1170 |
1616 <dl compact><dt><b>Parameters:</b></dt><dd> |
1171 <p> |
1617 <table border="0" cellspacing="2" cellpadding="0"> |
1172 Definition at line <a class="el" href="sdo_8c-source.html#l00253">253</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>. |
1618 <tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr> |
1173 <p> |
1619 <tr><td valign="top"></td><td valign="top"><em>line</em> </td><td></td></tr> |
1174 References <a class="el" href="sdo_8c-source.html#l00263">initSDOline()</a>. |
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 |
|
1175 </div> |
1635 </div> |
1176 </div><p> |
1636 </div><p> |
1177 <a class="anchor" name="2eb5309dca3a7363da5e5e7230b85d58"></a><!-- doxytag: member="sdo.c::SDOlineToObjdict" ref="2eb5309dca3a7363da5e5e7230b85d58" args="(CO_Data *d, UNS8 line)" --> |
1637 <a class="anchor" name="2eb5309dca3a7363da5e5e7230b85d58"></a><!-- doxytag: member="sdo.c::SDOlineToObjdict" ref="2eb5309dca3a7363da5e5e7230b85d58" args="(CO_Data *d, UNS8 line)" --> |
1178 <div class="memitem"> |
1638 <div class="memitem"> |
1179 <div class="memproto"> |
1639 <div class="memproto"> |
1198 </table> |
1658 </table> |
1199 </div> |
1659 </div> |
1200 <div class="memdoc"> |
1660 <div class="memdoc"> |
1201 |
1661 |
1202 <p> |
1662 <p> |
1203 |
1663 <dl compact><dt><b>Parameters:</b></dt><dd> |
1204 <p> |
1664 <table border="0" cellspacing="2" cellpadding="0"> |
1205 Definition at line <a class="el" href="sdo_8c-source.html#l00141">141</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>. |
1665 <tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr> |
1206 <p> |
1666 <tr><td valign="top"></td><td valign="top"><em>line</em> </td><td></td></tr> |
1207 References <a class="el" href="objacces_8c-source.html#l00257">setODentry()</a>. |
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 |
|
1208 </div> |
1685 </div> |
1209 </div><p> |
1686 </div><p> |
1210 <a class="anchor" name="9309025e29b59e09026abcd3b45a5b61"></a><!-- doxytag: member="sdo.c::SDOTimeoutAlarm" ref="9309025e29b59e09026abcd3b45a5b61" args="(CO_Data *d, UNS32 id)" --> |
1687 <a class="anchor" name="9309025e29b59e09026abcd3b45a5b61"></a><!-- doxytag: member="sdo.c::SDOTimeoutAlarm" ref="9309025e29b59e09026abcd3b45a5b61" args="(CO_Data *d, UNS32 id)" --> |
1211 <div class="memitem"> |
1688 <div class="memitem"> |
1212 <div class="memproto"> |
1689 <div class="memproto"> |
1231 </table> |
1708 </table> |
1232 </div> |
1709 </div> |
1233 <div class="memdoc"> |
1710 <div class="memdoc"> |
1234 |
1711 |
1235 <p> |
1712 <p> |
1236 |
1713 <dl compact><dt><b>Parameters:</b></dt><dd> |
1237 <p> |
1714 <table border="0" cellspacing="2" cellpadding="0"> |
1238 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>. |
1715 <tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr> |
1239 <p> |
1716 <tr><td valign="top"></td><td valign="top"><em>id</em> </td><td></td></tr> |
1240 References <a class="el" href="sdo_8c-source.html#l00253">resetSDOline()</a>, and <a class="el" href="sdo_8c-source.html#l00424">sendSDOabort()</a>. |
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 |
|
1241 </div> |
1733 </div> |
1242 </div><p> |
1734 </div><p> |
1243 <a class="anchor" name="18b6f7e9c9441640a88ffef1e8720694"></a><!-- doxytag: member="sdo.c::SDOtoLine" ref="18b6f7e9c9441640a88ffef1e8720694" args="(CO_Data *d, UNS8 line, UNS8 nbBytes, UNS8 *data)" --> |
1735 <a class="anchor" name="18b6f7e9c9441640a88ffef1e8720694"></a><!-- doxytag: member="sdo.c::SDOtoLine" ref="18b6f7e9c9441640a88ffef1e8720694" args="(CO_Data *d, UNS8 line, UNS8 nbBytes, UNS8 *data)" --> |
1244 <div class="memitem"> |
1736 <div class="memitem"> |
1245 <div class="memproto"> |
1737 <div class="memproto"> |
1276 </table> |
1768 </table> |
1277 </div> |
1769 </div> |
1278 <div class="memdoc"> |
1770 <div class="memdoc"> |
1279 |
1771 |
1280 <p> |
1772 <p> |
1281 |
1773 <dl compact><dt><b>Parameters:</b></dt><dd> |
1282 <p> |
1774 <table border="0" cellspacing="2" cellpadding="0"> |
1283 Definition at line <a class="el" href="sdo_8c-source.html#l00210">210</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>. |
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>. |
|
1284 </div> |
1787 </div> |
1285 </div><p> |
1788 </div><p> |
1286 <a class="anchor" name="c6b5d7d1439d537da992a96644a1ca5d"></a><!-- doxytag: member="sdo.c::sendSDO" ref="c6b5d7d1439d537da992a96644a1ca5d" args="(CO_Data *d, UNS8 whoami, s_SDO sdo)" --> |
1789 <a class="anchor" name="c6b5d7d1439d537da992a96644a1ca5d"></a><!-- doxytag: member="sdo.c::sendSDO" ref="c6b5d7d1439d537da992a96644a1ca5d" args="(CO_Data *d, UNS8 whoami, s_SDO sdo)" --> |
1287 <div class="memitem"> |
1790 <div class="memitem"> |
1288 <div class="memproto"> |
1791 <div class="memproto"> |
1313 </table> |
1816 </table> |
1314 </div> |
1817 </div> |
1315 <div class="memdoc"> |
1818 <div class="memdoc"> |
1316 |
1819 |
1317 <p> |
1820 <p> |
1318 |
1821 <dl compact><dt><b>Parameters:</b></dt><dd> |
1319 <p> |
1822 <table border="0" cellspacing="2" cellpadding="0"> |
1320 Definition at line <a class="el" href="sdo_8c-source.html#l00354">354</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>. |
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>. |
|
1321 </div> |
1843 </div> |
1322 </div><p> |
1844 </div><p> |
1323 <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)" --> |
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)" --> |
1324 <div class="memitem"> |
1846 <div class="memitem"> |
1325 <div class="memproto"> |
1847 <div class="memproto"> |
1362 </table> |
1884 </table> |
1363 </div> |
1885 </div> |
1364 <div class="memdoc"> |
1886 <div class="memdoc"> |
1365 |
1887 |
1366 <p> |
1888 <p> |
1367 |
1889 <dl compact><dt><b>Parameters:</b></dt><dd> |
1368 <p> |
1890 <table border="0" cellspacing="2" cellpadding="0"> |
1369 Definition at line <a class="el" href="sdo_8c-source.html#l00424">424</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>. |
1891 <tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr> |
1370 <p> |
1892 <tr><td valign="top"></td><td valign="top"><em>whoami</em> </td><td></td></tr> |
1371 References <a class="el" href="sdo_8c-source.html#l00354">sendSDO()</a>. |
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 |
|
1372 </div> |
1912 </div> |
1373 </div><p> |
1913 </div><p> |
1374 <a class="anchor" name="601a837ecb5f21bf4c66b058c5ae7810"></a><!-- doxytag: member="sdo.c::setSDOlineRestBytes" ref="601a837ecb5f21bf4c66b058c5ae7810" args="(CO_Data *d, UNS8 line, UNS8 nbBytes)" --> |
1914 <a class="anchor" name="601a837ecb5f21bf4c66b058c5ae7810"></a><!-- doxytag: member="sdo.c::setSDOlineRestBytes" ref="601a837ecb5f21bf4c66b058c5ae7810" args="(CO_Data *d, UNS8 line, UNS8 nbBytes)" --> |
1375 <div class="memitem"> |
1915 <div class="memitem"> |
1376 <div class="memproto"> |
1916 <div class="memproto"> |
1401 </table> |
1941 </table> |
1402 </div> |
1942 </div> |
1403 <div class="memdoc"> |
1943 <div class="memdoc"> |
1404 |
1944 |
1405 <p> |
1945 <p> |
1406 |
1946 <dl compact><dt><b>Parameters:</b></dt><dd> |
1407 <p> |
1947 <table border="0" cellspacing="2" cellpadding="0"> |
1408 Definition at line <a class="el" href="sdo_8c-source.html#l00342">342</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>. |
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>. |
|
1409 </div> |
1959 </div> |
1410 </div><p> |
1960 </div><p> |
1411 <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)" --> |
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)" --> |
1412 <div class="memitem"> |
1962 <div class="memitem"> |
1413 <div class="memproto"> |
1963 <div class="memproto"> |
1462 </table> |
2012 </table> |
1463 </div> |
2013 </div> |
1464 <div class="memdoc"> |
2014 <div class="memdoc"> |
1465 |
2015 |
1466 <p> |
2016 <p> |
1467 |
2017 <dl compact><dt><b>Parameters:</b></dt><dd> |
1468 <p> |
2018 <table border="0" cellspacing="2" cellpadding="0"> |
1469 Definition at line <a class="el" href="sdo_8c-source.html#l01182">1182</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>. |
2019 <tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr> |
1470 <p> |
2020 <tr><td valign="top"></td><td valign="top"><em>nodeId</em> </td><td></td></tr> |
1471 References <a class="el" href="sdo_8c-source.html#l01072">_writeNetworkDict()</a>. |
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 |
|
1472 </div> |
2045 </div> |
1473 </div><p> |
2046 </div><p> |
1474 <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)" --> |
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)" --> |
1475 <div class="memitem"> |
2048 <div class="memitem"> |
1476 <div class="memproto"> |
2049 <div class="memproto"> |
1531 </table> |
2104 </table> |
1532 </div> |
2105 </div> |
1533 <div class="memdoc"> |
2106 <div class="memdoc"> |
1534 |
2107 |
1535 <p> |
2108 <p> |
1536 |
2109 <dl compact><dt><b>Parameters:</b></dt><dd> |
1537 <p> |
2110 <table border="0" cellspacing="2" cellpadding="0"> |
1538 Definition at line <a class="el" href="sdo_8c-source.html#l01190">1190</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>. |
2111 <tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr> |
1539 <p> |
2112 <tr><td valign="top"></td><td valign="top"><em>nodeId</em> </td><td></td></tr> |
1540 References <a class="el" href="sdo_8c-source.html#l01072">_writeNetworkDict()</a>. |
2113 <tr><td valign="top"></td><td valign="top"><em>index</em> </td><td></td></tr> |
1541 </div> |
2114 <tr><td valign="top"></td><td valign="top"><em>subIndex</em> </td><td></td></tr> |
1542 </div><p> |
2115 <tr><td valign="top"></td><td valign="top"><em>count</em> </td><td></td></tr> |
1543 <hr size="1"><address style="align: right;"><small>Generated on Mon Jun 4 17:09:27 2007 for CanFestival by |
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 |
|
1544 <a href="http://www.doxygen.org/index.html"> |
2141 <a href="http://www.doxygen.org/index.html"> |
1545 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> |
2142 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> |
1546 </body> |
2143 </body> |
1547 </html> |
2144 </html> |