Project

General

Profile

Revision 1581

editing wireless branch, added error codes and constants

View differences:

wl__defs_8h.html
25 25
<a href="#_details">More...</a>
26 26
<p>
27 27
<code>#include &lt;stdint.h&gt;</code><br>
28

  
29
<p>
30
<a href="wl__defs_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
28
<table border="0" cellpadding="0" cellspacing="0">
31 29
<tr><td></td></tr>
32 30
<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
33
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="798466231ef137f248b55dbfbce36fd7"></a><!-- doxytag: member="wl_defs.h::WL_ERROR_INIT_FAILED" ref="798466231ef137f248b55dbfbce36fd7" args="" -->
34
#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="wl__defs_8h.html#798466231ef137f248b55dbfbce36fd7">WL_ERROR_INIT_FAILED</a>&nbsp;&nbsp;&nbsp;INT8_C(-1)</td></tr>
31
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="g2b8a799ce85bb21788e58e1c23c16fc0"></a><!-- doxytag: member="wl_defs.h::WL_SUCCESS" ref="g2b8a799ce85bb21788e58e1c23c16fc0" args="" -->
32
#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wl__error.html#g2b8a799ce85bb21788e58e1c23c16fc0">WL_SUCCESS</a>&nbsp;&nbsp;&nbsp;INT8_C(0)</td></tr>
35 33

  
34
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Success. <br></td></tr>
35
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="g798466231ef137f248b55dbfbce36fd7"></a><!-- doxytag: member="wl_defs.h::WL_ERROR_INIT_FAILED" ref="g798466231ef137f248b55dbfbce36fd7" args="" -->
36
#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wl__error.html#g798466231ef137f248b55dbfbce36fd7">WL_ERROR_INIT_FAILED</a>&nbsp;&nbsp;&nbsp;INT8_C(-1)</td></tr>
37

  
36 38
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Error code for init failure. <br></td></tr>
37
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="63e64a790913362ecf505e1a7e8347b8"></a><!-- doxytag: member="wl_defs.h::WL_ERROR_INIT_ALREADY_INITD" ref="63e64a790913362ecf505e1a7e8347b8" args="" -->
38
#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="wl__defs_8h.html#63e64a790913362ecf505e1a7e8347b8">WL_ERROR_INIT_ALREADY_INITD</a>&nbsp;&nbsp;&nbsp;INT8_C(-2)</td></tr>
39
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="g63e64a790913362ecf505e1a7e8347b8"></a><!-- doxytag: member="wl_defs.h::WL_ERROR_INIT_ALREADY_INITD" ref="g63e64a790913362ecf505e1a7e8347b8" args="" -->
40
#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wl__error.html#g63e64a790913362ecf505e1a7e8347b8">WL_ERROR_INIT_ALREADY_INITD</a>&nbsp;&nbsp;&nbsp;INT8_C(-2)</td></tr>
39 41

  
40 42
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Error code for duplicate init calls. <br></td></tr>
41
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="099f03f9edae294ce4989433f73c141e"></a><!-- doxytag: member="wl_defs.h::WL_ERROR_LIBRARY_NOT_INITD" ref="099f03f9edae294ce4989433f73c141e" args="" -->
42
#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="wl__defs_8h.html#099f03f9edae294ce4989433f73c141e">WL_ERROR_LIBRARY_NOT_INITD</a>&nbsp;&nbsp;&nbsp;INT8_C(-3)</td></tr>
43
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="g099f03f9edae294ce4989433f73c141e"></a><!-- doxytag: member="wl_defs.h::WL_ERROR_LIBRARY_NOT_INITD" ref="g099f03f9edae294ce4989433f73c141e" args="" -->
44
#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wl__error.html#g099f03f9edae294ce4989433f73c141e">WL_ERROR_LIBRARY_NOT_INITD</a>&nbsp;&nbsp;&nbsp;INT8_C(-3)</td></tr>
43 45

  
44 46
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Error code for not calling init. <br></td></tr>
47
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="g54de37a8427bf7372cfefa925cd0acf6"></a><!-- doxytag: member="wl_defs.h::WL_ERROR_TERMINATION_FAILED" ref="g54de37a8427bf7372cfefa925cd0acf6" args="" -->
48
#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wl__error.html#g54de37a8427bf7372cfefa925cd0acf6">WL_ERROR_TERMINATION_FAILED</a>&nbsp;&nbsp;&nbsp;INT8_C(-4)</td></tr>
49

  
50
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Error code for failed termination. <br></td></tr>
51
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="g11477a5a024fd6898e4449bf08761207"></a><!-- doxytag: member="wl_defs.h::WL_ERROR_FAILED_REGISTRATION" ref="g11477a5a024fd6898e4449bf08761207" args="" -->
52
#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wl__error.html#g11477a5a024fd6898e4449bf08761207">WL_ERROR_FAILED_REGISTRATION</a>&nbsp;&nbsp;&nbsp;INT8_C(-5)</td></tr>
53

  
54
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Error code for failed packet group registration. <br></td></tr>
55
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="g43f851eae7eed2576351d336001c21d2"></a><!-- doxytag: member="wl_defs.h::WL_ERROR_ARGUMENT" ref="g43f851eae7eed2576351d336001c21d2" args="" -->
56
#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wl__error.html#g43f851eae7eed2576351d336001c21d2">WL_ERROR_ARGUMENT</a>&nbsp;&nbsp;&nbsp;INT8_C(-6)</td></tr>
57

  
58
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Error in arguments. <br></td></tr>
59
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="g2a775d59e55e9435505b4a908c522a0a"></a><!-- doxytag: member="wl_defs.h::WL_ERROR_SEND" ref="g2a775d59e55e9435505b4a908c522a0a" args="" -->
60
#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wl__error.html#g2a775d59e55e9435505b4a908c522a0a">WL_ERROR_SEND</a>&nbsp;&nbsp;&nbsp;INT8_C(-10)</td></tr>
61

  
62
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Error code for send failure. <br></td></tr>
63
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="g4bffaed18853133c76af57b89771b234"></a><!-- doxytag: member="wl_defs.h::WL_ERROR_BAD_GROUP" ref="g4bffaed18853133c76af57b89771b234" args="" -->
64
#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wl__error.html#g4bffaed18853133c76af57b89771b234">WL_ERROR_BAD_GROUP</a>&nbsp;&nbsp;&nbsp;INT8_C(-11)</td></tr>
65

  
66
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Error code for a bad group number. <br></td></tr>
67
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="g76d08a0e32732a63dc93d2cdf95c8fd0"></a><!-- doxytag: member="wl_defs.h::WL_ERROR_SCOPE" ref="g76d08a0e32732a63dc93d2cdf95c8fd0" args="" -->
68
#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wl__error.html#g76d08a0e32732a63dc93d2cdf95c8fd0">WL_ERROR_SCOPE</a>&nbsp;&nbsp;&nbsp;INIT8_C(-12)</td></tr>
69

  
70
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Error code for a bad scope. <br></td></tr>
71
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="g9c528907279e6ace3aae7a7b19ad7687"></a><!-- doxytag: member="wl_defs.h::WL_ERROR_ADDRESS" ref="g9c528907279e6ace3aae7a7b19ad7687" args="" -->
72
#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wl__error.html#g9c528907279e6ace3aae7a7b19ad7687">WL_ERROR_ADDRESS</a>&nbsp;&nbsp;&nbsp;INIT8_C(-13)</td></tr>
73

  
74
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Error code for a bad robot address. <br></td></tr>
75
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="g33881dd2ec8ad0c2f67e40491a2f7c1a"></a><!-- doxytag: member="wl_defs.h::WL_ERROR_MODE" ref="g33881dd2ec8ad0c2f67e40491a2f7c1a" args="" -->
76
#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wl__error.html#g33881dd2ec8ad0c2f67e40491a2f7c1a">WL_ERROR_MODE</a>&nbsp;&nbsp;&nbsp;INIT8_C(-14)</td></tr>
77

  
78
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Error code for a bad mode. <br></td></tr>
45 79
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="eaadbf5f5646a5b3ec10510b93ce2968"></a><!-- doxytag: member="wl_defs.h::WL_DEBUG_PRINT" ref="eaadbf5f5646a5b3ec10510b93ce2968" args="(s)" -->
46 80
#define&nbsp;</td><td class="memItemRight" valign="bottom"><b>WL_DEBUG_PRINT</b>(s)</td></tr>
47 81

  
......
53 87

  
54 88
</table>
55 89
<hr><a name="_details"></a><h2>Detailed Description</h2>
56
Definitions for Wireless. 
57
<p>
58 90
Copyright (c) 2009 Colony Project<p>
59 91
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:<p>
60 92
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.<p>
......
62 94
Contains definitions for wireless, debugging information, etc.<p>
63 95
<dl class="author" compact><dt><b>Author:</b></dt><dd>Colony Project, CMU Robotics Club </dd></dl>
64 96
</div>
65
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Nov 20 21:51:16 2009 for Colony by&nbsp;
97
<hr size="1"><address style="text-align: right;"><small>Generated on Tue Nov 24 12:45:55 2009 for Colony by&nbsp;
66 98
<a href="http://www.doxygen.org/index.html">
67 99
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
68 100
</body>

Also available in: Unified diff