source: ResearchApps/MAC/Workshop_MACs/HALFMAC_client_sw/halfmac_client_sw.h

Last change on this file was 1634, checked in by murphpo, 13 years ago

updates for dyspan workshop

  • Property svn:executable set to *
File size: 677 bytes
Line 
1/*! \file halfmac_client_sw.c
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 directly by software using
12 the transmission mechanisms in the WARPMAC framework.
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
21int phyRx_goodHeader_callback(Macframe* packet);
22void phyRx_badHeader_callback();
23void dataFromNetworkLayer_callback(Xuint32 length, char* payload);
24int main();
Note: See TracBrowser for help on using the repository browser.