OpenWSN Firmware
openqueue.c File Reference
#include "openwsn.h"
#include "openqueue.h"
#include "openserial.h"
#include "packetfunctions.h"
#include "IEEE802154E.h"

Functions

void openqueue_reset_entry (OpenQueueEntry_t *entry)
 
void openqueue_init ()
 Initialize this module. More...
 
bool debugPrint_queue ()
 Trigger this module to print status information, over serial. More...
 
OpenQueueEntry_topenqueue_getFreePacketBuffer (uint8_t creator)
 Request a new (free) packet buffer. More...
 
owerror_t openqueue_freePacketBuffer (OpenQueueEntry_t *pkt)
 Free a previously-allocated packet buffer. More...
 
void openqueue_removeAllCreatedBy (uint8_t creator)
 Free all the packet buffers created by a specific module. More...
 
void openqueue_removeAllOwnedBy (uint8_t owner)
 Free all the packet buffers owned by a specific module. More...
 
OpenQueueEntry_topenqueue_sixtopGetSentPacket ()
 
OpenQueueEntry_topenqueue_sixtopGetReceivedPacket ()
 
OpenQueueEntry_topenqueue_macGetDataPacket (open_addr_t *toNeighbor)
 
OpenQueueEntry_topenqueue_macGetAdvPacket ()
 

Variables

openqueue_vars_t openqueue_vars
 

Function Documentation

void openqueue_reset_entry ( OpenQueueEntry_t entry)

Variable Documentation

openqueue_vars_t openqueue_vars