Line | |
---|
1 | /*! \file halfmac_client_hw.h |
---|
2 | \brief Reception Half of a CSMA MAC protocol |
---|
3 | |
---|
4 | @version 14 |
---|
5 | @author Chris Hunter |
---|
6 | |
---|
7 | The goal of this MAC is to act as a receiver to a CSMA-enabled server. |
---|
8 | This server will continue to retransmit packets until this client |
---|
9 | acknowledges its reception. |
---|
10 | |
---|
11 | In this variant, ACK transmission is handled automatically by the |
---|
12 | autoresponder core. |
---|
13 | |
---|
14 | Note to workshop users: any names in quotes |
---|
15 | are names that can be searched for in the |
---|
16 | WARP API. |
---|
17 | |
---|
18 | */ |
---|
19 | |
---|
20 | int phyRx_goodHeader_callback(Macframe* packet); |
---|
21 | void phyRx_badHeader_callback(); |
---|
22 | void dataFromNetworkLayer_callback(Xuint32 length, char* payload); |
---|
23 | void uartRecv_callback(unsigned char uartByte); |
---|
24 | void timer_callback(unsigned char timerType); |
---|
25 | int main(); |
---|
Note: See
TracBrowser
for help on using the repository browser.