OpenWSN Firmware
|
#include "openwsn.h"
#include "rrt.h"
#include "opencoap.h"
#include "openqueue.h"
#include "packetfunctions.h"
#include "openserial.h"
#include "openrandom.h"
#include "board.h"
#include "idmanager.h"
Functions | |
owerror_t | rrt_receive (OpenQueueEntry_t *msg, coap_header_iht *coap_header, coap_option_iht *coap_options) |
Called when a CoAP message is received for this resource. More... | |
void | rrt_sendDone (OpenQueueEntry_t *msg, owerror_t error) |
The stack indicates that the packet was sent. More... | |
void | rrt_init () |
Initialize this module. More... | |
Variables | |
const uint8_t | rrt_path0 [] = "rt" |
A CoAP resource which indicates the board its running on. More... | |
rrt_vars_t | rrt_vars |
owerror_t rrt_receive | ( | OpenQueueEntry_t * | msg, |
coap_header_iht * | coap_header, | ||
coap_option_iht * | coap_options | ||
) |
Called when a CoAP message is received for this resource.
[in] | msg | The received message. CoAP header and options already parsed. |
[in] | coap_header | The CoAP header contained in the message. |
[in] | coap_options | The CoAP options contained in the message. |
void rrt_sendDone | ( | OpenQueueEntry_t * | msg, |
owerror_t | error | ||
) |
The stack indicates that the packet was sent.
[in] | msg | The CoAP message just sent. |
[in] | error | The outcome of sending it. |
const uint8_t rrt_path0[] = "rt" |
A CoAP resource which indicates the board its running on.
rrt_vars_t rrt_vars |