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

Data Structures

struct  rex_vars_t
 

Macros

#define REXPERIOD   10000
 An example CoAP application. More...
 
#define PAYLOADLEN   62
 

Functions

owerror_t rex_receive (OpenQueueEntry_t *msg, coap_header_iht *coap_header, coap_option_iht *coap_options)
 
void rex_timer_cb (void)
 
void rex_task_cb (void)
 
void rex_sendDone (OpenQueueEntry_t *msg, owerror_t error)
 
void rex_init ()
 

Variables

const uint8_t rex_path0 [] = "rex"
 
rex_vars_t rex_vars
 

Macro Definition Documentation

#define PAYLOADLEN   62
#define REXPERIOD   10000

An example CoAP application.

inter-packet period (in ms)

Function Documentation

owerror_t rex_receive ( OpenQueueEntry_t msg,
coap_header_iht coap_header,
coap_option_iht coap_options 
)
void rex_sendDone ( OpenQueueEntry_t msg,
owerror_t  error 
)
void rex_task_cb ( void  )
void rex_timer_cb ( void  )

Variable Documentation

const uint8_t rex_path0[] = "rex"
rex_vars_t rex_vars