Last change
on this file was
1121,
checked in by chunter, 16 years ago
|
Updated the Doxygen changelog
|
-
Property svn:executable set to
*
|
File size:
1.0 KB
|
Line | |
---|
1 | /*! \file hopMacClient.h |
---|
2 | \brief Hop MAC Workshop Exercise. |
---|
3 | |
---|
4 | @version 12 |
---|
5 | @author Chris Hunter |
---|
6 | |
---|
7 | This exercise is an extension of the previous |
---|
8 | HALFMAC exercise. In fact, you are welcome |
---|
9 | top copy and paste the parts of the code you |
---|
10 | completed in that exercise for the similar |
---|
11 | tasks here. |
---|
12 | |
---|
13 | The twist in this lab is that the server |
---|
14 | will periodically hop to a new part of the |
---|
15 | spectrum. Before doing so, it will transmit |
---|
16 | a special control packet (HOPPACKET) that |
---|
17 | contains the destination frequency band. |
---|
18 | |
---|
19 | If the packet is missed, your receiver will |
---|
20 | be stuck until the transmitter randomly hops |
---|
21 | back onto the channel you were sitting at. |
---|
22 | This can potentially be a very long time. |
---|
23 | An advanced extension to this lab is to |
---|
24 | scan for packets in various channels when |
---|
25 | no good packet is received for a certain |
---|
26 | amount of time. For our purposes, let this |
---|
27 | timeout be around 200ms. |
---|
28 | */ |
---|
29 | |
---|
30 | void button(); |
---|
31 | void phyRx_goodHeader_callback(Macframe* packet); |
---|
32 | void phyRx_badHeader_callback(); |
---|
33 | void emacRx_callback(Xuint32 length, char* payload); |
---|
34 | int main(); |
---|
Note: See
TracBrowser
for help on using the repository browser.