#include "config.h"#include "net/uip-debug.h"#include <string.h>#include "debug.h"#include "coap.h"Go to the source code of this file.
Macros | |
| #define | BUFSIZE 20 |
Functions | |
| PROCESS (coap_server_process,"CoAP server process") | |
| void | init_coap () |
| void | message_handler (struct coap_context_t *ctx, const coap_address_t *remote, coap_pdu_t *sent, coap_pdu_t *received, const coap_tid_t id) |
| PROCESS_THREAD (coap_server_process, ev, data) | |
Variables | |
| static coap_context_t * | coap_context |
| static coap_address_t | dst |
| static char | resource [] = "/s/light" |
| static coap_tick_t | last_seen = 0 |
| AUTOSTART_PROCESSES & | coap_server_process |
| #define BUFSIZE 20 |
| void init_coap | ( | ) |
Definition at line 56 of file coap-observer.c.
| void message_handler | ( | struct coap_context_t * | ctx, |
| const coap_address_t * | remote, | ||
| coap_pdu_t * | sent, | ||
| coap_pdu_t * | received, | ||
| const coap_tid_t | id | ||
| ) |
Definition at line 96 of file coap-observer.c.
| PROCESS | ( | coap_server_process | , |
| "CoAP server process" | |||
| ) |
| PROCESS_THREAD | ( | coap_server_process | , |
| ev | , | ||
| data | |||
| ) |
Definition at line 112 of file coap-observer.c.
|
static |
Definition at line 41 of file coap-observer.c.
| AUTOSTART_PROCESSES& coap_server_process |
Definition at line 53 of file coap-observer.c.
|
static |
Definition at line 44 of file coap-observer.c.
|
static |
Definition at line 50 of file coap-observer.c.
|
static |
Definition at line 47 of file coap-observer.c.
1.8.4