|
OpenWSN Firmware
|
#include "openwsn.h"#include "stupidmac.h"#include "IEEE802154.h"#include "radio.h"#include "packetfunctions.h"#include "idmanager.h"#include "openserial.h"#include "openqueue.h"#include "timers.h"#include "neighbors.h"#include "nores.h"#include "IEEE802154_common.c"Functions | |
| void | packetReceived () |
| void | armRandomBackoffTimer () |
| void | change_state (uint8_t newstate) |
| void | stupidmac_init () |
| error_t | stupidmac_send (OpenQueueEntry_t *msg) |
| void | stupidmac_sendDone (OpenQueueEntry_t *pkt, error_t error) |
| void | radio_packet_received (OpenQueueEntry_t *msg) |
| bool | stupidmac_debugPrint () |
| void | timer_mac_periodic_fired () |
| void | timer_mac_backoff_fired () |
| void | timer_mac_watchdog_fired () |
Variables | |
| OpenQueueEntry_t * | stupidmac_dataFrameToSend |
| Implementation of stupidMAC. More... | |
| OpenQueueEntry_t * | stupidmac_packetACK |
| OpenQueueEntry_t * | stupidmac_dataFrameReceived |
| uint8_t | stupidmac_dsn |
| uint8_t | stupidmac_state |
| bool | stupidmac_serialInOutputMode |
| void armRandomBackoffTimer | ( | ) |
| void change_state | ( | uint8_t | newstate | ) |
| void packetReceived | ( | ) |
| void radio_packet_received | ( | OpenQueueEntry_t * | msg | ) |
| bool stupidmac_debugPrint | ( | ) |
| void stupidmac_init | ( | ) |
| error_t stupidmac_send | ( | OpenQueueEntry_t * | msg | ) |
| void stupidmac_sendDone | ( | OpenQueueEntry_t * | pkt, |
| error_t | error | ||
| ) |
| void timer_mac_backoff_fired | ( | ) |
| void timer_mac_periodic_fired | ( | ) |
| void timer_mac_watchdog_fired | ( | ) |
| OpenQueueEntry_t* stupidmac_dataFrameReceived |
| OpenQueueEntry_t* stupidmac_dataFrameToSend |
Implementation of stupidMAC.
| uint8_t stupidmac_dsn |
| OpenQueueEntry_t* stupidmac_packetACK |
| bool stupidmac_serialInOutputMode |
| uint8_t stupidmac_state |