OpenWSN Firmware
layerdebug.c File Reference
#include "openwsn.h"
#include "opencoap.h"
#include "opentimers.h"
#include "openqueue.h"
#include "packetfunctions.h"
#include "openserial.h"
#include "openrandom.h"
#include "scheduler.h"
#include "IEEE802154E.h"
#include "idmanager.h"
#include "neighbors.h"
#include "schedule.h"

Data Structures

struct  layerdebug_vars_t
 

Macros

#define DEBUGPERIODNBS   11000
 inter-packet period (in ms) More...
 
#define DEBUGPERIODSCH   7000
 

Functions

owerror_t layerdebug_schedule_receive (OpenQueueEntry_t *msg, coap_header_iht *coap_header, coap_option_iht *coap_options)
 
owerror_t layerdebug_neighbors_receive (OpenQueueEntry_t *msg, coap_header_iht *coap_header, coap_option_iht *coap_options)
 
void layerdebug_timer_schedule_cb (void)
 
void layerdebug_timer_neighbors_cb (void)
 
void layerdebug_task_schedule_cb (void)
 
void layerdebug_task_neighbors_cb (void)
 
void layerdebug_sendDone (OpenQueueEntry_t *msg, owerror_t error)
 
void layerdebug_init ()
 

Variables

const uint8_t schedule_layerdebug_path0 [] = "d_s"
 
const uint8_t neighbors_layerdebug_path0 [] = "d_n"
 
layerdebug_vars_t layerdebug_vars
 

Macro Definition Documentation

#define DEBUGPERIODNBS   11000

inter-packet period (in ms)

#define DEBUGPERIODSCH   7000

Function Documentation

owerror_t layerdebug_neighbors_receive ( OpenQueueEntry_t msg,
coap_header_iht coap_header,
coap_option_iht coap_options 
)
owerror_t layerdebug_schedule_receive ( OpenQueueEntry_t msg,
coap_header_iht coap_header,
coap_option_iht coap_options 
)
void layerdebug_sendDone ( OpenQueueEntry_t msg,
owerror_t  error 
)
void layerdebug_task_neighbors_cb ( void  )
void layerdebug_task_schedule_cb ( void  )
void layerdebug_timer_neighbors_cb ( void  )
void layerdebug_timer_schedule_cb ( void  )

Variable Documentation

layerdebug_vars_t layerdebug_vars
const uint8_t neighbors_layerdebug_path0[] = "d_n"
const uint8_t schedule_layerdebug_path0[] = "d_s"