Project

General

Profile

Revision 242

Wireless library licensed.

View differences:

trunk/docs/libwireless/wl__defs_8h-source.html
13 13
    <li class="current"><a href="files.html"><span>Files</span></a></li>
14 14
  </ul>
15 15
</div>
16
<h1>wl_defs.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef WL_DEFS_H</span>
17
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define WL_DEFS_H</span>
18
<a name="l00003"></a>00003 <span class="preprocessor"></span>
19
<a name="l00004"></a>00004 <span class="comment">//comment out this line if using a computer hooked up to an xbee</span>
20
<a name="l00005"></a>00005 <span class="comment">//#define ROBOT</span>
21
<a name="l00006"></a>00006 
22
<a name="l00007"></a>00007 <span class="comment">//uncomment this line for debug information</span>
23
<a name="l00008"></a>00008 <span class="comment">//#define WL_DEBUG</span>
24
<a name="l00009"></a>00009 
25
<a name="l00010"></a>00010 <span class="comment">// Packet Groups and Types</span>
26
<a name="l00011"></a>00011 
27
<a name="l00012"></a>00012 <span class="comment">// Error group</span>
28
<a name="l00013"></a>00013 <span class="preprocessor">#define WL_ERROR_GROUP 1</span>
29
<a name="l00014"></a>00014 <span class="preprocessor"></span>
30
<a name="l00015"></a>00015 <span class="preprocessor">#define WL_ERROR_STRING_TYPE 1</span>
31
<a name="l00016"></a>00016 <span class="preprocessor"></span>
32
<a name="l00017"></a>00017 <span class="comment">// Token Ring group</span>
33
<a name="l00018"></a>00018 <span class="preprocessor">#define WL_TOKEN_RING_GROUP 2</span>
34
<a name="l00019"></a>00019 <span class="preprocessor"></span>
35
<a name="l00020"></a>00020 <span class="preprocessor">#define WL_TOKEN_PASS 1</span>
36
<a name="l00021"></a>00021 <span class="preprocessor"></span><span class="preprocessor">#define WL_TOKEN_BOM_ON 2</span>
37
<a name="l00022"></a>00022 <span class="preprocessor"></span><span class="preprocessor">#define WL_TOKEN_JOIN 3</span>
38
<a name="l00023"></a>00023 <span class="preprocessor"></span><span class="preprocessor">#define WL_TOKEN_JOIN_ACCEPT 4</span>
39
<a name="l00024"></a>00024 <span class="preprocessor"></span>
40
<a name="l00025"></a>00025 <span class="comment">// timing constants</span>
41
<a name="l00026"></a>00026 <span class="preprocessor">#ifndef FIREFLY</span>
42
<a name="l00027"></a>00027 <span class="preprocessor"></span><span class="preprocessor">#define BOM_DELAY 50</span>
43
<a name="l00028"></a>00028 <span class="preprocessor"></span><span class="preprocessor">#else</span>
44
<a name="l00029"></a>00029 <span class="preprocessor"></span><span class="preprocessor">#define BOM_DELAY 100</span>
45
<a name="l00030"></a>00030 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
46
<a name="l00031"></a>00031 <span class="preprocessor"></span>
47
<a name="l00032"></a>00032 <span class="preprocessor">#define DEATH_DELAY 4</span>
48
<a name="l00033"></a>00033 <span class="preprocessor"></span><span class="preprocessor">#define JOIN_DELAY 8</span>
49
<a name="l00034"></a>00034 <span class="preprocessor"></span>
50
<a name="l00035"></a>00035 <span class="comment">// Recharging group</span>
51
<a name="l00036"></a>00036 <span class="preprocessor">#define WL_RECHARGE_GROUP 3</span>
52
<a name="l00037"></a>00037 <span class="preprocessor"></span>
53
<a name="l00038"></a>00038 <span class="preprocessor">#define WL_RECHARGE_POLL_STATIONS 1</span>
54
<a name="l00039"></a>00039 <span class="preprocessor"></span><span class="preprocessor">#define WL_RECHARGE_STATION_AVAILABLE 2</span>
55
<a name="l00040"></a>00040 <span class="preprocessor"></span><span class="preprocessor">#define WL_RECHARGE_REQUEST 3</span>
56
<a name="l00041"></a>00041 <span class="preprocessor"></span><span class="preprocessor">#define WL_RECHARGE_REQUEST_ACCEPT 4</span>
57
<a name="l00042"></a>00042 <span class="preprocessor"></span><span class="preprocessor">#define WL_RECHARGE_VERIFY 5</span>
58
<a name="l00043"></a>00043 <span class="preprocessor"></span><span class="preprocessor">#define WL_RECHARGE_CANCEL 6</span>
59
<a name="l00044"></a>00044 <span class="preprocessor"></span><span class="preprocessor">#define WL_RECHARGE_SEEKING 7</span>
60
<a name="l00045"></a>00045 <span class="preprocessor"></span><span class="preprocessor">#define WL_RECHARGE_DOCKED 8</span>
61
<a name="l00046"></a>00046 <span class="preprocessor"></span>
62
<a name="l00047"></a>00047 <span class="preprocessor">#ifdef WL_DEBUG</span>
63
<a name="l00048"></a>00048 <span class="preprocessor"></span>
64
<a name="l00049"></a>00049 <span class="preprocessor">#ifdef ROBOT</span>
65
<a name="l00050"></a>00050 <span class="preprocessor"></span><span class="preprocessor">#include &lt;serial.h&gt;</span>
66
<a name="l00051"></a>00051 <span class="preprocessor">#endif</span>
67
<a name="l00052"></a>00052 <span class="preprocessor"></span>
68
<a name="l00053"></a>00053 <span class="preprocessor">#ifdef ROBOT</span>
69
<a name="l00054"></a>00054 <span class="preprocessor"></span><span class="preprocessor">#define WL_DEBUG_PRINT( s ) usb_puts( s )</span>
70
<a name="l00055"></a>00055 <span class="preprocessor"></span><span class="preprocessor">#else</span>
71
<a name="l00056"></a>00056 <span class="preprocessor"></span><span class="preprocessor">#define WL_DEBUG_PRINT( s ) printf( s )</span>
72
<a name="l00057"></a>00057 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
73
<a name="l00058"></a>00058 <span class="preprocessor"></span>
74
<a name="l00059"></a>00059 <span class="preprocessor">#ifdef ROBOT</span>
75
<a name="l00060"></a>00060 <span class="preprocessor"></span><span class="preprocessor">#define WL_DEBUG_PRINT_INT( i ) usb_puti(i)</span>
76
<a name="l00061"></a>00061 <span class="preprocessor"></span><span class="preprocessor">#else</span>
77
<a name="l00062"></a>00062 <span class="preprocessor"></span><span class="preprocessor">#define WL_DEBUG_PRINT_INT( i ) printf("%i", i)</span>
78
<a name="l00063"></a>00063 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
79
<a name="l00064"></a>00064 <span class="preprocessor"></span>
80
<a name="l00065"></a>00065 <span class="preprocessor">#else</span>
16
<h1>wl_defs.h</h1><a href="wl__defs_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
17
<a name="l00036"></a>00036 <span class="preprocessor">#ifndef WL_DEFS_H</span>
18
<a name="l00037"></a>00037 <span class="preprocessor"></span><span class="preprocessor">#define WL_DEFS_H</span>
19
<a name="l00038"></a>00038 <span class="preprocessor"></span>
20
<a name="l00039"></a>00039 <span class="comment">//comment out this line if using a computer hooked up to an xbee</span>
21
<a name="l00040"></a>00040 <span class="comment">//#define ROBOT</span>
22
<a name="l00041"></a>00041 
23
<a name="l00042"></a>00042 <span class="comment">//uncomment this line for debug information</span>
24
<a name="l00043"></a>00043 <span class="comment">//#define WL_DEBUG</span>
25
<a name="l00044"></a>00044 
26
<a name="l00045"></a>00045 <span class="comment">// Packet Groups and Types</span>
27
<a name="l00046"></a>00046 
28
<a name="l00047"></a>00047 <span class="comment">// Error group</span>
29
<a name="l00048"></a>00048 <span class="preprocessor">#define WL_ERROR_GROUP 1</span>
30
<a name="l00049"></a>00049 <span class="preprocessor"></span>
31
<a name="l00050"></a>00050 <span class="preprocessor">#define WL_ERROR_STRING_TYPE 1</span>
32
<a name="l00051"></a>00051 <span class="preprocessor"></span>
33
<a name="l00052"></a>00052 <span class="comment">// Token Ring group</span>
34
<a name="l00053"></a>00053 <span class="preprocessor">#define WL_TOKEN_RING_GROUP 2</span>
35
<a name="l00054"></a>00054 <span class="preprocessor"></span>
36
<a name="l00055"></a>00055 <span class="preprocessor">#define WL_TOKEN_PASS 1</span>
37
<a name="l00056"></a>00056 <span class="preprocessor"></span><span class="preprocessor">#define WL_TOKEN_BOM_ON 2</span>
38
<a name="l00057"></a>00057 <span class="preprocessor"></span><span class="preprocessor">#define WL_TOKEN_JOIN 3</span>
39
<a name="l00058"></a>00058 <span class="preprocessor"></span><span class="preprocessor">#define WL_TOKEN_JOIN_ACCEPT 4</span>
40
<a name="l00059"></a>00059 <span class="preprocessor"></span>
41
<a name="l00060"></a>00060 <span class="comment">// timing constants</span>
42
<a name="l00061"></a>00061 <span class="preprocessor">#ifndef FIREFLY</span>
43
<a name="l00062"></a>00062 <span class="preprocessor"></span><span class="preprocessor">#define BOM_DELAY 50</span>
44
<a name="l00063"></a>00063 <span class="preprocessor"></span><span class="preprocessor">#else</span>
45
<a name="l00064"></a>00064 <span class="preprocessor"></span><span class="preprocessor">#define BOM_DELAY 100</span>
46
<a name="l00065"></a>00065 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
81 47
<a name="l00066"></a>00066 <span class="preprocessor"></span>
82
<a name="l00067"></a>00067 <span class="preprocessor">#define WL_DEBUG_PRINT( s )</span>
83
<a name="l00068"></a>00068 <span class="preprocessor"></span><span class="preprocessor">#define WL_DEBUG_PRINT_INT( i )</span>
48
<a name="l00067"></a>00067 <span class="preprocessor">#define DEATH_DELAY 4</span>
49
<a name="l00068"></a>00068 <span class="preprocessor"></span><span class="preprocessor">#define JOIN_DELAY 8</span>
84 50
<a name="l00069"></a>00069 <span class="preprocessor"></span>
85
<a name="l00070"></a>00070 <span class="preprocessor">#endif</span>
86
<a name="l00071"></a>00071 <span class="preprocessor"></span>
87
<a name="l00072"></a>00072 <span class="preprocessor">#endif</span>
88
<a name="l00073"></a>00073 <span class="preprocessor"></span>
89
</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 22:16:24 2007 for libwireless by&nbsp;
51
<a name="l00070"></a>00070 <span class="comment">// Recharging group</span>
52
<a name="l00071"></a>00071 <span class="preprocessor">#define WL_RECHARGE_GROUP 3</span>
53
<a name="l00072"></a>00072 <span class="preprocessor"></span>
54
<a name="l00073"></a>00073 <span class="preprocessor">#define WL_RECHARGE_POLL_STATIONS 1</span>
55
<a name="l00074"></a>00074 <span class="preprocessor"></span><span class="preprocessor">#define WL_RECHARGE_STATION_AVAILABLE 2</span>
56
<a name="l00075"></a>00075 <span class="preprocessor"></span><span class="preprocessor">#define WL_RECHARGE_REQUEST 3</span>
57
<a name="l00076"></a>00076 <span class="preprocessor"></span><span class="preprocessor">#define WL_RECHARGE_REQUEST_ACCEPT 4</span>
58
<a name="l00077"></a>00077 <span class="preprocessor"></span><span class="preprocessor">#define WL_RECHARGE_VERIFY 5</span>
59
<a name="l00078"></a>00078 <span class="preprocessor"></span><span class="preprocessor">#define WL_RECHARGE_CANCEL 6</span>
60
<a name="l00079"></a>00079 <span class="preprocessor"></span><span class="preprocessor">#define WL_RECHARGE_SEEKING 7</span>
61
<a name="l00080"></a>00080 <span class="preprocessor"></span><span class="preprocessor">#define WL_RECHARGE_DOCKED 8</span>
62
<a name="l00081"></a>00081 <span class="preprocessor"></span>
63
<a name="l00082"></a>00082 <span class="preprocessor">#ifdef WL_DEBUG</span>
64
<a name="l00083"></a>00083 <span class="preprocessor"></span>
65
<a name="l00084"></a>00084 <span class="preprocessor">#ifdef ROBOT</span>
66
<a name="l00085"></a>00085 <span class="preprocessor"></span><span class="preprocessor">#include &lt;serial.h&gt;</span>
67
<a name="l00086"></a>00086 <span class="preprocessor">#endif</span>
68
<a name="l00087"></a>00087 <span class="preprocessor"></span>
69
<a name="l00088"></a>00088 <span class="preprocessor">#ifdef ROBOT</span>
70
<a name="l00089"></a>00089 <span class="preprocessor"></span><span class="preprocessor">#define WL_DEBUG_PRINT( s ) usb_puts( s )</span>
71
<a name="l00090"></a>00090 <span class="preprocessor"></span><span class="preprocessor">#else</span>
72
<a name="l00091"></a>00091 <span class="preprocessor"></span><span class="preprocessor">#define WL_DEBUG_PRINT( s ) printf( s )</span>
73
<a name="l00092"></a>00092 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
74
<a name="l00093"></a>00093 <span class="preprocessor"></span>
75
<a name="l00094"></a>00094 <span class="preprocessor">#ifdef ROBOT</span>
76
<a name="l00095"></a>00095 <span class="preprocessor"></span><span class="preprocessor">#define WL_DEBUG_PRINT_INT( i ) usb_puti(i)</span>
77
<a name="l00096"></a>00096 <span class="preprocessor"></span><span class="preprocessor">#else</span>
78
<a name="l00097"></a>00097 <span class="preprocessor"></span><span class="preprocessor">#define WL_DEBUG_PRINT_INT( i ) printf("%i", i)</span>
79
<a name="l00098"></a>00098 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
80
<a name="l00099"></a>00099 <span class="preprocessor"></span>
81
<a name="l00100"></a>00100 <span class="preprocessor">#else</span>
82
<a name="l00101"></a>00101 <span class="preprocessor"></span>
83
<a name="l00102"></a>00102 <span class="preprocessor">#define WL_DEBUG_PRINT( s )</span>
84
<a name="l00103"></a>00103 <span class="preprocessor"></span><span class="preprocessor">#define WL_DEBUG_PRINT_INT( i )</span>
85
<a name="l00104"></a>00104 <span class="preprocessor"></span>
86
<a name="l00105"></a>00105 <span class="preprocessor">#endif</span>
87
<a name="l00106"></a>00106 <span class="preprocessor"></span>
88
<a name="l00107"></a>00107 <span class="preprocessor">#endif</span>
89
<a name="l00108"></a>00108 <span class="preprocessor"></span>
90
</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 23:27:22 2007 for libwireless by&nbsp;
90 91
<a href="http://www.doxygen.org/index.html">
91 92
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
92 93
</body>
trunk/docs/libwireless/queue_8h.html
48 48
<hr><a name="_details"></a><h2>Detailed Description</h2>
49 49
A queue implementation. 
50 50
<p>
51
Copyright (c) 2007 Colony Project<p>
52
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>
53
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.<p>
54
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.<p>
51 55
Implements a queue, a first in, first out data structure.<p>
52
<dl class="author" compact><dt><b>Author:</b></dt><dd>Brian Coltin, Colony Project </dd></dl>
53
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 22:16:24 2007 for libwireless by&nbsp;
56
<dl class="author" compact><dt><b>Author:</b></dt><dd>Brian Coltin, Colony Project, CMU Robotics Club </dd></dl>
57
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 23:27:22 2007 for libwireless by&nbsp;
54 58
<a href="http://www.doxygen.org/index.html">
55 59
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
56 60
</body>
trunk/docs/libwireless/globals_defs.html
50 50
<li>XBEE_TX_STATUS
51 51
: <a class="el" href="group__xbee.html#g7840d8b64c8bec12d8b8d32e845a638a">xbee.h</a>
52 52
</ul>
53
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 22:16:25 2007 for libwireless by&nbsp;
53
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 23:27:23 2007 for libwireless by&nbsp;
54 54
<a href="http://www.doxygen.org/index.html">
55 55
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
56 56
</body>
trunk/docs/libwireless/structPacketGroupHandler.html
133 133
</div><p>
134 134
<hr>The documentation for this struct was generated from the following file:<ul>
135 135
<li><a class="el" href="wireless_8h-source.html">wireless.h</a></ul>
136
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 22:16:25 2007 for libwireless by&nbsp;
136
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 23:27:23 2007 for libwireless by&nbsp;
137 137
<a href="http://www.doxygen.org/index.html">
138 138
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
139 139
</body>
trunk/docs/libwireless/structQueue.html
83 83
</div><p>
84 84
<hr>The documentation for this struct was generated from the following file:<ul>
85 85
<li><a class="el" href="queue_8h-source.html">queue.h</a></ul>
86
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 22:16:25 2007 for libwireless by&nbsp;
86
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 23:27:23 2007 for libwireless by&nbsp;
87 87
<a href="http://www.doxygen.org/index.html">
88 88
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
89 89
</body>
trunk/docs/libwireless/sensor__matrix_8h-source.html
14 14
  </ul>
15 15
</div>
16 16
<h1>sensor_matrix.h</h1><a href="sensor__matrix_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
17
<a name="l00010"></a>00010 <span class="preprocessor">#ifndef SENSOR_MATRIX_H</span>
18
<a name="l00011"></a>00011 <span class="preprocessor"></span><span class="preprocessor">#define SENSOR_MATRIX_H</span>
19
<a name="l00012"></a>00012 <span class="preprocessor"></span>
20
<a name="l00013"></a>00013 
21
<a name="l00029"></a><a class="code" href="structSensorMatrix.html">00029</a> <span class="keyword">typedef</span> <span class="keyword">struct</span>
22
<a name="l00030"></a>00030 {
23
<a name="l00034"></a><a class="code" href="structSensorMatrix.html#0e5b475c074fee8b4a88f05357b310bb">00034</a>         <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> size;
24
<a name="l00039"></a><a class="code" href="structSensorMatrix.html#447a6b27943ac53530de1eb44db3b5e6">00039</a>         <span class="keywordtype">int</span>** matrix;
25
<a name="l00044"></a><a class="code" href="structSensorMatrix.html#9596130da4ab9251db7c0df33b8053d2">00044</a>         <span class="keywordtype">int</span>* joined;
26
<a name="l00048"></a><a class="code" href="structSensorMatrix.html#888d68ace5ba04bfc741241718bc297c">00048</a>         <span class="keywordtype">int</span> numJoined;
27
<a name="l00049"></a>00049 } <a class="code" href="structSensorMatrix.html">SensorMatrix</a>;
28
<a name="l00050"></a>00050 
29
<a name="l00052"></a>00052 <a class="code" href="structSensorMatrix.html">SensorMatrix</a>* <a class="code" href="group__sensormatrix.html#gdac971de8e0df3ed469c1e00b5d68ec3" title="Create a sensor matrix.">sensor_matrix_create</a>(<span class="keywordtype">void</span>);
30
<a name="l00054"></a>00054 <span class="keywordtype">void</span> <a class="code" href="group__sensormatrix.html#g6125c1926243c789c9a22c7b7ca915f7" title="Destroy a sensor matrix.">sensor_matrix_destroy</a>(<a class="code" href="structSensorMatrix.html">SensorMatrix</a>* m);
31
<a name="l00056"></a>00056 <span class="keywordtype">void</span> <a class="code" href="group__sensormatrix.html#g4a8cea8d7401802b8ef4f24768671cdb" title="Add a robot to a sensor matrix.">sensor_matrix_add_robot</a>(<a class="code" href="structSensorMatrix.html">SensorMatrix</a>* m, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <span class="keywordtype">id</span>);
32
<a name="l00058"></a>00058 <span class="keywordtype">void</span> <a class="code" href="group__sensormatrix.html#g616455f4c0801504984cc7f7cf49d980" title="Remove a robot from a sensor matrix.">sensor_matrix_remove_robot</a>(<a class="code" href="structSensorMatrix.html">SensorMatrix</a>* m, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <span class="keywordtype">id</span>);
33
<a name="l00060"></a>00060 <span class="keywordtype">void</span> <a class="code" href="group__sensormatrix.html#g06977570b0c7b9628caeb5de012bbf22" title="Set a reading in a sensor matrix.">sensor_matrix_set_reading</a>(<a class="code" href="structSensorMatrix.html">SensorMatrix</a>* m, <span class="keywordtype">int</span> observer, <span class="keywordtype">int</span> robot, <span class="keywordtype">int</span> reading);
34
<a name="l00062"></a>00062 <span class="keywordtype">int</span> <a class="code" href="group__sensormatrix.html#gf8f7401b00608998b4cca34e3e5690b6" title="Get a reading in a sensor matrix.">sensor_matrix_get_reading</a>(<a class="code" href="structSensorMatrix.html">SensorMatrix</a>* m, <span class="keywordtype">int</span> observer, <span class="keywordtype">int</span> robot);
35
<a name="l00064"></a>00064 <span class="keywordtype">void</span> <a class="code" href="group__sensormatrix.html#ga2039902278b82d75157f5ce30ba24a3" title="Set whether the robot is in the token ring.">sensor_matrix_set_in_ring</a>(<a class="code" href="structSensorMatrix.html">SensorMatrix</a>* m, <span class="keywordtype">int</span> robot, <span class="keywordtype">int</span> in);
36
<a name="l00066"></a>00066 <span class="keywordtype">int</span> <a class="code" href="group__sensormatrix.html#g44d31428ed9c7a0c98e2ecfc74a55469" title="Get whether the robot is in the sensor ring.">sensor_matrix_get_in_ring</a>(<a class="code" href="structSensorMatrix.html">SensorMatrix</a>* m, <span class="keywordtype">int</span> robot);
37
<a name="l00068"></a>00068 <span class="keywordtype">int</span> <a class="code" href="group__sensormatrix.html#g1d799b72ee6274e5064e12e8dd17d493" title="Get the size of the sensor matrix.">sensor_matrix_get_size</a>(<a class="code" href="structSensorMatrix.html">SensorMatrix</a>* m);
38
<a name="l00070"></a>00070 <span class="keywordtype">int</span> <a class="code" href="group__sensormatrix.html#g48353450a17126cffa44bd894f087621" title="Get the number of robots which have joined the token ring.">sensor_matrix_get_joined</a>(<a class="code" href="structSensorMatrix.html">SensorMatrix</a>* m);
39
<a name="l00071"></a>00071  <span class="comment">//end defgroup</span>
40
<a name="l00073"></a>00073 
41
<a name="l00074"></a>00074 
42
<a name="l00075"></a>00075 <span class="preprocessor">#endif</span>
43
</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 22:16:24 2007 for libwireless by&nbsp;
17
<a name="l00035"></a>00035 <span class="preprocessor">#ifndef SENSOR_MATRIX_H</span>
18
<a name="l00036"></a>00036 <span class="preprocessor"></span><span class="preprocessor">#define SENSOR_MATRIX_H</span>
19
<a name="l00037"></a>00037 <span class="preprocessor"></span>
20
<a name="l00038"></a>00038 
21
<a name="l00054"></a><a class="code" href="structSensorMatrix.html">00054</a> <span class="keyword">typedef</span> <span class="keyword">struct</span>
22
<a name="l00055"></a>00055 {
23
<a name="l00059"></a><a class="code" href="structSensorMatrix.html#0e5b475c074fee8b4a88f05357b310bb">00059</a>         <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> size;
24
<a name="l00064"></a><a class="code" href="structSensorMatrix.html#447a6b27943ac53530de1eb44db3b5e6">00064</a>         <span class="keywordtype">int</span>** matrix;
25
<a name="l00069"></a><a class="code" href="structSensorMatrix.html#9596130da4ab9251db7c0df33b8053d2">00069</a>         <span class="keywordtype">int</span>* joined;
26
<a name="l00073"></a><a class="code" href="structSensorMatrix.html#888d68ace5ba04bfc741241718bc297c">00073</a>         <span class="keywordtype">int</span> numJoined;
27
<a name="l00074"></a>00074 } <a class="code" href="structSensorMatrix.html">SensorMatrix</a>;
28
<a name="l00075"></a>00075 
29
<a name="l00077"></a>00077 <a class="code" href="structSensorMatrix.html">SensorMatrix</a>* <a class="code" href="group__sensormatrix.html#gdac971de8e0df3ed469c1e00b5d68ec3" title="Create a sensor matrix.">sensor_matrix_create</a>(<span class="keywordtype">void</span>);
30
<a name="l00079"></a>00079 <span class="keywordtype">void</span> <a class="code" href="group__sensormatrix.html#g6125c1926243c789c9a22c7b7ca915f7" title="Destroy a sensor matrix.">sensor_matrix_destroy</a>(<a class="code" href="structSensorMatrix.html">SensorMatrix</a>* m);
31
<a name="l00081"></a>00081 <span class="keywordtype">void</span> <a class="code" href="group__sensormatrix.html#g4a8cea8d7401802b8ef4f24768671cdb" title="Add a robot to a sensor matrix.">sensor_matrix_add_robot</a>(<a class="code" href="structSensorMatrix.html">SensorMatrix</a>* m, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <span class="keywordtype">id</span>);
32
<a name="l00083"></a>00083 <span class="keywordtype">void</span> <a class="code" href="group__sensormatrix.html#g616455f4c0801504984cc7f7cf49d980" title="Remove a robot from a sensor matrix.">sensor_matrix_remove_robot</a>(<a class="code" href="structSensorMatrix.html">SensorMatrix</a>* m, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <span class="keywordtype">id</span>);
33
<a name="l00085"></a>00085 <span class="keywordtype">void</span> <a class="code" href="group__sensormatrix.html#g06977570b0c7b9628caeb5de012bbf22" title="Set a reading in a sensor matrix.">sensor_matrix_set_reading</a>(<a class="code" href="structSensorMatrix.html">SensorMatrix</a>* m, <span class="keywordtype">int</span> observer, <span class="keywordtype">int</span> robot, <span class="keywordtype">int</span> reading);
34
<a name="l00087"></a>00087 <span class="keywordtype">int</span> <a class="code" href="group__sensormatrix.html#gf8f7401b00608998b4cca34e3e5690b6" title="Get a reading in a sensor matrix.">sensor_matrix_get_reading</a>(<a class="code" href="structSensorMatrix.html">SensorMatrix</a>* m, <span class="keywordtype">int</span> observer, <span class="keywordtype">int</span> robot);
35
<a name="l00089"></a>00089 <span class="keywordtype">void</span> <a class="code" href="group__sensormatrix.html#ga2039902278b82d75157f5ce30ba24a3" title="Set whether the robot is in the token ring.">sensor_matrix_set_in_ring</a>(<a class="code" href="structSensorMatrix.html">SensorMatrix</a>* m, <span class="keywordtype">int</span> robot, <span class="keywordtype">int</span> in);
36
<a name="l00091"></a>00091 <span class="keywordtype">int</span> <a class="code" href="group__sensormatrix.html#g44d31428ed9c7a0c98e2ecfc74a55469" title="Get whether the robot is in the sensor ring.">sensor_matrix_get_in_ring</a>(<a class="code" href="structSensorMatrix.html">SensorMatrix</a>* m, <span class="keywordtype">int</span> robot);
37
<a name="l00093"></a>00093 <span class="keywordtype">int</span> <a class="code" href="group__sensormatrix.html#g1d799b72ee6274e5064e12e8dd17d493" title="Get the size of the sensor matrix.">sensor_matrix_get_size</a>(<a class="code" href="structSensorMatrix.html">SensorMatrix</a>* m);
38
<a name="l00095"></a>00095 <span class="keywordtype">int</span> <a class="code" href="group__sensormatrix.html#g48353450a17126cffa44bd894f087621" title="Get the number of robots which have joined the token ring.">sensor_matrix_get_joined</a>(<a class="code" href="structSensorMatrix.html">SensorMatrix</a>* m);
39
<a name="l00096"></a>00096  <span class="comment">//end defgroup</span>
40
<a name="l00098"></a>00098 
41
<a name="l00099"></a>00099 
42
<a name="l00100"></a>00100 <span class="preprocessor">#endif</span>
43
</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 23:27:22 2007 for libwireless by&nbsp;
44 44
<a href="http://www.doxygen.org/index.html">
45 45
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
46 46
</body>
trunk/docs/libwireless/wireless_8h-source.html
14 14
  </ul>
15 15
</div>
16 16
<h1>wireless.h</h1><a href="wireless_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
17
<a name="l00010"></a>00010 <span class="preprocessor">#ifndef WIRELESS_H</span>
18
<a name="l00011"></a>00011 <span class="preprocessor"></span><span class="preprocessor">#define WIRELESS_H</span>
19
<a name="l00012"></a>00012 <span class="preprocessor"></span> 
20
<a name="l00013"></a>00013 <span class="comment">//Note: If this is raised above 16, we will need to do</span>
21
<a name="l00014"></a>00014 <span class="comment">//something about frame numbers for TX Status packets.</span>
22
<a name="l00018"></a><a class="code" href="wireless_8h.html#f083cc95511287866eeb4337fdc75eeb">00018</a> <span class="comment"></span><span class="preprocessor">#define WL_MAX_PACKET_GROUPS 16</span>
23
<a name="l00019"></a>00019 <span class="preprocessor"></span>
24
<a name="l00050"></a><a class="code" href="structPacketGroupHandler.html">00050</a> <span class="keyword">typedef</span> <span class="keyword">struct</span>
25
<a name="l00051"></a>00051 {
26
<a name="l00057"></a><a class="code" href="structPacketGroupHandler.html#f0849c643f1b1e257ccfe96110109950">00057</a>         <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> groupCode;
27
<a name="l00058"></a>00058 
28
<a name="l00063"></a>00063         void (*timeout_handler) (void);
29
<a name="l00064"></a>00064         
30
<a name="l00074"></a>00074         void (*handle_response) (<span class="keywordtype">int</span> frame, <span class="keywordtype">int</span> received);
31
<a name="l00075"></a>00075         
32
<a name="l00085"></a>00085         void (*handle_receive) (<span class="keywordtype">char</span> type, <span class="keywordtype">int</span> source, <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>* packet,
33
<a name="l00086"></a>00086                                                         <span class="keywordtype">int</span> length);
34
<a name="l00087"></a>00087         
35
<a name="l00091"></a>00091         void (*unregister) (void);
36
<a name="l00092"></a>00092         
37
<a name="l00093"></a>00093 } <a class="code" href="structPacketGroupHandler.html">PacketGroupHandler</a>;
38
<a name="l00094"></a>00094 
39
<a name="l00096"></a>00096 <span class="keywordtype">void</span> <a class="code" href="group__wireless.html#g629ceefdf83847af356d90e2df27041c" title="Initialize the wireless library.">wl_init</a>(<span class="keywordtype">void</span>);
40
<a name="l00098"></a>00098 <span class="keywordtype">void</span> <a class="code" href="group__wireless.html#g66075ff87a1c9f2c0d7938a26c7830f2" title="Uninitialize the wireless library.">wl_terminate</a>(<span class="keywordtype">void</span>);
41
<a name="l00100"></a>00100 <span class="keywordtype">void</span> <a class="code" href="group__wireless.html#g5c1f1a0e20fc718e59edc29246afd703" title="Perform wireless library functionality.">wl_do</a>(<span class="keywordtype">void</span>);
42
<a name="l00102"></a>00102 <span class="keywordtype">void</span> <a class="code" href="group__wireless.html#g183343ed0594ec1c2b79bb4085d57107" title="Register a packet group with the wireless library.">wl_register_packet_group</a>(<a class="code" href="structPacketGroupHandler.html">PacketGroupHandler</a>* h);
43
<a name="l00104"></a>00104 <span class="keywordtype">void</span> <a class="code" href="group__wireless.html#gcdbedf6465798abc7af3bf5fea3d4dd7" title="Unregister a packet group with the wireless library.">wl_unregister_packet_group</a>(<a class="code" href="structPacketGroupHandler.html">PacketGroupHandler</a>* h);
44
<a name="l00105"></a>00105 
45
<a name="l00107"></a>00107 <span class="keywordtype">void</span> <a class="code" href="group__wireless.html#ga7175b13dbfc0b11b341fbe0ad7c637c" title="Send a packet to a specific robot in any PAN.">wl_send_robot_to_robot_global_packet</a>(<span class="keywordtype">char</span> group, <span class="keywordtype">char</span> type,
46
<a name="l00108"></a>00108                 <span class="keywordtype">char</span>* data, <span class="keywordtype">int</span> len, <span class="keywordtype">int</span> dest, <span class="keywordtype">char</span> frame);
47
<a name="l00110"></a>00110 <span class="keywordtype">void</span> <a class="code" href="group__wireless.html#gafaca74445d215cef2b2e0ae1a1c72ba" title="Send a packet to a specific robot in our PAN.">wl_send_robot_to_robot_packet</a>(<span class="keywordtype">char</span> group, <span class="keywordtype">char</span> type,
48
<a name="l00111"></a>00111                 <span class="keywordtype">char</span>* data, <span class="keywordtype">int</span> len, <span class="keywordtype">int</span> dest, <span class="keywordtype">char</span> frame);
49
<a name="l00113"></a>00113 <span class="keywordtype">void</span> <a class="code" href="group__wireless.html#gdd534c99c49d5207fe09f02af304c1ad" title="Send a packet to all robots.">wl_send_global_packet</a>(<span class="keywordtype">char</span> group, <span class="keywordtype">char</span> type,
50
<a name="l00114"></a>00114                 <span class="keywordtype">char</span>* data, <span class="keywordtype">int</span> len, <span class="keywordtype">char</span> frame);
51
<a name="l00116"></a>00116 <span class="keywordtype">void</span> <a class="code" href="group__wireless.html#g0a1a0e4d885f0e0dde87160a16daa0aa" title="Send a packet to all robots in our PAN.">wl_send_pan_packet</a>(<span class="keywordtype">char</span> group, <span class="keywordtype">char</span> type,
52
<a name="l00117"></a>00117                 <span class="keywordtype">char</span>* data, <span class="keywordtype">int</span> len, <span class="keywordtype">char</span> frame);
53
<a name="l00118"></a>00118 
54
<a name="l00120"></a>00120 <span class="keywordtype">void</span> <a class="code" href="group__wireless.html#g211ccf907dce4493813573e20264e542" title="Set the PAN we are using.">wl_set_pan</a>(<span class="keywordtype">int</span> pan);
55
<a name="l00122"></a>00122 <span class="keywordtype">int</span> <a class="code" href="group__wireless.html#g4e6b5c97d40a8e7557a1b4b90a7d34f7" title="Get the PAN we are using.">wl_get_pan</a>(<span class="keywordtype">void</span>);
56
<a name="l00124"></a>00124 <span class="keywordtype">void</span> <a class="code" href="group__wireless.html#g9aac809e57c9eb93a2905ed544c93aba" title="Set the channel we are using.">wl_set_channel</a>(<span class="keywordtype">int</span> channel);
57
<a name="l00126"></a>00126 <span class="keywordtype">int</span> <a class="code" href="group__wireless.html#g2d65d3e35b193da4213755c4bf61ab6b" title="Get the channel we are using.">wl_get_channel</a>(<span class="keywordtype">void</span>);
58
<a name="l00128"></a>00128 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="group__wireless.html#g90cb41c855ac3da028e8f1278bd49f4f" title="Get the 16-bit address of the XBee module.">wl_get_xbee_id</a>(<span class="keywordtype">void</span>);
59
<a name="l00130"></a>00130 <span class="keywordtype">void</span> <a class="code" href="group__wireless.html#g344dead0023100eb40f8670a92c9ce5c" title="Set the com port on a computer, undefined on the robot.">wl_set_com_port</a>(<span class="keywordtype">char</span>* port);
60
<a name="l00131"></a>00131  <span class="comment">// end defgroup</span>
61
<a name="l00133"></a>00133 
62
<a name="l00134"></a>00134 <span class="preprocessor">#endif</span>
63
<a name="l00135"></a>00135 <span class="preprocessor"></span>
64
</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 22:16:24 2007 for libwireless by&nbsp;
17
<a name="l00035"></a>00035 <span class="preprocessor">#ifndef WIRELESS_H</span>
18
<a name="l00036"></a>00036 <span class="preprocessor"></span><span class="preprocessor">#define WIRELESS_H</span>
19
<a name="l00037"></a>00037 <span class="preprocessor"></span> 
20
<a name="l00038"></a>00038 <span class="comment">//Note: If this is raised above 16, we will need to do</span>
21
<a name="l00039"></a>00039 <span class="comment">//something about frame numbers for TX Status packets.</span>
22
<a name="l00043"></a><a class="code" href="wireless_8h.html#f083cc95511287866eeb4337fdc75eeb">00043</a> <span class="comment"></span><span class="preprocessor">#define WL_MAX_PACKET_GROUPS 16</span>
23
<a name="l00044"></a>00044 <span class="preprocessor"></span>
24
<a name="l00075"></a><a class="code" href="structPacketGroupHandler.html">00075</a> <span class="keyword">typedef</span> <span class="keyword">struct</span>
25
<a name="l00076"></a>00076 {
26
<a name="l00082"></a><a class="code" href="structPacketGroupHandler.html#f0849c643f1b1e257ccfe96110109950">00082</a>         <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> groupCode;
27
<a name="l00083"></a>00083 
28
<a name="l00088"></a>00088         void (*timeout_handler) (void);
29
<a name="l00089"></a>00089         
30
<a name="l00099"></a>00099         void (*handle_response) (<span class="keywordtype">int</span> frame, <span class="keywordtype">int</span> received);
31
<a name="l00100"></a>00100         
32
<a name="l00110"></a>00110         void (*handle_receive) (<span class="keywordtype">char</span> type, <span class="keywordtype">int</span> source, <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>* packet,
33
<a name="l00111"></a>00111                                                         <span class="keywordtype">int</span> length);
34
<a name="l00112"></a>00112         
35
<a name="l00116"></a>00116         void (*unregister) (void);
36
<a name="l00117"></a>00117         
37
<a name="l00118"></a>00118 } <a class="code" href="structPacketGroupHandler.html">PacketGroupHandler</a>;
38
<a name="l00119"></a>00119 
39
<a name="l00121"></a>00121 <span class="keywordtype">void</span> <a class="code" href="group__wireless.html#g629ceefdf83847af356d90e2df27041c" title="Initialize the wireless library.">wl_init</a>(<span class="keywordtype">void</span>);
40
<a name="l00123"></a>00123 <span class="keywordtype">void</span> <a class="code" href="group__wireless.html#g66075ff87a1c9f2c0d7938a26c7830f2" title="Uninitialize the wireless library.">wl_terminate</a>(<span class="keywordtype">void</span>);
41
<a name="l00125"></a>00125 <span class="keywordtype">void</span> <a class="code" href="group__wireless.html#g5c1f1a0e20fc718e59edc29246afd703" title="Perform wireless library functionality.">wl_do</a>(<span class="keywordtype">void</span>);
42
<a name="l00127"></a>00127 <span class="keywordtype">void</span> <a class="code" href="group__wireless.html#g183343ed0594ec1c2b79bb4085d57107" title="Register a packet group with the wireless library.">wl_register_packet_group</a>(<a class="code" href="structPacketGroupHandler.html">PacketGroupHandler</a>* h);
43
<a name="l00129"></a>00129 <span class="keywordtype">void</span> <a class="code" href="group__wireless.html#gcdbedf6465798abc7af3bf5fea3d4dd7" title="Unregister a packet group with the wireless library.">wl_unregister_packet_group</a>(<a class="code" href="structPacketGroupHandler.html">PacketGroupHandler</a>* h);
44
<a name="l00130"></a>00130 
45
<a name="l00132"></a>00132 <span class="keywordtype">void</span> <a class="code" href="group__wireless.html#ga7175b13dbfc0b11b341fbe0ad7c637c" title="Send a packet to a specific robot in any PAN.">wl_send_robot_to_robot_global_packet</a>(<span class="keywordtype">char</span> group, <span class="keywordtype">char</span> type,
46
<a name="l00133"></a>00133                 <span class="keywordtype">char</span>* data, <span class="keywordtype">int</span> len, <span class="keywordtype">int</span> dest, <span class="keywordtype">char</span> frame);
47
<a name="l00135"></a>00135 <span class="keywordtype">void</span> <a class="code" href="group__wireless.html#gafaca74445d215cef2b2e0ae1a1c72ba" title="Send a packet to a specific robot in our PAN.">wl_send_robot_to_robot_packet</a>(<span class="keywordtype">char</span> group, <span class="keywordtype">char</span> type,
48
<a name="l00136"></a>00136                 <span class="keywordtype">char</span>* data, <span class="keywordtype">int</span> len, <span class="keywordtype">int</span> dest, <span class="keywordtype">char</span> frame);
49
<a name="l00138"></a>00138 <span class="keywordtype">void</span> <a class="code" href="group__wireless.html#gdd534c99c49d5207fe09f02af304c1ad" title="Send a packet to all robots.">wl_send_global_packet</a>(<span class="keywordtype">char</span> group, <span class="keywordtype">char</span> type,
50
<a name="l00139"></a>00139                 <span class="keywordtype">char</span>* data, <span class="keywordtype">int</span> len, <span class="keywordtype">char</span> frame);
51
<a name="l00141"></a>00141 <span class="keywordtype">void</span> <a class="code" href="group__wireless.html#g0a1a0e4d885f0e0dde87160a16daa0aa" title="Send a packet to all robots in our PAN.">wl_send_pan_packet</a>(<span class="keywordtype">char</span> group, <span class="keywordtype">char</span> type,
52
<a name="l00142"></a>00142                 <span class="keywordtype">char</span>* data, <span class="keywordtype">int</span> len, <span class="keywordtype">char</span> frame);
53
<a name="l00143"></a>00143 
54
<a name="l00145"></a>00145 <span class="keywordtype">void</span> <a class="code" href="group__wireless.html#g211ccf907dce4493813573e20264e542" title="Set the PAN we are using.">wl_set_pan</a>(<span class="keywordtype">int</span> pan);
55
<a name="l00147"></a>00147 <span class="keywordtype">int</span> <a class="code" href="group__wireless.html#g4e6b5c97d40a8e7557a1b4b90a7d34f7" title="Get the PAN we are using.">wl_get_pan</a>(<span class="keywordtype">void</span>);
56
<a name="l00149"></a>00149 <span class="keywordtype">void</span> <a class="code" href="group__wireless.html#g9aac809e57c9eb93a2905ed544c93aba" title="Set the channel we are using.">wl_set_channel</a>(<span class="keywordtype">int</span> channel);
57
<a name="l00151"></a>00151 <span class="keywordtype">int</span> <a class="code" href="group__wireless.html#g2d65d3e35b193da4213755c4bf61ab6b" title="Get the channel we are using.">wl_get_channel</a>(<span class="keywordtype">void</span>);
58
<a name="l00153"></a>00153 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="group__wireless.html#g90cb41c855ac3da028e8f1278bd49f4f" title="Get the 16-bit address of the XBee module.">wl_get_xbee_id</a>(<span class="keywordtype">void</span>);
59
<a name="l00155"></a>00155 <span class="keywordtype">void</span> <a class="code" href="group__wireless.html#g344dead0023100eb40f8670a92c9ce5c" title="Set the com port on a computer, undefined on the robot.">wl_set_com_port</a>(<span class="keywordtype">char</span>* port);
60
<a name="l00156"></a>00156  <span class="comment">// end defgroup</span>
61
<a name="l00158"></a>00158 
62
<a name="l00159"></a>00159 <span class="preprocessor">#endif</span>
63
<a name="l00160"></a>00160 <span class="preprocessor"></span>
64
</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 23:27:22 2007 for libwireless by&nbsp;
65 65
<a href="http://www.doxygen.org/index.html">
66 66
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
67 67
</body>
trunk/docs/libwireless/wireless_8h.html
76 76
<hr><a name="_details"></a><h2>Detailed Description</h2>
77 77
Contains definitions for the wireless library. 
78 78
<p>
79
Copyright (c) 2007 Colony Project<p>
80
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>
81
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.<p>
82
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.<p>
79 83
Contains functions for the wireless library.<p>
80 84
<dl class="author" compact><dt><b>Author:</b></dt><dd>Brian Coltin, Colony Project, CMU Robotics Club </dd></dl>
81 85
<hr><h2>Define Documentation</h2>
......
94 98
The maximum number of packet groups. 
95 99
</div>
96 100
</div><p>
97
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 22:16:24 2007 for libwireless by&nbsp;
101
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 23:27:23 2007 for libwireless by&nbsp;
98 102
<a href="http://www.doxygen.org/index.html">
99 103
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
100 104
</body>
trunk/docs/libwireless/wl__token__ring_8h-source.html
14 14
  </ul>
15 15
</div>
16 16
<h1>wl_token_ring.h</h1><a href="wl__token__ring_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
17
<a name="l00010"></a>00010 <span class="preprocessor">#ifndef WL_TOKEN_RING_H</span>
18
<a name="l00011"></a>00011 <span class="preprocessor"></span><span class="preprocessor">#define WL_TOKEN_RING_H</span>
19
<a name="l00012"></a>00012 <span class="preprocessor"></span>
20
<a name="l00025"></a>00025 <span class="keywordtype">void</span> <a class="code" href="group__tokenring.html#g7bfd97ec1f89b442b278bbcddc6b6ee1" title="Register the token ring group with the wireless library.">wl_token_ring_register</a>(<span class="keywordtype">void</span>);
21
<a name="l00027"></a>00027 <span class="keywordtype">void</span> <a class="code" href="group__tokenring.html#gde3dd682b6a757bab6ce4cbc9c518f8e" title="Unregister the token ring group with the wirelss library.">wl_token_ring_unregister</a>(<span class="keywordtype">void</span>);
22
<a name="l00029"></a>00029 <span class="keywordtype">void</span> <a class="code" href="group__tokenring.html#g0c407d5c215a97d58c67006bcc6e53ce" title="Set the functions called to turn the bom on and off.">wl_token_ring_set_bom_functions</a>(<span class="keywordtype">void</span> (*on_function) (<span class="keywordtype">void</span>), 
23
<a name="l00030"></a>00030                 <span class="keywordtype">void</span> (*off_function) (<span class="keywordtype">void</span>), <span class="keywordtype">int</span> (*max_bom_function) (<span class="keywordtype">void</span>));
24
<a name="l00031"></a>00031 
25
<a name="l00033"></a>00033 <span class="keywordtype">void</span> <a class="code" href="group__tokenring.html#gbdb1e2258d1c69086692d2d31e02fb27" title="Join the token ring.">wl_token_ring_join</a>(<span class="keywordtype">void</span>);
26
<a name="l00035"></a>00035 <span class="keywordtype">void</span> <a class="code" href="group__tokenring.html#g6c2dd8742e100f63d4fb002707d1e85a" title="Leave the token ring.">wl_token_ring_leave</a>(<span class="keywordtype">void</span>);
27
<a name="l00036"></a>00036 
28
<a name="l00038"></a>00038 <span class="keywordtype">int</span> <a class="code" href="group__tokenring.html#g0c61bb8892aa5513706e00cd8ce5ca8b" title="Return the number of robots in the token ring.">wl_token_get_robots_in_ring</a>(<span class="keywordtype">void</span>);
29
<a name="l00040"></a>00040 <span class="keywordtype">int</span> <a class="code" href="group__tokenring.html#g14e005f0b9582eca7e3585f247c4cd72" title="Return whether a given robot is in the token ring.">wl_token_is_robot_in_ring</a>(<span class="keywordtype">int</span> robot);
30
<a name="l00041"></a>00041 
31
<a name="l00043"></a>00043 <span class="keywordtype">void</span> <a class="code" href="group__tokenring.html#g37ab9fb00e9eef273b4d0fcda81a2620" title="Begin iterating through robots in the token ring.">wl_token_iterator_begin</a>(<span class="keywordtype">void</span>);
32
<a name="l00045"></a>00045 <span class="keywordtype">int</span> <a class="code" href="group__tokenring.html#gbd7dc40ee796a67e1160b2b2b8e7d02f" title="Returns whether there are more robots to iterate through.">wl_token_iterator_has_next</a>(<span class="keywordtype">void</span>);
33
<a name="l00047"></a>00047 <span class="keywordtype">int</span> <a class="code" href="group__tokenring.html#gd9196324178877770d8ffc91d40893c3" title="Returns the ID of the next robot in the token ring.">wl_token_iterator_next</a>(<span class="keywordtype">void</span>);
34
<a name="l00048"></a>00048 
35
<a name="l00050"></a>00050 <span class="keywordtype">int</span> <a class="code" href="group__tokenring.html#gb4afd4b8e034d22d415f3c4a42a652fc" title="Return the latest BOM reading between two robots.">wl_token_get_sensor_reading</a>(<span class="keywordtype">int</span> source, <span class="keywordtype">int</span> dest);
36
<a name="l00052"></a>00052 <span class="keywordtype">int</span> <a class="code" href="group__tokenring.html#g1938c1d79dd9438dcd413d6d26372877" title="Return the latest BOM reading between us and another robot.">wl_token_get_my_sensor_reading</a>(<span class="keywordtype">int</span> dest);
37
<a name="l00054"></a>00054 <span class="keywordtype">int</span> <a class="code" href="group__tokenring.html#gf0d311d4feae71afc8bcb0b8c8e6ba57" title="Return the number of robots in the sensor matrix.">wl_token_get_num_robots</a>(<span class="keywordtype">void</span>);
38
<a name="l00056"></a>00056 <span class="keywordtype">int</span> <a class="code" href="group__tokenring.html#g5fe1508968d450a970b0d5417a06431d" title="Return the number of non-null elements in the sensor matrix.">wl_token_get_matrix_size</a>(<span class="keywordtype">void</span>);
39
<a name="l00057"></a>00057  <span class="comment">//end token ring group</span>
40
<a name="l00059"></a>00059 
41
<a name="l00060"></a>00060 <span class="preprocessor">#endif</span>
42
</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 22:16:24 2007 for libwireless by&nbsp;
17
<a name="l00035"></a>00035 <span class="preprocessor">#ifndef WL_TOKEN_RING_H</span>
18
<a name="l00036"></a>00036 <span class="preprocessor"></span><span class="preprocessor">#define WL_TOKEN_RING_H</span>
19
<a name="l00037"></a>00037 <span class="preprocessor"></span>
20
<a name="l00050"></a>00050 <span class="keywordtype">void</span> <a class="code" href="group__tokenring.html#g7bfd97ec1f89b442b278bbcddc6b6ee1" title="Register the token ring group with the wireless library.">wl_token_ring_register</a>(<span class="keywordtype">void</span>);
21
<a name="l00052"></a>00052 <span class="keywordtype">void</span> <a class="code" href="group__tokenring.html#gde3dd682b6a757bab6ce4cbc9c518f8e" title="Unregister the token ring group with the wirelss library.">wl_token_ring_unregister</a>(<span class="keywordtype">void</span>);
22
<a name="l00054"></a>00054 <span class="keywordtype">void</span> <a class="code" href="group__tokenring.html#g0c407d5c215a97d58c67006bcc6e53ce" title="Set the functions called to turn the bom on and off.">wl_token_ring_set_bom_functions</a>(<span class="keywordtype">void</span> (*on_function) (<span class="keywordtype">void</span>), 
23
<a name="l00055"></a>00055                 <span class="keywordtype">void</span> (*off_function) (<span class="keywordtype">void</span>), <span class="keywordtype">int</span> (*max_bom_function) (<span class="keywordtype">void</span>));
24
<a name="l00056"></a>00056 
25
<a name="l00058"></a>00058 <span class="keywordtype">void</span> <a class="code" href="group__tokenring.html#gbdb1e2258d1c69086692d2d31e02fb27" title="Join the token ring.">wl_token_ring_join</a>(<span class="keywordtype">void</span>);
26
<a name="l00060"></a>00060 <span class="keywordtype">void</span> <a class="code" href="group__tokenring.html#g6c2dd8742e100f63d4fb002707d1e85a" title="Leave the token ring.">wl_token_ring_leave</a>(<span class="keywordtype">void</span>);
27
<a name="l00061"></a>00061 
28
<a name="l00063"></a>00063 <span class="keywordtype">int</span> <a class="code" href="group__tokenring.html#g0c61bb8892aa5513706e00cd8ce5ca8b" title="Return the number of robots in the token ring.">wl_token_get_robots_in_ring</a>(<span class="keywordtype">void</span>);
29
<a name="l00065"></a>00065 <span class="keywordtype">int</span> <a class="code" href="group__tokenring.html#g14e005f0b9582eca7e3585f247c4cd72" title="Return whether a given robot is in the token ring.">wl_token_is_robot_in_ring</a>(<span class="keywordtype">int</span> robot);
30
<a name="l00066"></a>00066 
31
<a name="l00068"></a>00068 <span class="keywordtype">void</span> <a class="code" href="group__tokenring.html#g37ab9fb00e9eef273b4d0fcda81a2620" title="Begin iterating through robots in the token ring.">wl_token_iterator_begin</a>(<span class="keywordtype">void</span>);
32
<a name="l00070"></a>00070 <span class="keywordtype">int</span> <a class="code" href="group__tokenring.html#gbd7dc40ee796a67e1160b2b2b8e7d02f" title="Returns whether there are more robots to iterate through.">wl_token_iterator_has_next</a>(<span class="keywordtype">void</span>);
33
<a name="l00072"></a>00072 <span class="keywordtype">int</span> <a class="code" href="group__tokenring.html#gd9196324178877770d8ffc91d40893c3" title="Returns the ID of the next robot in the token ring.">wl_token_iterator_next</a>(<span class="keywordtype">void</span>);
34
<a name="l00073"></a>00073 
35
<a name="l00075"></a>00075 <span class="keywordtype">int</span> <a class="code" href="group__tokenring.html#gb4afd4b8e034d22d415f3c4a42a652fc" title="Return the latest BOM reading between two robots.">wl_token_get_sensor_reading</a>(<span class="keywordtype">int</span> source, <span class="keywordtype">int</span> dest);
36
<a name="l00077"></a>00077 <span class="keywordtype">int</span> <a class="code" href="group__tokenring.html#g1938c1d79dd9438dcd413d6d26372877" title="Return the latest BOM reading between us and another robot.">wl_token_get_my_sensor_reading</a>(<span class="keywordtype">int</span> dest);
37
<a name="l00079"></a>00079 <span class="keywordtype">int</span> <a class="code" href="group__tokenring.html#gf0d311d4feae71afc8bcb0b8c8e6ba57" title="Return the number of robots in the sensor matrix.">wl_token_get_num_robots</a>(<span class="keywordtype">void</span>);
38
<a name="l00081"></a>00081 <span class="keywordtype">int</span> <a class="code" href="group__tokenring.html#g5fe1508968d450a970b0d5417a06431d" title="Return the number of non-null elements in the sensor matrix.">wl_token_get_matrix_size</a>(<span class="keywordtype">void</span>);
39
<a name="l00082"></a>00082  <span class="comment">//end token ring group</span>
40
<a name="l00084"></a>00084 
41
<a name="l00085"></a>00085 <span class="preprocessor">#endif</span>
42
</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 23:27:22 2007 for libwireless by&nbsp;
43 43
<a href="http://www.doxygen.org/index.html">
44 44
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
45 45
</body>
trunk/docs/libwireless/group__xbee.html
366 366
Call when finished using the XBee library. This releases all sued resources. 
367 367
</div>
368 368
</div><p>
369
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 22:16:25 2007 for libwireless by&nbsp;
369
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 23:27:23 2007 for libwireless by&nbsp;
370 370
<a href="http://www.doxygen.org/index.html">
371 371
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
372 372
</body>
trunk/docs/libwireless/wl__token__ring_8h.html
66 66
<hr><a name="_details"></a><h2>Detailed Description</h2>
67 67
Declarations for the token ring packet group. 
68 68
<p>
69
Copyright (c) 2007 Colony Project<p>
70
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>
71
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.<p>
72
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.<p>
69 73
Contains declarations for the token ring packet group.<p>
70 74
<dl class="author" compact><dt><b>Author:</b></dt><dd>Brian Coltin, Colony Project, CMU Robotics Club </dd></dl>
71
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 22:16:24 2007 for libwireless by&nbsp;
75
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 23:27:23 2007 for libwireless by&nbsp;
72 76
<a href="http://www.doxygen.org/index.html">
73 77
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
74 78
</body>
trunk/docs/libwireless/globals_func.html
28 28
</div>
29 29
<div class="tabs">
30 30
  <ul>
31
    <li><a href="#index_g"><span>g</span></a></li>
32
    <li><a href="#index_l"><span>l</span></a></li>
31 33
    <li><a href="#index_q"><span>q</span></a></li>
32 34
    <li><a href="#index_s"><span>s</span></a></li>
33 35
    <li><a href="#index_w"><span>w</span></a></li>
......
38 40
<p>
39 41
&nbsp;
40 42
<p>
43
<h3><a class="anchor" name="index_g">- g -</a></h3><ul>
44
<li>get_token_distance()
45
: <a class="el" href="wl__token__ring_8c.html#4a6e9c32e59d4f5d36c281e79ba48ec6">wl_token_ring.c</a>
46
</ul>
47
<h3><a class="anchor" name="index_l">- l -</a></h3><ul>
48
<li>listen_to_xbee()
49
: <a class="el" href="xbee_8c.html#d1b4afcc746c61e5f2155a0a99bf497f">xbee.c</a>
50
</ul>
41 51
<h3><a class="anchor" name="index_q">- q -</a></h3><ul>
42 52
<li>queue_add()
43
: <a class="el" href="group__queue.html#gcdb01f4d0c861c4981829920d3973b77">queue.h</a>
53
: <a class="el" href="group__queue.html#gcdb01f4d0c861c4981829920d3973b77">queue.c</a>
54
, <a class="el" href="group__queue.html#gcdb01f4d0c861c4981829920d3973b77">queue.h</a>
44 55
<li>queue_create()
45 56
: <a class="el" href="group__queue.html#gd79af6a8d562cb911d93f35b8825e148">queue.h</a>
57
, <a class="el" href="group__queue.html#gd79af6a8d562cb911d93f35b8825e148">queue.c</a>
46 58
<li>queue_destroy()
47
: <a class="el" href="group__queue.html#gd21ee75924298937673e2b8d66665466">queue.h</a>
59
: <a class="el" href="group__queue.html#gd21ee75924298937673e2b8d66665466">queue.c</a>
60
, <a class="el" href="group__queue.html#gd21ee75924298937673e2b8d66665466">queue.h</a>
48 61
<li>queue_is_empty()
49 62
: <a class="el" href="group__queue.html#ga67a7f9940e9bbf21320a6f41e60998e">queue.h</a>
63
, <a class="el" href="group__queue.html#ga67a7f9940e9bbf21320a6f41e60998e">queue.c</a>
50 64
<li>queue_remove()
51
: <a class="el" href="group__queue.html#gef91e5f119b77101f6c2e23eb1803059">queue.h</a>
65
: <a class="el" href="group__queue.html#gef91e5f119b77101f6c2e23eb1803059">queue.c</a>
66
, <a class="el" href="group__queue.html#gef91e5f119b77101f6c2e23eb1803059">queue.h</a>
52 67
<li>queue_remove_all()
53
: <a class="el" href="group__queue.html#gbfe7f6f65eaffa1ee166811f259807e4">queue.h</a>
68
: <a class="el" href="group__queue.html#gbfe7f6f65eaffa1ee166811f259807e4">queue.c</a>
69
, <a class="el" href="group__queue.html#gbfe7f6f65eaffa1ee166811f259807e4">queue.h</a>
54 70
<li>queue_size()
55 71
: <a class="el" href="group__queue.html#g97ae0b085c41d49c8a24e1e506967f9b">queue.h</a>
72
, <a class="el" href="group__queue.html#g97ae0b085c41d49c8a24e1e506967f9b">queue.c</a>
56 73
</ul>
57 74
<h3><a class="anchor" name="index_s">- s -</a></h3><ul>
58 75
<li>sensor_matrix_add_robot()
59
: <a class="el" href="group__sensormatrix.html#g4a8cea8d7401802b8ef4f24768671cdb">sensor_matrix.h</a>
76
: <a class="el" href="group__sensormatrix.html#g4a8cea8d7401802b8ef4f24768671cdb">sensor_matrix.c</a>
77
, <a class="el" href="group__sensormatrix.html#g4a8cea8d7401802b8ef4f24768671cdb">sensor_matrix.h</a>
60 78
<li>sensor_matrix_create()
61 79
: <a class="el" href="group__sensormatrix.html#gdac971de8e0df3ed469c1e00b5d68ec3">sensor_matrix.h</a>
80
, <a class="el" href="group__sensormatrix.html#gdac971de8e0df3ed469c1e00b5d68ec3">sensor_matrix.c</a>
62 81
<li>sensor_matrix_destroy()
63
: <a class="el" href="group__sensormatrix.html#g6125c1926243c789c9a22c7b7ca915f7">sensor_matrix.h</a>
82
: <a class="el" href="group__sensormatrix.html#g6125c1926243c789c9a22c7b7ca915f7">sensor_matrix.c</a>
83
, <a class="el" href="group__sensormatrix.html#g6125c1926243c789c9a22c7b7ca915f7">sensor_matrix.h</a>
84
<li>sensor_matrix_expand()
85
: <a class="el" href="sensor__matrix_8c.html#eaf0385ba24c33cf4d3c38d297bc2663">sensor_matrix.c</a>
64 86
<li>sensor_matrix_get_in_ring()
65
: <a class="el" href="group__sensormatrix.html#g44d31428ed9c7a0c98e2ecfc74a55469">sensor_matrix.h</a>
87
: <a class="el" href="group__sensormatrix.html#g44d31428ed9c7a0c98e2ecfc74a55469">sensor_matrix.c</a>
88
, <a class="el" href="group__sensormatrix.html#g44d31428ed9c7a0c98e2ecfc74a55469">sensor_matrix.h</a>
66 89
<li>sensor_matrix_get_joined()
67
: <a class="el" href="group__sensormatrix.html#g48353450a17126cffa44bd894f087621">sensor_matrix.h</a>
90
: <a class="el" href="group__sensormatrix.html#g48353450a17126cffa44bd894f087621">sensor_matrix.c</a>
91
, <a class="el" href="group__sensormatrix.html#g48353450a17126cffa44bd894f087621">sensor_matrix.h</a>
68 92
<li>sensor_matrix_get_reading()
69
: <a class="el" href="group__sensormatrix.html#gf8f7401b00608998b4cca34e3e5690b6">sensor_matrix.h</a>
93
: <a class="el" href="group__sensormatrix.html#gf8f7401b00608998b4cca34e3e5690b6">sensor_matrix.c</a>
94
, <a class="el" href="group__sensormatrix.html#gf8f7401b00608998b4cca34e3e5690b6">sensor_matrix.h</a>
70 95
<li>sensor_matrix_get_size()
71 96
: <a class="el" href="group__sensormatrix.html#g1d799b72ee6274e5064e12e8dd17d493">sensor_matrix.h</a>
97
, <a class="el" href="group__sensormatrix.html#g1d799b72ee6274e5064e12e8dd17d493">sensor_matrix.c</a>
72 98
<li>sensor_matrix_remove_robot()
73
: <a class="el" href="group__sensormatrix.html#g616455f4c0801504984cc7f7cf49d980">sensor_matrix.h</a>
99
: <a class="el" href="group__sensormatrix.html#g616455f4c0801504984cc7f7cf49d980">sensor_matrix.c</a>
100
, <a class="el" href="group__sensormatrix.html#g616455f4c0801504984cc7f7cf49d980">sensor_matrix.h</a>
74 101
<li>sensor_matrix_set_in_ring()
75
: <a class="el" href="group__sensormatrix.html#ga2039902278b82d75157f5ce30ba24a3">sensor_matrix.h</a>
102
: <a class="el" href="group__sensormatrix.html#ga2039902278b82d75157f5ce30ba24a3">sensor_matrix.c</a>
103
, <a class="el" href="group__sensormatrix.html#ga2039902278b82d75157f5ce30ba24a3">sensor_matrix.h</a>
76 104
<li>sensor_matrix_set_reading()
77 105
: <a class="el" href="group__sensormatrix.html#g06977570b0c7b9628caeb5de012bbf22">sensor_matrix.h</a>
106
, <a class="el" href="group__sensormatrix.html#g06977570b0c7b9628caeb5de012bbf22">sensor_matrix.c</a>
78 107
</ul>
79 108
<h3><a class="anchor" name="index_w">- w -</a></h3><ul>
80 109
<li>wl_do()
81
: <a class="el" href="group__wireless.html#g5c1f1a0e20fc718e59edc29246afd703">wireless.h</a>
110
: <a class="el" href="group__wireless.html#g5c1f1a0e20fc718e59edc29246afd703">wireless.c</a>
111
, <a class="el" href="group__wireless.html#g5c1f1a0e20fc718e59edc29246afd703">wireless.h</a>
112
<li>wl_do_timeout()
113
: <a class="el" href="wireless_8c.html#a78dc2eef7e83c847b8e41182d691485">wireless.c</a>
82 114
<li>wl_error_register()
83 115
: <a class="el" href="group__wlerror.html#g3217351e71b892a90ed3ba79ed36e354">wl_error_group.h</a>
84 116
<li>wl_error_send_string()
......
87 119
: <a class="el" href="group__wlerror.html#g4c737d93fefc9aa8d4f87c9296bfa8a0">wl_error_group.h</a>
88 120
<li>wl_get_channel()
89 121
: <a class="el" href="group__wireless.html#g2d65d3e35b193da4213755c4bf61ab6b">wireless.h</a>
122
, <a class="el" href="group__wireless.html#g2d65d3e35b193da4213755c4bf61ab6b">wireless.c</a>
90 123
<li>wl_get_pan()
91
: <a class="el" href="group__wireless.html#g4e6b5c97d40a8e7557a1b4b90a7d34f7">wireless.h</a>
124
: <a class="el" href="group__wireless.html#g4e6b5c97d40a8e7557a1b4b90a7d34f7">wireless.c</a>
125
, <a class="el" href="group__wireless.html#g4e6b5c97d40a8e7557a1b4b90a7d34f7">wireless.h</a>
92 126
<li>wl_get_xbee_id()
93
: <a class="el" href="group__wireless.html#g90cb41c855ac3da028e8f1278bd49f4f">wireless.h</a>
127
: <a class="el" href="group__wireless.html#g90cb41c855ac3da028e8f1278bd49f4f">wireless.c</a>
128
, <a class="el" href="group__wireless.html#g90cb41c855ac3da028e8f1278bd49f4f">wireless.h</a>
94 129
<li>wl_init()
95
: <a class="el" href="group__wireless.html#g629ceefdf83847af356d90e2df27041c">wireless.h</a>
130
: <a class="el" href="group__wireless.html#g629ceefdf83847af356d90e2df27041c">wireless.c</a>
131
, <a class="el" href="group__wireless.html#g629ceefdf83847af356d90e2df27041c">wireless.h</a>
96 132
<li>wl_register_packet_group()
97 133
: <a class="el" href="group__wireless.html#g183343ed0594ec1c2b79bb4085d57107">wireless.h</a>
134
, <a class="el" href="group__wireless.html#g183343ed0594ec1c2b79bb4085d57107">wireless.c</a>
98 135
<li>wl_send_global_packet()
99
: <a class="el" href="group__wireless.html#gdd534c99c49d5207fe09f02af304c1ad">wireless.h</a>
136
: <a class="el" href="group__wireless.html#gdd534c99c49d5207fe09f02af304c1ad">wireless.c</a>
137
, <a class="el" href="group__wireless.html#gdd534c99c49d5207fe09f02af304c1ad">wireless.h</a>
138
<li>wl_send_packet()
139
: <a class="el" href="wireless_8c.html#3e7e49d6660316693ed15f52b1284def">wireless.c</a>
100 140
<li>wl_send_pan_packet()
101
: <a class="el" href="group__wireless.html#g0a1a0e4d885f0e0dde87160a16daa0aa">wireless.h</a>
141
: <a class="el" href="group__wireless.html#g0a1a0e4d885f0e0dde87160a16daa0aa">wireless.c</a>
142
, <a class="el" href="group__wireless.html#g0a1a0e4d885f0e0dde87160a16daa0aa">wireless.h</a>
102 143
<li>wl_send_robot_to_robot_global_packet()
103
: <a class="el" href="group__wireless.html#ga7175b13dbfc0b11b341fbe0ad7c637c">wireless.h</a>
144
: <a class="el" href="group__wireless.html#ga7175b13dbfc0b11b341fbe0ad7c637c">wireless.c</a>
145
, <a class="el" href="group__wireless.html#ga7175b13dbfc0b11b341fbe0ad7c637c">wireless.h</a>
104 146
<li>wl_send_robot_to_robot_packet()
105
: <a class="el" href="group__wireless.html#gafaca74445d215cef2b2e0ae1a1c72ba">wireless.h</a>
147
: <a class="el" href="group__wireless.html#gafaca74445d215cef2b2e0ae1a1c72ba">wireless.c</a>
148
, <a class="el" href="group__wireless.html#gafaca74445d215cef2b2e0ae1a1c72ba">wireless.h</a>
106 149
<li>wl_set_channel()
107
: <a class="el" href="group__wireless.html#g9aac809e57c9eb93a2905ed544c93aba">wireless.h</a>
150
: <a class="el" href="group__wireless.html#g9aac809e57c9eb93a2905ed544c93aba">wireless.c</a>
151
, <a class="el" href="group__wireless.html#g9aac809e57c9eb93a2905ed544c93aba">wireless.h</a>
108 152
<li>wl_set_com_port()
109
: <a class="el" href="group__wireless.html#g344dead0023100eb40f8670a92c9ce5c">wireless.h</a>
153
: <a class="el" href="group__wireless.html#g344dead0023100eb40f8670a92c9ce5c">wireless.c</a>
154
, <a class="el" href="group__wireless.html#g344dead0023100eb40f8670a92c9ce5c">wireless.h</a>
110 155
<li>wl_set_pan()
111
: <a class="el" href="group__wireless.html#g211ccf907dce4493813573e20264e542">wireless.h</a>
156
: <a class="el" href="group__wireless.html#g211ccf907dce4493813573e20264e542">wireless.c</a>
157
, <a class="el" href="group__wireless.html#g211ccf907dce4493813573e20264e542">wireless.h</a>
112 158
<li>wl_terminate()
113
: <a class="el" href="group__wireless.html#g66075ff87a1c9f2c0d7938a26c7830f2">wireless.h</a>
159
: <a class="el" href="group__wireless.html#g66075ff87a1c9f2c0d7938a26c7830f2">wireless.c</a>
160
, <a class="el" href="group__wireless.html#g66075ff87a1c9f2c0d7938a26c7830f2">wireless.h</a>
161
<li>wl_token_bom_on_receive()
162
: <a class="el" href="wl__token__ring_8c.html#a957587cfec2f0f963f6f5bf760d8c09">wl_token_ring.c</a>
114 163
<li>wl_token_get_matrix_size()
115
: <a class="el" href="group__tokenring.html#g5fe1508968d450a970b0d5417a06431d">wl_token_ring.h</a>
164
: <a class="el" href="group__tokenring.html#g5fe1508968d450a970b0d5417a06431d">wl_token_ring.c</a>
165
, <a class="el" href="group__tokenring.html#g5fe1508968d450a970b0d5417a06431d">wl_token_ring.h</a>
116 166
<li>wl_token_get_my_sensor_reading()
117
: <a class="el" href="group__tokenring.html#g1938c1d79dd9438dcd413d6d26372877">wl_token_ring.h</a>
167
: <a class="el" href="group__tokenring.html#g1938c1d79dd9438dcd413d6d26372877">wl_token_ring.c</a>
168
, <a class="el" href="group__tokenring.html#g1938c1d79dd9438dcd413d6d26372877">wl_token_ring.h</a>
118 169
<li>wl_token_get_num_robots()
119
: <a class="el" href="group__tokenring.html#gf0d311d4feae71afc8bcb0b8c8e6ba57">wl_token_ring.h</a>
170
: <a class="el" href="group__tokenring.html#gf0d311d4feae71afc8bcb0b8c8e6ba57">wl_token_ring.c</a>
171
, <a class="el" href="group__tokenring.html#gf0d311d4feae71afc8bcb0b8c8e6ba57">wl_token_ring.h</a>
120 172
<li>wl_token_get_robots_in_ring()
121
: <a class="el" href="group__tokenring.html#g0c61bb8892aa5513706e00cd8ce5ca8b">wl_token_ring.h</a>
173
: <a class="el" href="group__tokenring.html#g0c61bb8892aa5513706e00cd8ce5ca8b">wl_token_ring.c</a>
174
, <a class="el" href="group__tokenring.html#g0c61bb8892aa5513706e00cd8ce5ca8b">wl_token_ring.h</a>
122 175
<li>wl_token_get_sensor_reading()
123
: <a class="el" href="group__tokenring.html#gb4afd4b8e034d22d415f3c4a42a652fc">wl_token_ring.h</a>
176
: <a class="el" href="group__tokenring.html#gb4afd4b8e034d22d415f3c4a42a652fc">wl_token_ring.c</a>
177
, <a class="el" href="group__tokenring.html#gb4afd4b8e034d22d415f3c4a42a652fc">wl_token_ring.h</a>
178
<li>wl_token_get_token()
179
: <a class="el" href="wl__token__ring_8c.html#f7813b03920f6a89d39eb1ec921e8777">wl_token_ring.c</a>
124 180
<li>wl_token_is_robot_in_ring()
125
: <a class="el" href="group__tokenring.html#g14e005f0b9582eca7e3585f247c4cd72">wl_token_ring.h</a>
181
: <a class="el" href="group__tokenring.html#g14e005f0b9582eca7e3585f247c4cd72">wl_token_ring.c</a>
182
, <a class="el" href="group__tokenring.html#g14e005f0b9582eca7e3585f247c4cd72">wl_token_ring.h</a>
126 183
<li>wl_token_iterator_begin()
127
: <a class="el" href="group__tokenring.html#g37ab9fb00e9eef273b4d0fcda81a2620">wl_token_ring.h</a>
184
: <a class="el" href="group__tokenring.html#g37ab9fb00e9eef273b4d0fcda81a2620">wl_token_ring.c</a>
185
, <a class="el" href="group__tokenring.html#g37ab9fb00e9eef273b4d0fcda81a2620">wl_token_ring.h</a>
128 186
<li>wl_token_iterator_has_next()
129
: <a class="el" href="group__tokenring.html#gbd7dc40ee796a67e1160b2b2b8e7d02f">wl_token_ring.h</a>
187
: <a class="el" href="group__tokenring.html#gbd7dc40ee796a67e1160b2b2b8e7d02f">wl_token_ring.c</a>
188
, <a class="el" href="group__tokenring.html#gbd7dc40ee796a67e1160b2b2b8e7d02f">wl_token_ring.h</a>
130 189
<li>wl_token_iterator_next()
131 190
: <a class="el" href="group__tokenring.html#gd9196324178877770d8ffc91d40893c3">wl_token_ring.h</a>
191
, <a class="el" href="group__tokenring.html#gd9196324178877770d8ffc91d40893c3">wl_token_ring.c</a>
192
<li>wl_token_join_accept_receive()
193
: <a class="el" href="wl__token__ring_8c.html#02320d04cc311ccb0a8adee0f9302f81">wl_token_ring.c</a>
194
<li>wl_token_join_receive()
195
: <a class="el" href="wl__token__ring_8c.html#16f6628013175d6e8aac2c6ca20ee7cb">wl_token_ring.c</a>
196
<li>wl_token_pass_receive()
197
: <a class="el" href="wl__token__ring_8c.html#185201af243a7d07aae35ce2aa02aa17">wl_token_ring.c</a>
198
<li>wl_token_pass_token()
199
: <a class="el" href="wl__token__ring_8c.html#6651e4f100632b6872ff7f9cb1c44cbf">wl_token_ring.c</a>
200
<li>wl_token_ring_cleanup()
201
: <a class="el" href="wl__token__ring_8c.html#162fd55146fe9cecaa9dcf367515f919">wl_token_ring.c</a>
132 202
<li>wl_token_ring_join()
133 203
: <a class="el" href="group__tokenring.html#gbdb1e2258d1c69086692d2d31e02fb27">wl_token_ring.h</a>
204
, <a class="el" href="group__tokenring.html#gbdb1e2258d1c69086692d2d31e02fb27">wl_token_ring.c</a>
134 205
<li>wl_token_ring_leave()
135
: <a class="el" href="group__tokenring.html#g6c2dd8742e100f63d4fb002707d1e85a">wl_token_ring.h</a>
206
: <a class="el" href="group__tokenring.html#g6c2dd8742e100f63d4fb002707d1e85a">wl_token_ring.c</a>
207
, <a class="el" href="group__tokenring.html#g6c2dd8742e100f63d4fb002707d1e85a">wl_token_ring.h</a>
208
<li>wl_token_ring_receive_handler()
209
: <a class="el" href="wl__token__ring_8c.html#59f30ad96c7f57fc844a3ab74e4158f3">wl_token_ring.c</a>
136 210
<li>wl_token_ring_register()
137
: <a class="el" href="group__tokenring.html#g7bfd97ec1f89b442b278bbcddc6b6ee1">wl_token_ring.h</a>
211
: <a class="el" href="group__tokenring.html#g7bfd97ec1f89b442b278bbcddc6b6ee1">wl_token_ring.c</a>
212
, <a class="el" href="group__tokenring.html#g7bfd97ec1f89b442b278bbcddc6b6ee1">wl_token_ring.h</a>
213
<li>wl_token_ring_response_handler()
214
: <a class="el" href="wl__token__ring_8c.html#2e508540b0ee4067a0e5c1cbabdff86f">wl_token_ring.c</a>
138 215
<li>wl_token_ring_set_bom_functions()
139 216
: <a class="el" href="group__tokenring.html#g0c407d5c215a97d58c67006bcc6e53ce">wl_token_ring.h</a>
217
, <a class="el" href="group__tokenring.html#g0c407d5c215a97d58c67006bcc6e53ce">wl_token_ring.c</a>
218
<li>wl_token_ring_timeout_handler()
219
: <a class="el" href="wl__token__ring_8c.html#e6c23f56be0471ba62718282cde46ea2">wl_token_ring.c</a>
140 220
<li>wl_token_ring_unregister()
141 221
: <a class="el" href="group__tokenring.html#gde3dd682b6a757bab6ce4cbc9c518f8e">wl_token_ring.h</a>
222
, <a class="el" href="group__tokenring.html#gde3dd682b6a757bab6ce4cbc9c518f8e">wl_token_ring.c</a>
142 223
<li>wl_unregister_packet_group()
143
: <a class="el" href="group__wireless.html#gcdbedf6465798abc7af3bf5fea3d4dd7">wireless.h</a>
224
: <a class="el" href="group__wireless.html#gcdbedf6465798abc7af3bf5fea3d4dd7">wireless.c</a>
225
, <a class="el" href="group__wireless.html#gcdbedf6465798abc7af3bf5fea3d4dd7">wireless.h</a>
144 226
</ul>
145 227
<h3><a class="anchor" name="index_x">- x -</a></h3><ul>
228
<li>xbee_compute_checksum()
229
: <a class="el" href="xbee_8c.html#8be9a807a3b811a70fe72784a7cf9b94">xbee.c</a>
230
<li>xbee_enter_api_mode()
231
: <a class="el" href="xbee_8c.html#018409222a9dd2aeedbde88b4909e68c">xbee.c</a>
232
<li>xbee_enter_command_mode()
233
: <a class="el" href="xbee_8c.html#c18dee08531ce21e4d54791ab865fc06">xbee.c</a>
234
<li>xbee_exit_command_mode()
235
: <a class="el" href="xbee_8c.html#487dc439999cf804d864f4249c56919f">xbee.c</a>
146 236
<li>xbee_get_address()
147
: <a class="el" href="group__xbee.html#g7c53e8a8492494a61ca306875d633309">xbee.h</a>
237
: <a class="el" href="group__xbee.html#g7c53e8a8492494a61ca306875d633309">xbee.c</a>
238
, <a class="el" href="group__xbee.html#g7c53e8a8492494a61ca306875d633309">xbee.h</a>
148 239
<li>xbee_get_channel()
149 240
: <a class="el" href="group__xbee.html#g133706db81f69ba0a3c169b7a3f42d2a">xbee.h</a>
241
, <a class="el" href="group__xbee.html#g133706db81f69ba0a3c169b7a3f42d2a">xbee.c</a>
150 242
<li>xbee_get_packet()
151
: <a class="el" href="group__xbee.html#g00fbdd9d849171588df736f8b608589d">xbee.h</a>
243
: <a class="el" href="group__xbee.html#g00fbdd9d849171588df736f8b608589d">xbee.c</a>
244
, <a class="el" href="group__xbee.html#g00fbdd9d849171588df736f8b608589d">xbee.h</a>
152 245
<li>xbee_get_pan_id()
153
: <a class="el" href="group__xbee.html#g7755cd8db87703c9e9943153660b8052">xbee.h</a>
246
: <a class="el" href="group__xbee.html#g7755cd8db87703c9e9943153660b8052">xbee.c</a>
247
, <a class="el" href="group__xbee.html#g7755cd8db87703c9e9943153660b8052">xbee.h</a>
248
<li>xbee_handle_at_command_response()
249
: <a class="el" href="xbee_8c.html#e7360e5af3ed1f030a2b5ef09681d112">xbee.c</a>
250
<li>xbee_handle_packet()
251
: <a class="el" href="xbee_8c.html#31903827eeb802a64676f2f79b82e185">xbee.c</a>
252
<li>xbee_handle_status()
253
: <a class="el" href="xbee_8c.html#54852d0e4c4c4c3c712e2b90ce3b0251">xbee.c</a>
154 254
<li>xbee_lib_init()
155
: <a class="el" href="group__xbee.html#g334a723b79eccec83b17e25cde2e10f1">xbee.h</a>
255
: <a class="el" href="group__xbee.html#g334a723b79eccec83b17e25cde2e10f1">xbee.c</a>
256
, <a class="el" href="group__xbee.html#g334a723b79eccec83b17e25cde2e10f1">xbee.h</a>
257
<li>xbee_send()
258
: <a class="el" href="xbee_8c.html#fb25c4fc430497d9d23fec067c780473">xbee.c</a>
259
<li>xbee_send_frame()
260
: <a class="el" href="xbee_8c.html#2bf86ab71e6a42aa4aef36efb93cba88">xbee.c</a>
261
<li>xbee_send_modify_at_command()
262
: <a class="el" href="xbee_8c.html#31cd82079c54231064571a7a5efc5012">xbee.c</a>
156 263
<li>xbee_send_packet()
157
: <a class="el" href="group__xbee.html#g3a3b8ce040002ab2b1a0923950b2f3c4">xbee.h</a>
264
: <a class="el" href="group__xbee.html#g3a3b8ce040002ab2b1a0923950b2f3c4">xbee.c</a>
265
, <a class="el" href="group__xbee.html#g3a3b8ce040002ab2b1a0923950b2f3c4">xbee.h</a>
266
<li>xbee_send_read_at_command()
267
: <a class="el" href="xbee_8c.html#faee2ec993010d6f6f9555e9e729cd21">xbee.c</a>
268
<li>xbee_send_string()
269
: <a class="el" href="xbee_8c.html#1a50570abfcf6c78d65372a058bf2491">xbee.c</a>
158 270
<li>xbee_set_channel()
159 271
: <a class="el" href="group__xbee.html#g33f2b13a8f46ee08f14bce90160a5623">xbee.h</a>
272
, <a class="el" href="group__xbee.html#g33f2b13a8f46ee08f14bce90160a5623">xbee.c</a>
160 273
<li>xbee_set_com_port()
161
: <a class="el" href="group__xbee.html#g1e9e3c2abf0ff683ca8e591c3851cf0a">xbee.h</a>
274
: <a class="el" href="group__xbee.html#g1e9e3c2abf0ff683ca8e591c3851cf0a">xbee.c</a>
275
, <a class="el" href="group__xbee.html#g1e9e3c2abf0ff683ca8e591c3851cf0a">xbee.h</a>
162 276
<li>xbee_set_pan_id()
163
: <a class="el" href="group__xbee.html#g832f07915e1ffa8afefcd378deead1cd">xbee.h</a>
277
: <a class="el" href="group__xbee.html#g832f07915e1ffa8afefcd378deead1cd">xbee.c</a>
278
, <a class="el" href="group__xbee.html#g832f07915e1ffa8afefcd378deead1cd">xbee.h</a>
164 279
<li>xbee_terminate()
165 280
: <a class="el" href="group__xbee.html#g9334ac71dca1ddd697b1a35a361ade6a">xbee.h</a>
281
, <a class="el" href="group__xbee.html#g9334ac71dca1ddd697b1a35a361ade6a">xbee.c</a>
282
<li>xbee_verify_checksum()
283
: <a class="el" href="xbee_8c.html#72c56f4caf14a0acce08c4b583d844ec">xbee.c</a>
284
<li>xbee_wait_for_ok()
285
: <a class="el" href="xbee_8c.html#a28a6459b85fad4b9fc89d08e0e0c784">xbee.c</a>
286
<li>xbee_wait_for_string()
287
: <a class="el" href="xbee_8c.html#8f294818f845d440151f01035c067a2e">xbee.c</a>
166 288
</ul>
167
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 22:16:25 2007 for libwireless by&nbsp;
289
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 23:27:23 2007 for libwireless by&nbsp;
168 290
<a href="http://www.doxygen.org/index.html">
169 291
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
170 292
</body>
trunk/docs/libwireless/structSensorMatrix.html
100 100
</div><p>
101 101
<hr>The documentation for this struct was generated from the following file:<ul>
102 102
<li><a class="el" href="sensor__matrix_8h-source.html">sensor_matrix.h</a></ul>
103
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 22:16:25 2007 for libwireless by&nbsp;
103
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 23:27:23 2007 for libwireless by&nbsp;
104 104
<a href="http://www.doxygen.org/index.html">
105 105
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
106 106
</body>
trunk/docs/libwireless/structnode__def.html
24 24
</table>
25 25
<hr><a name="_details"></a><h2>Detailed Description</h2>
26 26
A node in the queue. <hr>The documentation for this struct was generated from the following file:<ul>
27
<li>queue.c</ul>
28
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 22:16:25 2007 for libwireless by&nbsp;
27
<li><a class="el" href="queue_8c.html">queue.c</a></ul>
28
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 23:27:23 2007 for libwireless by&nbsp;
29 29
<a href="http://www.doxygen.org/index.html">
30 30
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
31 31
</body>
trunk/docs/libwireless/functions.html
52 52
<li>unregister
53 53
: <a class="el" href="structPacketGroupHandler.html#c03247d5c07e97e35b1f557c0937b0eb">PacketGroupHandler</a>
54 54
</ul>
55
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 22:16:25 2007 for libwireless by&nbsp;
55
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 23:27:23 2007 for libwireless by&nbsp;
56 56
<a href="http://www.doxygen.org/index.html">
57 57
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
58 58
</body>
trunk/docs/libwireless/group__sensormatrix.html
425 425

  
426 426
</div>
427 427
</div><p>
428
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 22:16:24 2007 for libwireless by&nbsp;
428
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 23:27:23 2007 for libwireless by&nbsp;
429 429
<a href="http://www.doxygen.org/index.html">
430 430
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
431 431
</body>
trunk/docs/libwireless/group__tokenring.html
440 440
Removes the packet group from the wireless library. 
441 441
</div>
442 442
</div><p>
443
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 22:16:25 2007 for libwireless by&nbsp;
443
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 23:27:23 2007 for libwireless by&nbsp;
444 444
<a href="http://www.doxygen.org/index.html">
445 445
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
446 446
</body>
trunk/docs/libwireless/annotated.html
25 25
  <tr><td class="indexkey"><a class="el" href="structQueue.html">Queue</a></td><td class="indexvalue"></td></tr>
26 26
  <tr><td class="indexkey"><a class="el" href="structSensorMatrix.html">SensorMatrix</a></td><td class="indexvalue"></td></tr>
27 27
</table>
28
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 22:16:25 2007 for libwireless by&nbsp;
28
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 23:27:23 2007 for libwireless by&nbsp;
29 29
<a href="http://www.doxygen.org/index.html">
30 30
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
31 31
</body>
trunk/docs/libwireless/xbee_8h-source.html
14 14
  </ul>
15 15
</div>
16 16
<h1>xbee.h</h1><a href="xbee_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
17
<a name="l00013"></a>00013 <span class="preprocessor">#ifndef XBEE_H</span>
18
<a name="l00014"></a>00014 <span class="preprocessor"></span><span class="preprocessor">#define XBEE_H</span>
19
<a name="l00015"></a>00015 <span class="preprocessor"></span>
20
<a name="l00020"></a>00020 <span class="preprocessor">#ifndef ROBOT</span>
21
<a name="l00021"></a>00021 <span class="preprocessor"></span><span class="preprocessor">#ifndef XBEE_PORT</span>
22
<a name="l00022"></a><a class="code" href="xbee_8h.html#0ddad85671ebdb108b228835312d4f62">00022</a> <span class="preprocessor"></span><span class="preprocessor">#define XBEE_PORT "/dev/ttyUSB1"</span>
23
<a name="l00023"></a>00023 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
24
<a name="l00024"></a>00024 <span class="preprocessor"></span><span class="preprocessor">#define XBEE_PORT2 "/dev/ttyUSB0"</span>
25
<a name="l00025"></a>00025 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
26
<a name="l00026"></a>00026 <span class="preprocessor"></span>
27
<a name="l00036"></a>00036 <span class="comment">/*Definitions*/</span>
28
<a name="l00038"></a><a class="code" href="group__xbee.html#ge6bb9bb274d6750f954762454807a5a7">00038</a> <span class="preprocessor">#define XBEE_PAN_DEFAULT 0xFFFF</span>
29
<a name="l00039"></a>00039 <span class="preprocessor"></span>
30
<a name="l00040"></a><a class="code" href="group__xbee.html#g35f8b9d8e01e788f1e29928cba29f215">00040</a> <span class="preprocessor">#define XBEE_CHANNEL_DEFAULT 0</span>
31
<a name="l00041"></a>00041 <span class="preprocessor"></span>
32
<a name="l00042"></a><a class="code" href="group__xbee.html#g93bbd21f7965e1697350f950cedff5c4">00042</a> <span class="preprocessor">#define XBEE_BROADCAST 0xFFFF</span>
33
<a name="l00043"></a>00043 <span class="preprocessor"></span>
34
<a name="l00044"></a><a class="code" href="group__xbee.html#gbca7356c2b8183fd41b5ca9a82dd962b">00044</a> <span class="preprocessor">#define XBEE_OPTIONS_NONE 0x00</span>
35
<a name="l00045"></a>00045 <span class="preprocessor"></span>
36
<a name="l00046"></a><a class="code" href="group__xbee.html#gcf9509013302590dca5ce3db63c64609">00046</a> <span class="preprocessor">#define XBEE_OPTIONS_DISABLE_RESPONSE 0x01</span>
37
<a name="l00047"></a>00047 <span class="preprocessor"></span>
38
<a name="l00048"></a><a class="code" href="group__xbee.html#g57382f888360b5b19f0de3b6f1f7c5a3">00048</a> <span class="preprocessor">#define XBEE_OPTIONS_BROADCAST_ALL_PANS 0x04</span>
39
<a name="l00049"></a>00049 <span class="preprocessor"></span>
40
<a name="l00050"></a><a class="code" href="group__xbee.html#g7840d8b64c8bec12d8b8d32e845a638a">00050</a> <span class="preprocessor">#define XBEE_TX_STATUS 0x89</span>
17
<a name="l00038"></a>00038 <span class="preprocessor">#ifndef XBEE_H</span>
18
<a name="l00039"></a>00039 <span class="preprocessor"></span><span class="preprocessor">#define XBEE_H</span>
19
<a name="l00040"></a>00040 <span class="preprocessor"></span>
20
<a name="l00045"></a>00045 <span class="preprocessor">#ifndef ROBOT</span>
21
<a name="l00046"></a>00046 <span class="preprocessor"></span><span class="preprocessor">#ifndef XBEE_PORT</span>
22
<a name="l00047"></a><a class="code" href="xbee_8h.html#0ddad85671ebdb108b228835312d4f62">00047</a> <span class="preprocessor"></span><span class="preprocessor">#define XBEE_PORT "/dev/ttyUSB1"</span>
23
<a name="l00048"></a>00048 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
24
<a name="l00049"></a>00049 <span class="preprocessor"></span><span class="preprocessor">#define XBEE_PORT2 "/dev/ttyUSB0"</span>
25
<a name="l00050"></a>00050 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
41 26
<a name="l00051"></a>00051 <span class="preprocessor"></span>
42
<a name="l00052"></a><a class="code" href="group__xbee.html#gc2b1262a3a1eb4a9f7ead366af71c32c">00052</a> <span class="preprocessor">#define XBEE_RX 0x81</span>
43
<a name="l00053"></a>00053 <span class="preprocessor"></span>
44
<a name="l00055"></a>00055 <span class="keywordtype">void</span> <a class="code" href="group__xbee.html#g334a723b79eccec83b17e25cde2e10f1" title="Initialize the XBee library.">xbee_lib_init</a>(<span class="keywordtype">void</span>);
45
<a name="l00057"></a>00057 <span class="keywordtype">void</span> <a class="code" href="group__xbee.html#g9334ac71dca1ddd697b1a35a361ade6a" title="Uninitialize the XBee library.">xbee_terminate</a>(<span class="keywordtype">void</span>);
46
<a name="l00059"></a>00059 <span class="keywordtype">int</span> <a class="code" href="group__xbee.html#g00fbdd9d849171588df736f8b608589d" title="Get a packet from the XBee.">xbee_get_packet</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>* packet);
47
<a name="l00061"></a>00061 <span class="keywordtype">void</span> <a class="code" href="group__xbee.html#g3a3b8ce040002ab2b1a0923950b2f3c4" title="Send a packet to the XBee.">xbee_send_packet</a>(<span class="keywordtype">char</span>* packet, <span class="keywordtype">int</span> len, <span class="keywordtype">int</span> dest,
48
<a name="l00062"></a>00062         <span class="keywordtype">char</span> options, <span class="keywordtype">char</span> frame);
49
<a name="l00064"></a>00064 <span class="keywordtype">void</span> <a class="code" href="group__xbee.html#g832f07915e1ffa8afefcd378deead1cd" title="Set the PAN ID for the XBee.">xbee_set_pan_id</a>(<span class="keywordtype">int</span> <span class="keywordtype">id</span>);
50
<a name="l00066"></a>00066 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="group__xbee.html#g7755cd8db87703c9e9943153660b8052" title="Get the XBee&amp;#39;s PAN ID.">xbee_get_pan_id</a>(<span class="keywordtype">void</span>);
51
<a name="l00068"></a>00068 <span class="keywordtype">void</span> <a class="code" href="group__xbee.html#g33f2b13a8f46ee08f14bce90160a5623" title="Set the channel the XBee is currently using.">xbee_set_channel</a>(<span class="keywordtype">int</span> channel);
52
<a name="l00070"></a>00070 <span class="keywordtype">int</span> <a class="code" href="group__xbee.html#g133706db81f69ba0a3c169b7a3f42d2a" title="Get the channel the XBee is currently using.">xbee_get_channel</a>(<span class="keywordtype">void</span>);
53
<a name="l00072"></a>00072 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="group__xbee.html#g7c53e8a8492494a61ca306875d633309" title="Get the XBee&amp;#39;s 16-bit address.">xbee_get_address</a>(<span class="keywordtype">void</span>);
54
<a name="l00074"></a>00074 <span class="keywordtype">void</span> <a class="code" href="group__xbee.html#g1e9e3c2abf0ff683ca8e591c3851cf0a" title="Set the com port on a computer, undefined on the robot.">xbee_set_com_port</a>(<span class="keywordtype">char</span>* port);
55
<a name="l00075"></a>00075  <span class="comment">//end defgroup</span>
56
<a name="l00077"></a>00077 
57
<a name="l00078"></a>00078 <span class="preprocessor">#endif</span>
58
</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 22:16:24 2007 for libwireless by&nbsp;
27
<a name="l00061"></a>00061 <span class="comment">/*Definitions*/</span>
28
<a name="l00063"></a><a class="code" href="group__xbee.html#ge6bb9bb274d6750f954762454807a5a7">00063</a> <span class="preprocessor">#define XBEE_PAN_DEFAULT 0xFFFF</span>
29
<a name="l00064"></a>00064 <span class="preprocessor"></span>
30
<a name="l00065"></a><a class="code" href="group__xbee.html#g35f8b9d8e01e788f1e29928cba29f215">00065</a> <span class="preprocessor">#define XBEE_CHANNEL_DEFAULT 0</span>
31
<a name="l00066"></a>00066 <span class="preprocessor"></span>
32
<a name="l00067"></a><a class="code" href="group__xbee.html#g93bbd21f7965e1697350f950cedff5c4">00067</a> <span class="preprocessor">#define XBEE_BROADCAST 0xFFFF</span>
33
<a name="l00068"></a>00068 <span class="preprocessor"></span>
34
<a name="l00069"></a><a class="code" href="group__xbee.html#gbca7356c2b8183fd41b5ca9a82dd962b">00069</a> <span class="preprocessor">#define XBEE_OPTIONS_NONE 0x00</span>
35
<a name="l00070"></a>00070 <span class="preprocessor"></span>
36
<a name="l00071"></a><a class="code" href="group__xbee.html#gcf9509013302590dca5ce3db63c64609">00071</a> <span class="preprocessor">#define XBEE_OPTIONS_DISABLE_RESPONSE 0x01</span>
37
<a name="l00072"></a>00072 <span class="preprocessor"></span>
38
<a name="l00073"></a><a class="code" href="group__xbee.html#g57382f888360b5b19f0de3b6f1f7c5a3">00073</a> <span class="preprocessor">#define XBEE_OPTIONS_BROADCAST_ALL_PANS 0x04</span>
39
<a name="l00074"></a>00074 <span class="preprocessor"></span>
40
<a name="l00075"></a><a class="code" href="group__xbee.html#g7840d8b64c8bec12d8b8d32e845a638a">00075</a> <span class="preprocessor">#define XBEE_TX_STATUS 0x89</span>
41
<a name="l00076"></a>00076 <span class="preprocessor"></span>
42
<a name="l00077"></a><a class="code" href="group__xbee.html#gc2b1262a3a1eb4a9f7ead366af71c32c">00077</a> <span class="preprocessor">#define XBEE_RX 0x81</span>
43
<a name="l00078"></a>00078 <span class="preprocessor"></span>
44
<a name="l00080"></a>00080 <span class="keywordtype">void</span> <a class="code" href="group__xbee.html#g334a723b79eccec83b17e25cde2e10f1" title="Initialize the XBee library.">xbee_lib_init</a>(<span class="keywordtype">void</span>);
45
<a name="l00082"></a>00082 <span class="keywordtype">void</span> <a class="code" href="group__xbee.html#g9334ac71dca1ddd697b1a35a361ade6a" title="Uninitialize the XBee library.">xbee_terminate</a>(<span class="keywordtype">void</span>);
46
<a name="l00084"></a>00084 <span class="keywordtype">int</span> <a class="code" href="group__xbee.html#g00fbdd9d849171588df736f8b608589d" title="Get a packet from the XBee.">xbee_get_packet</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>* packet);
47
<a name="l00086"></a>00086 <span class="keywordtype">void</span> <a class="code" href="group__xbee.html#g3a3b8ce040002ab2b1a0923950b2f3c4" title="Send a packet to the XBee.">xbee_send_packet</a>(<span class="keywordtype">char</span>* packet, <span class="keywordtype">int</span> len, <span class="keywordtype">int</span> dest,
48
<a name="l00087"></a>00087         <span class="keywordtype">char</span> options, <span class="keywordtype">char</span> frame);
49
<a name="l00089"></a>00089 <span class="keywordtype">void</span> <a class="code" href="group__xbee.html#g832f07915e1ffa8afefcd378deead1cd" title="Set the PAN ID for the XBee.">xbee_set_pan_id</a>(<span class="keywordtype">int</span> <span class="keywordtype">id</span>);
50
<a name="l00091"></a>00091 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="group__xbee.html#g7755cd8db87703c9e9943153660b8052" title="Get the XBee&amp;#39;s PAN ID.">xbee_get_pan_id</a>(<span class="keywordtype">void</span>);
51
<a name="l00093"></a>00093 <span class="keywordtype">void</span> <a class="code" href="group__xbee.html#g33f2b13a8f46ee08f14bce90160a5623" title="Set the channel the XBee is currently using.">xbee_set_channel</a>(<span class="keywordtype">int</span> channel);
52
<a name="l00095"></a>00095 <span class="keywordtype">int</span> <a class="code" href="group__xbee.html#g133706db81f69ba0a3c169b7a3f42d2a" title="Get the channel the XBee is currently using.">xbee_get_channel</a>(<span class="keywordtype">void</span>);
53
<a name="l00097"></a>00097 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="group__xbee.html#g7c53e8a8492494a61ca306875d633309" title="Get the XBee&amp;#39;s 16-bit address.">xbee_get_address</a>(<span class="keywordtype">void</span>);
54
<a name="l00099"></a>00099 <span class="keywordtype">void</span> <a class="code" href="group__xbee.html#g1e9e3c2abf0ff683ca8e591c3851cf0a" title="Set the com port on a computer, undefined on the robot.">xbee_set_com_port</a>(<span class="keywordtype">char</span>* port);
55
<a name="l00100"></a>00100  <span class="comment">//end defgroup</span>
56
<a name="l00102"></a>00102 
57
<a name="l00103"></a>00103 <span class="preprocessor">#endif</span>
58
</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 23:27:22 2007 for libwireless by&nbsp;
59 59
<a href="http://www.doxygen.org/index.html">
60 60
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
61 61
</body>
trunk/docs/libwireless/queue_8h-source.html
14 14
  </ul>
15 15
</div>
16 16
<h1>queue.h</h1><a href="queue_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
17
<a name="l00010"></a>00010 <span class="preprocessor">#ifndef WIRELESS_QUEUE_H</span>
18
<a name="l00011"></a>00011 <span class="preprocessor"></span><span class="preprocessor">#define WIRELESS_QUEUE_H</span>
19
<a name="l00012"></a>00012 <span class="preprocessor"></span>
20
<a name="l00013"></a>00013 <span class="keyword">struct </span><a class="code" href="structnode__def.html">node_def</a>;
21
<a name="l00014"></a>00014 
22
<a name="l00028"></a><a class="code" href="structQueue.html">00028</a> <span class="keyword">typedef</span> <span class="keyword">struct</span>
23
<a name="l00029"></a>00029 {
24
<a name="l00033"></a><a class="code" href="structQueue.html#773cee3afdf5fbe12a225c48123b1e39">00033</a>         <span class="keyword">struct </span><a class="code" href="structnode__def.html">node_def</a>* head;
25
<a name="l00037"></a><a class="code" href="structQueue.html#85703d406e92d3aa92c3e9dbfd0e3007">00037</a>         <span class="keyword">struct </span><a class="code" href="structnode__def.html">node_def</a>* tail;
26
<a name="l00041"></a><a class="code" href="structQueue.html#c7d9701d244e3ba255ef8556e0562dc6">00041</a>         <span class="keywordtype">int</span> size;
27
<a name="l00042"></a>00042 } <a class="code" href="structQueue.html">Queue</a>;
28
<a name="l00043"></a>00043 
29
<a name="l00045"></a>00045 <a class="code" href="structQueue.html">Queue</a>* <a class="code" href="group__queue.html#gd79af6a8d562cb911d93f35b8825e148" title="Create a new queue.">queue_create</a>(<span class="keywordtype">void</span>);
30
<a name="l00047"></a>00047 <span class="keywordtype">void</span> <a class="code" href="group__queue.html#gd21ee75924298937673e2b8d66665466" title="Destroy a queue.">queue_destroy</a>(<a class="code" href="structQueue.html">Queue</a>* q);
31
<a name="l00049"></a>00049 <span class="keywordtype">void</span> <a class="code" href="group__queue.html#gcdb01f4d0c861c4981829920d3973b77" title="Add an element to a queue.">queue_add</a>(<a class="code" href="structQueue.html">Queue</a>* q, <span class="keywordtype">void</span>* item);
32
<a name="l00051"></a>00051 <span class="keywordtype">void</span>* <a class="code" href="group__queue.html#gef91e5f119b77101f6c2e23eb1803059" title="Remove an element from a queue.">queue_remove</a>(<a class="code" href="structQueue.html">Queue</a>* q);
33
<a name="l00053"></a>00053 <span class="keywordtype">void</span> <a class="code" href="group__queue.html#gbfe7f6f65eaffa1ee166811f259807e4" title="Remove all instances of a given element from a queue.">queue_remove_all</a>(<a class="code" href="structQueue.html">Queue</a>* q, <span class="keywordtype">void</span>* item);
34
<a name="l00055"></a>00055 <span class="keywordtype">int</span> <a class="code" href="group__queue.html#g97ae0b085c41d49c8a24e1e506967f9b" title="Get the size of a queue.">queue_size</a>(<a class="code" href="structQueue.html">Queue</a>* q);
35
<a name="l00057"></a>00057 <span class="keywordtype">int</span> <a class="code" href="group__queue.html#ga67a7f9940e9bbf21320a6f41e60998e" title="Check if the queue is empty.">queue_is_empty</a>(<a class="code" href="structQueue.html">Queue</a>* q);
36
<a name="l00058"></a>00058 
37
<a name="l00062"></a>00062 <span class="preprocessor">#endif</span>
38
</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 22:16:24 2007 for libwireless by&nbsp;
17
<a name="l00035"></a>00035 <span class="preprocessor">#ifndef WIRELESS_QUEUE_H</span>
18
<a name="l00036"></a>00036 <span class="preprocessor"></span><span class="preprocessor">#define WIRELESS_QUEUE_H</span>
19
<a name="l00037"></a>00037 <span class="preprocessor"></span>
20
<a name="l00038"></a>00038 <span class="keyword">struct </span><a class="code" href="structnode__def.html">node_def</a>;
21
<a name="l00039"></a>00039 
22
<a name="l00053"></a><a class="code" href="structQueue.html">00053</a> <span class="keyword">typedef</span> <span class="keyword">struct</span>
23
<a name="l00054"></a>00054 {
24
<a name="l00058"></a><a class="code" href="structQueue.html#773cee3afdf5fbe12a225c48123b1e39">00058</a>         <span class="keyword">struct </span><a class="code" href="structnode__def.html">node_def</a>* head;
25
<a name="l00062"></a><a class="code" href="structQueue.html#85703d406e92d3aa92c3e9dbfd0e3007">00062</a>         <span class="keyword">struct </span><a class="code" href="structnode__def.html">node_def</a>* tail;
26
<a name="l00066"></a><a class="code" href="structQueue.html#c7d9701d244e3ba255ef8556e0562dc6">00066</a>         <span class="keywordtype">int</span> size;
27
<a name="l00067"></a>00067 } <a class="code" href="structQueue.html">Queue</a>;
28
<a name="l00068"></a>00068 
29
<a name="l00070"></a>00070 <a class="code" href="structQueue.html">Queue</a>* <a class="code" href="group__queue.html#gd79af6a8d562cb911d93f35b8825e148" title="Create a new queue.">queue_create</a>(<span class="keywordtype">void</span>);
30
<a name="l00072"></a>00072 <span class="keywordtype">void</span> <a class="code" href="group__queue.html#gd21ee75924298937673e2b8d66665466" title="Destroy a queue.">queue_destroy</a>(<a class="code" href="structQueue.html">Queue</a>* q);
31
<a name="l00074"></a>00074 <span class="keywordtype">void</span> <a class="code" href="group__queue.html#gcdb01f4d0c861c4981829920d3973b77" title="Add an element to a queue.">queue_add</a>(<a class="code" href="structQueue.html">Queue</a>* q, <span class="keywordtype">void</span>* item);
32
<a name="l00076"></a>00076 <span class="keywordtype">void</span>* <a class="code" href="group__queue.html#gef91e5f119b77101f6c2e23eb1803059" title="Remove an element from a queue.">queue_remove</a>(<a class="code" href="structQueue.html">Queue</a>* q);
33
<a name="l00078"></a>00078 <span class="keywordtype">void</span> <a class="code" href="group__queue.html#gbfe7f6f65eaffa1ee166811f259807e4" title="Remove all instances of a given element from a queue.">queue_remove_all</a>(<a class="code" href="structQueue.html">Queue</a>* q, <span class="keywordtype">void</span>* item);
34
<a name="l00080"></a>00080 <span class="keywordtype">int</span> <a class="code" href="group__queue.html#g97ae0b085c41d49c8a24e1e506967f9b" title="Get the size of a queue.">queue_size</a>(<a class="code" href="structQueue.html">Queue</a>* q);
35
<a name="l00082"></a>00082 <span class="keywordtype">int</span> <a class="code" href="group__queue.html#ga67a7f9940e9bbf21320a6f41e60998e" title="Check if the queue is empty.">queue_is_empty</a>(<a class="code" href="structQueue.html">Queue</a>* q);
36
<a name="l00083"></a>00083 
37
<a name="l00087"></a>00087 <span class="preprocessor">#endif</span>
38
<a name="l00088"></a>00088 <span class="preprocessor"></span>
39
</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 23:27:22 2007 for libwireless by&nbsp;
39 40
<a href="http://www.doxygen.org/index.html">
40 41
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
41 42
</body>
trunk/docs/libwireless/xbee_8h.html
93 93
<hr><a name="_details"></a><h2>Detailed Description</h2>
94 94
Contains definitions for using the XBee. 
95 95
<p>
96
Contains definitions for interfacing with the XBee module, from either a robot or a computer. To use a robot, define ROBOT in <a class="el" href="wl__defs_8h-source.html">wl_defs.h</a>, and to use a computer, don't define ROBOT.<p>
96
Copyright (c) 2007 Colony Project<p>
97
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>
98
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.<p>
99
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.<p>
100
Contains definitions for interfacing with the XBee module, from either a robot or a computer. To use a robot, define ROBOT in <a class="el" href="wl__defs_8h.html" title="Definitions for Wireless.">wl_defs.h</a>, and to use a computer, don't define ROBOT.<p>
97 101
<dl class="author" compact><dt><b>Author:</b></dt><dd>Brian Coltin, Colony Project, CMU Robotics Club </dd></dl>
98 102
<hr><h2>Define Documentation</h2>
99 103
<a class="anchor" name="0ddad85671ebdb108b228835312d4f62"></a><!-- doxytag: member="xbee.h::XBEE_PORT" ref="0ddad85671ebdb108b228835312d4f62" args="" -->
......
111 115
The port to use the XBee from on the computer. Also, a backup port if the other is used. 
112 116
</div>
113 117
</div><p>
114
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 22:16:24 2007 for libwireless by&nbsp;
118
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 23:27:23 2007 for libwireless by&nbsp;
115 119
<a href="http://www.doxygen.org/index.html">
116 120
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
117 121
</body>
trunk/docs/libwireless/globals.html
28 28
</div>
29 29
<div class="tabs">
30 30
  <ul>
31
    <li><a href="#index_g"><span>g</span></a></li>
32
    <li><a href="#index_l"><span>l</span></a></li>
31 33
    <li><a href="#index_q"><span>q</span></a></li>
32 34
    <li><a href="#index_s"><span>s</span></a></li>
33 35
    <li><a href="#index_w"><span>w</span></a></li>
......
38 40
<p>
39 41
Here is a list of all documented functions, variables, defines, enums, and typedefs with links to the documentation:
40 42
<p>
43
<h3><a class="anchor" name="index_g">- g -</a></h3><ul>
44
<li>get_token_distance()
45
: <a class="el" href="wl__token__ring_8c.html#4a6e9c32e59d4f5d36c281e79ba48ec6">wl_token_ring.c</a>
46
</ul>
47
<h3><a class="anchor" name="index_l">- l -</a></h3><ul>
48
<li>listen_to_xbee()
49
: <a class="el" href="xbee_8c.html#d1b4afcc746c61e5f2155a0a99bf497f">xbee.c</a>
50
</ul>
41 51
<h3><a class="anchor" name="index_q">- q -</a></h3><ul>
42 52
<li>queue_add()
43
: <a class="el" href="group__queue.html#gcdb01f4d0c861c4981829920d3973b77">queue.h</a>
53
: <a class="el" href="group__queue.html#gcdb01f4d0c861c4981829920d3973b77">queue.c</a>
54
, <a class="el" href="group__queue.html#gcdb01f4d0c861c4981829920d3973b77">queue.h</a>
44 55
<li>queue_create()
45 56
: <a class="el" href="group__queue.html#gd79af6a8d562cb911d93f35b8825e148">queue.h</a>
57
, <a class="el" href="group__queue.html#gd79af6a8d562cb911d93f35b8825e148">queue.c</a>
46 58
<li>queue_destroy()
47
: <a class="el" href="group__queue.html#gd21ee75924298937673e2b8d66665466">queue.h</a>
59
: <a class="el" href="group__queue.html#gd21ee75924298937673e2b8d66665466">queue.c</a>
60
, <a class="el" href="group__queue.html#gd21ee75924298937673e2b8d66665466">queue.h</a>
48 61
<li>queue_is_empty()
49 62
: <a class="el" href="group__queue.html#ga67a7f9940e9bbf21320a6f41e60998e">queue.h</a>
63
, <a class="el" href="group__queue.html#ga67a7f9940e9bbf21320a6f41e60998e">queue.c</a>
50 64
<li>queue_remove()
51
: <a class="el" href="group__queue.html#gef91e5f119b77101f6c2e23eb1803059">queue.h</a>
65
: <a class="el" href="group__queue.html#gef91e5f119b77101f6c2e23eb1803059">queue.c</a>
66
, <a class="el" href="group__queue.html#gef91e5f119b77101f6c2e23eb1803059">queue.h</a>
52 67
<li>queue_remove_all()
53
: <a class="el" href="group__queue.html#gbfe7f6f65eaffa1ee166811f259807e4">queue.h</a>
68
: <a class="el" href="group__queue.html#gbfe7f6f65eaffa1ee166811f259807e4">queue.c</a>
69
, <a class="el" href="group__queue.html#gbfe7f6f65eaffa1ee166811f259807e4">queue.h</a>
54 70
<li>queue_size()
55 71
: <a class="el" href="group__queue.html#g97ae0b085c41d49c8a24e1e506967f9b">queue.h</a>
72
, <a class="el" href="group__queue.html#g97ae0b085c41d49c8a24e1e506967f9b">queue.c</a>
56 73
</ul>
57 74
<h3><a class="anchor" name="index_s">- s -</a></h3><ul>
58 75
<li>sensor_matrix_add_robot()
59
: <a class="el" href="group__sensormatrix.html#g4a8cea8d7401802b8ef4f24768671cdb">sensor_matrix.h</a>
76
: <a class="el" href="group__sensormatrix.html#g4a8cea8d7401802b8ef4f24768671cdb">sensor_matrix.c</a>
77
, <a class="el" href="group__sensormatrix.html#g4a8cea8d7401802b8ef4f24768671cdb">sensor_matrix.h</a>
60 78
<li>sensor_matrix_create()
61 79
: <a class="el" href="group__sensormatrix.html#gdac971de8e0df3ed469c1e00b5d68ec3">sensor_matrix.h</a>
80
, <a class="el" href="group__sensormatrix.html#gdac971de8e0df3ed469c1e00b5d68ec3">sensor_matrix.c</a>
62 81
<li>sensor_matrix_destroy()
63
: <a class="el" href="group__sensormatrix.html#g6125c1926243c789c9a22c7b7ca915f7">sensor_matrix.h</a>
82
: <a class="el" href="group__sensormatrix.html#g6125c1926243c789c9a22c7b7ca915f7">sensor_matrix.c</a>
83
, <a class="el" href="group__sensormatrix.html#g6125c1926243c789c9a22c7b7ca915f7">sensor_matrix.h</a>
84
<li>sensor_matrix_expand()
85
: <a class="el" href="sensor__matrix_8c.html#eaf0385ba24c33cf4d3c38d297bc2663">sensor_matrix.c</a>
64 86
<li>sensor_matrix_get_in_ring()
65
: <a class="el" href="group__sensormatrix.html#g44d31428ed9c7a0c98e2ecfc74a55469">sensor_matrix.h</a>
87
: <a class="el" href="group__sensormatrix.html#g44d31428ed9c7a0c98e2ecfc74a55469">sensor_matrix.c</a>
88
, <a class="el" href="group__sensormatrix.html#g44d31428ed9c7a0c98e2ecfc74a55469">sensor_matrix.h</a>
66 89
<li>sensor_matrix_get_joined()
67
: <a class="el" href="group__sensormatrix.html#g48353450a17126cffa44bd894f087621">sensor_matrix.h</a>
90
: <a class="el" href="group__sensormatrix.html#g48353450a17126cffa44bd894f087621">sensor_matrix.c</a>
91
, <a class="el" href="group__sensormatrix.html#g48353450a17126cffa44bd894f087621">sensor_matrix.h</a>
68 92
<li>sensor_matrix_get_reading()
69
: <a class="el" href="group__sensormatrix.html#gf8f7401b00608998b4cca34e3e5690b6">sensor_matrix.h</a>
93
: <a class="el" href="group__sensormatrix.html#gf8f7401b00608998b4cca34e3e5690b6">sensor_matrix.c</a>
94
, <a class="el" href="group__sensormatrix.html#gf8f7401b00608998b4cca34e3e5690b6">sensor_matrix.h</a>
70 95
<li>sensor_matrix_get_size()
71 96
: <a class="el" href="group__sensormatrix.html#g1d799b72ee6274e5064e12e8dd17d493">sensor_matrix.h</a>
97
, <a class="el" href="group__sensormatrix.html#g1d799b72ee6274e5064e12e8dd17d493">sensor_matrix.c</a>
72 98
<li>sensor_matrix_remove_robot()
73
: <a class="el" href="group__sensormatrix.html#g616455f4c0801504984cc7f7cf49d980">sensor_matrix.h</a>
99
: <a class="el" href="group__sensormatrix.html#g616455f4c0801504984cc7f7cf49d980">sensor_matrix.c</a>
100
, <a class="el" href="group__sensormatrix.html#g616455f4c0801504984cc7f7cf49d980">sensor_matrix.h</a>
74 101
<li>sensor_matrix_set_in_ring()
75
: <a class="el" href="group__sensormatrix.html#ga2039902278b82d75157f5ce30ba24a3">sensor_matrix.h</a>
102
: <a class="el" href="group__sensormatrix.html#ga2039902278b82d75157f5ce30ba24a3">sensor_matrix.c</a>
103
, <a class="el" href="group__sensormatrix.html#ga2039902278b82d75157f5ce30ba24a3">sensor_matrix.h</a>
76 104
<li>sensor_matrix_set_reading()
77 105
: <a class="el" href="group__sensormatrix.html#g06977570b0c7b9628caeb5de012bbf22">sensor_matrix.h</a>
106
, <a class="el" href="group__sensormatrix.html#g06977570b0c7b9628caeb5de012bbf22">sensor_matrix.c</a>
78 107
</ul>
79 108
<h3><a class="anchor" name="index_w">- w -</a></h3><ul>
80 109
<li>wl_do()
81
: <a class="el" href="group__wireless.html#g5c1f1a0e20fc718e59edc29246afd703">wireless.h</a>
110
: <a class="el" href="group__wireless.html#g5c1f1a0e20fc718e59edc29246afd703">wireless.c</a>
111
, <a class="el" href="group__wireless.html#g5c1f1a0e20fc718e59edc29246afd703">wireless.h</a>
112
<li>wl_do_timeout()
113
: <a class="el" href="wireless_8c.html#a78dc2eef7e83c847b8e41182d691485">wireless.c</a>
82 114
<li>wl_error_register()
83 115
: <a class="el" href="group__wlerror.html#g3217351e71b892a90ed3ba79ed36e354">wl_error_group.h</a>
84 116
<li>wl_error_send_string()
......
87 119
: <a class="el" href="group__wlerror.html#g4c737d93fefc9aa8d4f87c9296bfa8a0">wl_error_group.h</a>
88 120
<li>wl_get_channel()
89 121
: <a class="el" href="group__wireless.html#g2d65d3e35b193da4213755c4bf61ab6b">wireless.h</a>
122
, <a class="el" href="group__wireless.html#g2d65d3e35b193da4213755c4bf61ab6b">wireless.c</a>
90 123
<li>wl_get_pan()
91
: <a class="el" href="group__wireless.html#g4e6b5c97d40a8e7557a1b4b90a7d34f7">wireless.h</a>
124
: <a class="el" href="group__wireless.html#g4e6b5c97d40a8e7557a1b4b90a7d34f7">wireless.c</a>
125
, <a class="el" href="group__wireless.html#g4e6b5c97d40a8e7557a1b4b90a7d34f7">wireless.h</a>
92 126
<li>wl_get_xbee_id()
93
: <a class="el" href="group__wireless.html#g90cb41c855ac3da028e8f1278bd49f4f">wireless.h</a>
127
: <a class="el" href="group__wireless.html#g90cb41c855ac3da028e8f1278bd49f4f">wireless.c</a>
128
, <a class="el" href="group__wireless.html#g90cb41c855ac3da028e8f1278bd49f4f">wireless.h</a>
94 129
<li>wl_init()
95
: <a class="el" href="group__wireless.html#g629ceefdf83847af356d90e2df27041c">wireless.h</a>
130
: <a class="el" href="group__wireless.html#g629ceefdf83847af356d90e2df27041c">wireless.c</a>
131
, <a class="el" href="group__wireless.html#g629ceefdf83847af356d90e2df27041c">wireless.h</a>
96 132
<li>WL_MAX_PACKET_GROUPS
97 133
: <a class="el" href="wireless_8h.html#f083cc95511287866eeb4337fdc75eeb">wireless.h</a>
98 134
<li>wl_register_packet_group()
99
: <a class="el" href="group__wireless.html#g183343ed0594ec1c2b79bb4085d57107">wireless.h</a>
135
: <a class="el" href="group__wireless.html#g183343ed0594ec1c2b79bb4085d57107">wireless.c</a>
136
, <a class="el" href="group__wireless.html#g183343ed0594ec1c2b79bb4085d57107">wireless.h</a>
100 137
<li>wl_send_global_packet()
101
: <a class="el" href="group__wireless.html#gdd534c99c49d5207fe09f02af304c1ad">wireless.h</a>
138
: <a class="el" href="group__wireless.html#gdd534c99c49d5207fe09f02af304c1ad">wireless.c</a>
139
, <a class="el" href="group__wireless.html#gdd534c99c49d5207fe09f02af304c1ad">wireless.h</a>
140
<li>wl_send_packet()
141
: <a class="el" href="wireless_8c.html#3e7e49d6660316693ed15f52b1284def">wireless.c</a>
102 142
<li>wl_send_pan_packet()
103
: <a class="el" href="group__wireless.html#g0a1a0e4d885f0e0dde87160a16daa0aa">wireless.h</a>
143
: <a class="el" href="group__wireless.html#g0a1a0e4d885f0e0dde87160a16daa0aa">wireless.c</a>
144
, <a class="el" href="group__wireless.html#g0a1a0e4d885f0e0dde87160a16daa0aa">wireless.h</a>
104 145
<li>wl_send_robot_to_robot_global_packet()
105
: <a class="el" href="group__wireless.html#ga7175b13dbfc0b11b341fbe0ad7c637c">wireless.h</a>
146
: <a class="el" href="group__wireless.html#ga7175b13dbfc0b11b341fbe0ad7c637c">wireless.c</a>
147
, <a class="el" href="group__wireless.html#ga7175b13dbfc0b11b341fbe0ad7c637c">wireless.h</a>
106 148
<li>wl_send_robot_to_robot_packet()
107
: <a class="el" href="group__wireless.html#gafaca74445d215cef2b2e0ae1a1c72ba">wireless.h</a>
149
: <a class="el" href="group__wireless.html#gafaca74445d215cef2b2e0ae1a1c72ba">wireless.c</a>
150
, <a class="el" href="group__wireless.html#gafaca74445d215cef2b2e0ae1a1c72ba">wireless.h</a>
108 151
<li>wl_set_channel()
109
: <a class="el" href="group__wireless.html#g9aac809e57c9eb93a2905ed544c93aba">wireless.h</a>
152
: <a class="el" href="group__wireless.html#g9aac809e57c9eb93a2905ed544c93aba">wireless.c</a>
153
, <a class="el" href="group__wireless.html#g9aac809e57c9eb93a2905ed544c93aba">wireless.h</a>
110 154
<li>wl_set_com_port()
111
: <a class="el" href="group__wireless.html#g344dead0023100eb40f8670a92c9ce5c">wireless.h</a>
155
: <a class="el" href="group__wireless.html#g344dead0023100eb40f8670a92c9ce5c">wireless.c</a>
156
, <a class="el" href="group__wireless.html#g344dead0023100eb40f8670a92c9ce5c">wireless.h</a>
112 157
<li>wl_set_pan()
113 158
: <a class="el" href="group__wireless.html#g211ccf907dce4493813573e20264e542">wireless.h</a>
159
, <a class="el" href="group__wireless.html#g211ccf907dce4493813573e20264e542">wireless.c</a>
114 160
<li>wl_terminate()
115
: <a class="el" href="group__wireless.html#g66075ff87a1c9f2c0d7938a26c7830f2">wireless.h</a>
161
: <a class="el" href="group__wireless.html#g66075ff87a1c9f2c0d7938a26c7830f2">wireless.c</a>
162
, <a class="el" href="group__wireless.html#g66075ff87a1c9f2c0d7938a26c7830f2">wireless.h</a>
163
<li>wl_token_bom_on_receive()
164
: <a class="el" href="wl__token__ring_8c.html#a957587cfec2f0f963f6f5bf760d8c09">wl_token_ring.c</a>
116 165
<li>wl_token_get_matrix_size()
117
: <a class="el" href="group__tokenring.html#g5fe1508968d450a970b0d5417a06431d">wl_token_ring.h</a>
166
: <a class="el" href="group__tokenring.html#g5fe1508968d450a970b0d5417a06431d">wl_token_ring.c</a>
167
, <a class="el" href="group__tokenring.html#g5fe1508968d450a970b0d5417a06431d">wl_token_ring.h</a>
118 168
<li>wl_token_get_my_sensor_reading()
119
: <a class="el" href="group__tokenring.html#g1938c1d79dd9438dcd413d6d26372877">wl_token_ring.h</a>
169
: <a class="el" href="group__tokenring.html#g1938c1d79dd9438dcd413d6d26372877">wl_token_ring.c</a>
170
, <a class="el" href="group__tokenring.html#g1938c1d79dd9438dcd413d6d26372877">wl_token_ring.h</a>
120 171
<li>wl_token_get_num_robots()
121
: <a class="el" href="group__tokenring.html#gf0d311d4feae71afc8bcb0b8c8e6ba57">wl_token_ring.h</a>
172
: <a class="el" href="group__tokenring.html#gf0d311d4feae71afc8bcb0b8c8e6ba57">wl_token_ring.c</a>
173
, <a class="el" href="group__tokenring.html#gf0d311d4feae71afc8bcb0b8c8e6ba57">wl_token_ring.h</a>
122 174
<li>wl_token_get_robots_in_ring()
123 175
: <a class="el" href="group__tokenring.html#g0c61bb8892aa5513706e00cd8ce5ca8b">wl_token_ring.h</a>
176
, <a class="el" href="group__tokenring.html#g0c61bb8892aa5513706e00cd8ce5ca8b">wl_token_ring.c</a>
124 177
<li>wl_token_get_sensor_reading()
125
: <a class="el" href="group__tokenring.html#gb4afd4b8e034d22d415f3c4a42a652fc">wl_token_ring.h</a>
178
: <a class="el" href="group__tokenring.html#gb4afd4b8e034d22d415f3c4a42a652fc">wl_token_ring.c</a>
179
, <a class="el" href="group__tokenring.html#gb4afd4b8e034d22d415f3c4a42a652fc">wl_token_ring.h</a>
180
<li>wl_token_get_token()
181
: <a class="el" href="wl__token__ring_8c.html#f7813b03920f6a89d39eb1ec921e8777">wl_token_ring.c</a>
126 182
<li>wl_token_is_robot_in_ring()
127 183
: <a class="el" href="group__tokenring.html#g14e005f0b9582eca7e3585f247c4cd72">wl_token_ring.h</a>
184
, <a class="el" href="group__tokenring.html#g14e005f0b9582eca7e3585f247c4cd72">wl_token_ring.c</a>
128 185
<li>wl_token_iterator_begin()
129
: <a class="el" href="group__tokenring.html#g37ab9fb00e9eef273b4d0fcda81a2620">wl_token_ring.h</a>
186
: <a class="el" href="group__tokenring.html#g37ab9fb00e9eef273b4d0fcda81a2620">wl_token_ring.c</a>
187
, <a class="el" href="group__tokenring.html#g37ab9fb00e9eef273b4d0fcda81a2620">wl_token_ring.h</a>
130 188
<li>wl_token_iterator_has_next()
131
: <a class="el" href="group__tokenring.html#gbd7dc40ee796a67e1160b2b2b8e7d02f">wl_token_ring.h</a>
189
: <a class="el" href="group__tokenring.html#gbd7dc40ee796a67e1160b2b2b8e7d02f">wl_token_ring.c</a>
190
, <a class="el" href="group__tokenring.html#gbd7dc40ee796a67e1160b2b2b8e7d02f">wl_token_ring.h</a>
132 191
<li>wl_token_iterator_next()
133
: <a class="el" href="group__tokenring.html#gd9196324178877770d8ffc91d40893c3">wl_token_ring.h</a>
192
: <a class="el" href="group__tokenring.html#gd9196324178877770d8ffc91d40893c3">wl_token_ring.c</a>
193
, <a class="el" href="group__tokenring.html#gd9196324178877770d8ffc91d40893c3">wl_token_ring.h</a>
194
<li>wl_token_join_accept_receive()
195
: <a class="el" href="wl__token__ring_8c.html#02320d04cc311ccb0a8adee0f9302f81">wl_token_ring.c</a>
196
<li>wl_token_join_receive()
197
: <a class="el" href="wl__token__ring_8c.html#16f6628013175d6e8aac2c6ca20ee7cb">wl_token_ring.c</a>
198
<li>wl_token_pass_receive()
199
: <a class="el" href="wl__token__ring_8c.html#185201af243a7d07aae35ce2aa02aa17">wl_token_ring.c</a>
200
<li>wl_token_pass_token()
201
: <a class="el" href="wl__token__ring_8c.html#6651e4f100632b6872ff7f9cb1c44cbf">wl_token_ring.c</a>
202
<li>wl_token_ring_cleanup()
203
: <a class="el" href="wl__token__ring_8c.html#162fd55146fe9cecaa9dcf367515f919">wl_token_ring.c</a>
134 204
<li>wl_token_ring_join()
135 205
: <a class="el" href="group__tokenring.html#gbdb1e2258d1c69086692d2d31e02fb27">wl_token_ring.h</a>
206
, <a class="el" href="group__tokenring.html#gbdb1e2258d1c69086692d2d31e02fb27">wl_token_ring.c</a>
136 207
<li>wl_token_ring_leave()
137
: <a class="el" href="group__tokenring.html#g6c2dd8742e100f63d4fb002707d1e85a">wl_token_ring.h</a>
208
: <a class="el" href="group__tokenring.html#g6c2dd8742e100f63d4fb002707d1e85a">wl_token_ring.c</a>
209
, <a class="el" href="group__tokenring.html#g6c2dd8742e100f63d4fb002707d1e85a">wl_token_ring.h</a>
210
<li>wl_token_ring_receive_handler()
211
: <a class="el" href="wl__token__ring_8c.html#59f30ad96c7f57fc844a3ab74e4158f3">wl_token_ring.c</a>
138 212
<li>wl_token_ring_register()
139 213
: <a class="el" href="group__tokenring.html#g7bfd97ec1f89b442b278bbcddc6b6ee1">wl_token_ring.h</a>
214
, <a class="el" href="group__tokenring.html#g7bfd97ec1f89b442b278bbcddc6b6ee1">wl_token_ring.c</a>
215
<li>wl_token_ring_response_handler()
216
: <a class="el" href="wl__token__ring_8c.html#2e508540b0ee4067a0e5c1cbabdff86f">wl_token_ring.c</a>
140 217
<li>wl_token_ring_set_bom_functions()
141 218
: <a class="el" href="group__tokenring.html#g0c407d5c215a97d58c67006bcc6e53ce">wl_token_ring.h</a>
219
, <a class="el" href="group__tokenring.html#g0c407d5c215a97d58c67006bcc6e53ce">wl_token_ring.c</a>
220
<li>wl_token_ring_timeout_handler()
221
: <a class="el" href="wl__token__ring_8c.html#e6c23f56be0471ba62718282cde46ea2">wl_token_ring.c</a>
142 222
<li>wl_token_ring_unregister()
143 223
: <a class="el" href="group__tokenring.html#gde3dd682b6a757bab6ce4cbc9c518f8e">wl_token_ring.h</a>
224
, <a class="el" href="group__tokenring.html#gde3dd682b6a757bab6ce4cbc9c518f8e">wl_token_ring.c</a>
144 225
<li>wl_unregister_packet_group()
145
: <a class="el" href="group__wireless.html#gcdbedf6465798abc7af3bf5fea3d4dd7">wireless.h</a>
226
: <a class="el" href="group__wireless.html#gcdbedf6465798abc7af3bf5fea3d4dd7">wireless.c</a>
227
, <a class="el" href="group__wireless.html#gcdbedf6465798abc7af3bf5fea3d4dd7">wireless.h</a>
146 228
</ul>
147 229
<h3><a class="anchor" name="index_x">- x -</a></h3><ul>
148 230
<li>XBEE_BROADCAST
149 231
: <a class="el" href="group__xbee.html#g93bbd21f7965e1697350f950cedff5c4">xbee.h</a>
150 232
<li>XBEE_CHANNEL_DEFAULT
151 233
: <a class="el" href="group__xbee.html#g35f8b9d8e01e788f1e29928cba29f215">xbee.h</a>
234
<li>xbee_compute_checksum()
235
: <a class="el" href="xbee_8c.html#8be9a807a3b811a70fe72784a7cf9b94">xbee.c</a>
236
<li>xbee_enter_api_mode()
237
: <a class="el" href="xbee_8c.html#018409222a9dd2aeedbde88b4909e68c">xbee.c</a>
238
<li>xbee_enter_command_mode()
239
: <a class="el" href="xbee_8c.html#c18dee08531ce21e4d54791ab865fc06">xbee.c</a>
240
<li>xbee_exit_command_mode()
241
: <a class="el" href="xbee_8c.html#487dc439999cf804d864f4249c56919f">xbee.c</a>
152 242
<li>xbee_get_address()
153 243
: <a class="el" href="group__xbee.html#g7c53e8a8492494a61ca306875d633309">xbee.h</a>
244
, <a class="el" href="group__xbee.html#g7c53e8a8492494a61ca306875d633309">xbee.c</a>
154 245
<li>xbee_get_channel()
155
: <a class="el" href="group__xbee.html#g133706db81f69ba0a3c169b7a3f42d2a">xbee.h</a>
246
: <a class="el" href="group__xbee.html#g133706db81f69ba0a3c169b7a3f42d2a">xbee.c</a>
247
, <a class="el" href="group__xbee.html#g133706db81f69ba0a3c169b7a3f42d2a">xbee.h</a>
156 248
<li>xbee_get_packet()
157
: <a class="el" href="group__xbee.html#g00fbdd9d849171588df736f8b608589d">xbee.h</a>
249
: <a class="el" href="group__xbee.html#g00fbdd9d849171588df736f8b608589d">xbee.c</a>
250
, <a class="el" href="group__xbee.html#g00fbdd9d849171588df736f8b608589d">xbee.h</a>
158 251
<li>xbee_get_pan_id()
159
: <a class="el" href="group__xbee.html#g7755cd8db87703c9e9943153660b8052">xbee.h</a>
252
: <a class="el" href="group__xbee.html#g7755cd8db87703c9e9943153660b8052">xbee.c</a>
253
, <a class="el" href="group__xbee.html#g7755cd8db87703c9e9943153660b8052">xbee.h</a>
254
<li>xbee_handle_at_command_response()
255
: <a class="el" href="xbee_8c.html#e7360e5af3ed1f030a2b5ef09681d112">xbee.c</a>
256
<li>xbee_handle_packet()
257
: <a class="el" href="xbee_8c.html#31903827eeb802a64676f2f79b82e185">xbee.c</a>
258
<li>xbee_handle_status()
259
: <a class="el" href="xbee_8c.html#54852d0e4c4c4c3c712e2b90ce3b0251">xbee.c</a>
160 260
<li>xbee_lib_init()
161
: <a class="el" href="group__xbee.html#g334a723b79eccec83b17e25cde2e10f1">xbee.h</a>
261
: <a class="el" href="group__xbee.html#g334a723b79eccec83b17e25cde2e10f1">xbee.c</a>
262
, <a class="el" href="group__xbee.html#g334a723b79eccec83b17e25cde2e10f1">xbee.h</a>
162 263
<li>XBEE_OPTIONS_BROADCAST_ALL_PANS
163 264
: <a class="el" href="group__xbee.html#g57382f888360b5b19f0de3b6f1f7c5a3">xbee.h</a>
164 265
<li>XBEE_OPTIONS_DISABLE_RESPONSE
......
171 272
: <a class="el" href="xbee_8h.html#0ddad85671ebdb108b228835312d4f62">xbee.h</a>
172 273
<li>XBEE_RX
173 274
: <a class="el" href="group__xbee.html#gc2b1262a3a1eb4a9f7ead366af71c32c">xbee.h</a>
275
<li>xbee_send()
276
: <a class="el" href="xbee_8c.html#fb25c4fc430497d9d23fec067c780473">xbee.c</a>
277
<li>xbee_send_frame()
278
: <a class="el" href="xbee_8c.html#2bf86ab71e6a42aa4aef36efb93cba88">xbee.c</a>
279
<li>xbee_send_modify_at_command()
280
: <a class="el" href="xbee_8c.html#31cd82079c54231064571a7a5efc5012">xbee.c</a>
174 281
<li>xbee_send_packet()
175
: <a class="el" href="group__xbee.html#g3a3b8ce040002ab2b1a0923950b2f3c4">xbee.h</a>
282
: <a class="el" href="group__xbee.html#g3a3b8ce040002ab2b1a0923950b2f3c4">xbee.c</a>
283
, <a class="el" href="group__xbee.html#g3a3b8ce040002ab2b1a0923950b2f3c4">xbee.h</a>
284
<li>xbee_send_read_at_command()
285
: <a class="el" href="xbee_8c.html#faee2ec993010d6f6f9555e9e729cd21">xbee.c</a>
286
<li>xbee_send_string()
287
: <a class="el" href="xbee_8c.html#1a50570abfcf6c78d65372a058bf2491">xbee.c</a>
176 288
<li>xbee_set_channel()
177
: <a class="el" href="group__xbee.html#g33f2b13a8f46ee08f14bce90160a5623">xbee.h</a>
289
: <a class="el" href="group__xbee.html#g33f2b13a8f46ee08f14bce90160a5623">xbee.c</a>
290
, <a class="el" href="group__xbee.html#g33f2b13a8f46ee08f14bce90160a5623">xbee.h</a>
178 291
<li>xbee_set_com_port()
179 292
: <a class="el" href="group__xbee.html#g1e9e3c2abf0ff683ca8e591c3851cf0a">xbee.h</a>
293
, <a class="el" href="group__xbee.html#g1e9e3c2abf0ff683ca8e591c3851cf0a">xbee.c</a>
180 294
<li>xbee_set_pan_id()
181
: <a class="el" href="group__xbee.html#g832f07915e1ffa8afefcd378deead1cd">xbee.h</a>
295
: <a class="el" href="group__xbee.html#g832f07915e1ffa8afefcd378deead1cd">xbee.c</a>
296
, <a class="el" href="group__xbee.html#g832f07915e1ffa8afefcd378deead1cd">xbee.h</a>
182 297
<li>xbee_terminate()
183 298
: <a class="el" href="group__xbee.html#g9334ac71dca1ddd697b1a35a361ade6a">xbee.h</a>
299
, <a class="el" href="group__xbee.html#g9334ac71dca1ddd697b1a35a361ade6a">xbee.c</a>
184 300
<li>XBEE_TX_STATUS
185 301
: <a class="el" href="group__xbee.html#g7840d8b64c8bec12d8b8d32e845a638a">xbee.h</a>
302
<li>xbee_verify_checksum()
303
: <a class="el" href="xbee_8c.html#72c56f4caf14a0acce08c4b583d844ec">xbee.c</a>
304
<li>xbee_wait_for_ok()
305
: <a class="el" href="xbee_8c.html#a28a6459b85fad4b9fc89d08e0e0c784">xbee.c</a>
306
<li>xbee_wait_for_string()
307
: <a class="el" href="xbee_8c.html#8f294818f845d440151f01035c067a2e">xbee.c</a>
186 308
</ul>
187
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 22:16:25 2007 for libwireless by&nbsp;
309
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 23:27:23 2007 for libwireless by&nbsp;
188 310
<a href="http://www.doxygen.org/index.html">
189 311
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
190 312
</body>
trunk/docs/libwireless/sensor__matrix_8h.html
57 57
<hr><a name="_details"></a><h2>Detailed Description</h2>
58 58
Definitions for sensor matrices. 
59 59
<p>
60
Copyright (c) 2007 Colony Project<p>
61
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>
62
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.<p>
63
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.<p>
60 64
Contains functions and declarations for using sensor matrices.<p>
61 65
<dl class="author" compact><dt><b>Author:</b></dt><dd>Brian Coltin, Colony Project, CMU Robotics Club </dd></dl>
62
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 22:16:24 2007 for libwireless by&nbsp;
66
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 23:27:23 2007 for libwireless by&nbsp;
63 67
<a href="http://www.doxygen.org/index.html">
64 68
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
65 69
</body>
trunk/docs/libwireless/group__queue.html
263 263

  
264 264
</div>
265 265
</div><p>
266
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 22:16:24 2007 for libwireless by&nbsp;
266
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 23:27:23 2007 for libwireless by&nbsp;
267 267
<a href="http://www.doxygen.org/index.html">
268 268
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
269 269
</body>
trunk/docs/libwireless/files.html
20 20
  </ul>
21 21
</div>
22 22
<h1>libwireless File List</h1>Here is a list of all documented files with brief descriptions:<table>
23
  <tr><td class="indexkey"><a class="el" href="queue_8c.html">queue.c</a></td><td class="indexvalue"><a class="el" href="structQueue.html">Queue</a> Implementation </td></tr>
23 24
  <tr><td class="indexkey"><a class="el" href="queue_8h.html">queue.h</a> <a href="queue_8h-source.html">[code]</a></td><td class="indexvalue">A queue implementation </td></tr>
25
  <tr><td class="indexkey"><a class="el" href="sensor__matrix_8c.html">sensor_matrix.c</a></td><td class="indexvalue">Sensor Matrix implementation </td></tr>
24 26
  <tr><td class="indexkey"><a class="el" href="sensor__matrix_8h.html">sensor_matrix.h</a> <a href="sensor__matrix_8h-source.html">[code]</a></td><td class="indexvalue">Definitions for sensor matrices </td></tr>
27
  <tr><td class="indexkey"><a class="el" href="wireless_8c.html">wireless.c</a></td><td class="indexvalue">Wireless Library Implementation </td></tr>
25 28
  <tr><td class="indexkey"><a class="el" href="wireless_8h.html">wireless.h</a> <a href="wireless_8h-source.html">[code]</a></td><td class="indexvalue">Contains definitions for the wireless library </td></tr>
26
  <tr><td class="indexkey"><b>wl_defs.h</b> <a href="wl__defs_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
27
  <tr><td class="indexkey"><a class="el" href="wl__error__group_8h.html">wl_error_group.h</a> <a href="wl__error__group_8h-source.html">[code]</a></td><td class="indexvalue">A packet group for error messages </td></tr>
29
  <tr><td class="indexkey"><a class="el" href="wl__defs_8h.html">wl_defs.h</a> <a href="wl__defs_8h-source.html">[code]</a></td><td class="indexvalue">Definitions for Wireless </td></tr>
30
  <tr><td class="indexkey"><a class="el" href="wl__error__group_8h.html">wl_error_group.h</a> <a href="wl__error__group_8h-source.html">[code]</a></td><td class="indexvalue">Error Packets </td></tr>
31
  <tr><td class="indexkey"><a class="el" href="wl__token__ring_8c.html">wl_token_ring.c</a></td><td class="indexvalue">Token Ring Implementation </td></tr>
28 32
  <tr><td class="indexkey"><a class="el" href="wl__token__ring_8h.html">wl_token_ring.h</a> <a href="wl__token__ring_8h-source.html">[code]</a></td><td class="indexvalue">Declarations for the token ring packet group </td></tr>
33
  <tr><td class="indexkey"><a class="el" href="xbee_8c.html">xbee.c</a></td><td class="indexvalue">XBee Interface </td></tr>
29 34
  <tr><td class="indexkey"><a class="el" href="xbee_8h.html">xbee.h</a> <a href="xbee_8h-source.html">[code]</a></td><td class="indexvalue">Contains definitions for using the XBee </td></tr>
30 35
</table>
31
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 22:16:25 2007 for libwireless by&nbsp;
36
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 23:27:23 2007 for libwireless by&nbsp;
32 37
<a href="http://www.doxygen.org/index.html">
33 38
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
34 39
</body>
trunk/docs/libwireless/wl__error__group_8h-source.html
13 13
    <li class="current"><a href="files.html"><span>Files</span></a></li>
14 14
  </ul>
15 15
</div>
16
<h1>wl_error_group.h</h1><a href="wl__error__group_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef WL_ERROR_GROUP_H</span>
17
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define WL_ERROR_GROUP_H</span>
18
<a name="l00003"></a>00003 <span class="preprocessor"></span>
19
<a name="l00024"></a>00024 <span class="keywordtype">void</span> <a class="code" href="group__wlerror.html#g3217351e71b892a90ed3ba79ed36e354" title="Register this packet group with the wireless library.">wl_error_register</a>(<span class="keywordtype">void</span>);
20
<a name="l00026"></a>00026 <span class="keywordtype">void</span> <a class="code" href="group__wlerror.html#g4c737d93fefc9aa8d4f87c9296bfa8a0" title="Unregister this packet group with the wireless library.">wl_error_unregister</a>(<span class="keywordtype">void</span>);
21
<a name="l00028"></a>00028 <span class="keywordtype">void</span> <a class="code" href="group__wlerror.html#g01c7382a758876fce52c18a3e6c81534" title="Send a string in an error packet.">wl_error_send_string</a>(<span class="keywordtype">char</span>* str);
22
<a name="l00029"></a>00029  <span class="comment">// end defgroup</span>
23
<a name="l00031"></a>00031 
24
<a name="l00032"></a>00032 <span class="preprocessor">#endif</span>
25
</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 22:16:24 2007 for libwireless by&nbsp;
16
<h1>wl_error_group.h</h1><a href="wl__error__group_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
17
<a name="l00035"></a>00035 <span class="preprocessor">#ifndef WL_ERROR_GROUP_H</span>
18
<a name="l00036"></a>00036 <span class="preprocessor"></span><span class="preprocessor">#define WL_ERROR_GROUP_H</span>
19
<a name="l00037"></a>00037 <span class="preprocessor"></span>
20
<a name="l00058"></a>00058 <span class="keywordtype">void</span> <a class="code" href="group__wlerror.html#g3217351e71b892a90ed3ba79ed36e354" title="Register this packet group with the wireless library.">wl_error_register</a>(<span class="keywordtype">void</span>);
21
<a name="l00060"></a>00060 <span class="keywordtype">void</span> <a class="code" href="group__wlerror.html#g4c737d93fefc9aa8d4f87c9296bfa8a0" title="Unregister this packet group with the wireless library.">wl_error_unregister</a>(<span class="keywordtype">void</span>);
22
<a name="l00062"></a>00062 <span class="keywordtype">void</span> <a class="code" href="group__wlerror.html#g01c7382a758876fce52c18a3e6c81534" title="Send a string in an error packet.">wl_error_send_string</a>(<span class="keywordtype">char</span>* str);
23
<a name="l00063"></a>00063  <span class="comment">// end defgroup</span>
24
<a name="l00065"></a>00065 
25
<a name="l00066"></a>00066 <span class="preprocessor">#endif</span>
26
</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 23:27:22 2007 for libwireless by&nbsp;
26 27
<a href="http://www.doxygen.org/index.html">
27 28
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
28 29
</body>
trunk/docs/libwireless/functions_vars.html
52 52
<li>unregister
53 53
: <a class="el" href="structPacketGroupHandler.html#c03247d5c07e97e35b1f557c0937b0eb">PacketGroupHandler</a>
54 54
</ul>
55
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 22:16:25 2007 for libwireless by&nbsp;
55
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 23:27:23 2007 for libwireless by&nbsp;
56 56
<a href="http://www.doxygen.org/index.html">
57 57
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
58 58
</body>
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff