OpenWSN Firmware
r6t.c File Reference
#include "openwsn.h"
#include "r6t.h"
#include "sixtop.h"
#include "idmanager.h"
#include "openqueue.h"
#include "neighbors.h"

Functions

owerror_t r6t_receive (OpenQueueEntry_t *msg, coap_header_iht *coap_header, coap_option_iht *coap_options)
 Receives a command and a list of items to be used by the command. More...
 
void r6t_sendDone (OpenQueueEntry_t *msg, owerror_t error)
 
void r6t_init ()
 

Variables

const uint8_t r6t_path0 [] = "6t"
 CoAP 6top application. More...
 
r6t_vars_t r6t_vars
 

Function Documentation

owerror_t r6t_receive ( OpenQueueEntry_t msg,
coap_header_iht coap_header,
coap_option_iht coap_options 
)

Receives a command and a list of items to be used by the command.

Parameters
[in]msgThe received message. CoAP header and options already parsed.
[in]coap_headerThe CoAP header contained in the message.
[in]coap_optionsThe CoAP options contained in the message.
Returns
Whether the response is prepared successfully.
void r6t_sendDone ( OpenQueueEntry_t msg,
owerror_t  error 
)

Variable Documentation

const uint8_t r6t_path0[] = "6t"
r6t_vars_t r6t_vars