Private API.
More...
#include <stdint.h>
#include <alloca.h>
#include "mutex.h"
#include "bitfield.h"
#include "architecture.h"
#include "random.h"
#include "net/unicoap.h"
#include "private/state.h"
#include "private/packet.h"
#include "private/messaging.h"
Go to the source code of this file.
|
| #define | UNICOAP_THREAD_IDENTIFIER "unicoap" |
| | Name of background thread spawned upon calls to unicoap_init.
|
| |
|
kernel_pid_t | _unicoap_pid |
| | PID of unicoap thread.
|
| |
|
void | unicoap_state_lock (void) |
| | Locks internal state lock.
|
| |
|
void | unicoap_state_unlock (void) |
| | Unlocks internal state lock.
|
| |
|
| #define | UNICOAP_OPTIONS_ALLOCA(name, capacity) |
| | Dynamically allocates options with buffer capacity on stack at runtime.
|
| |
|
| static void | unicoap_set_listeners (unicoap_state_t *state, unicoap_listener_t *listeners) |
| | Sets listener array on state object to listeners.
|
| |
| static unicoap_listener_t * | unicoap_get_listeners (unicoap_state_t *state) |
| | Gets listener array from state object.
|
| |
|
int | unicoap_init_udp (event_queue_t *queue) |
| | Initializes the CoAP over UDP driver on the given queue.
|
| |
|
int | unicoap_deinit_udp (event_queue_t *queue) |
| | Deinitializes the CoAP over UDP driver on the given queue.
|
| |
|
int | unicoap_init_dtls (event_queue_t *queue) |
| | Initializes the CoAP over DTLS over UDP driver on the given queue.
|
| |
|
int | unicoap_deinit_dtls (event_queue_t *queue) |
| | Deinitializes the CoAP over DTLS over UDP driver on the given queue.
|
| |
|
int | unicoap_init_slipmux (event_queue_t *queue) |
| | Initializes the CoAP over Slipmux driver on the given queue.
|
| |
|
int | unicoap_deinit_slipmux (event_queue_t *queue) |
| | Deinitializes the CoAP over Slipmux driver on the given queue.
|
| |
|
int | unicoap_init_rfc7252_common (event_queue_t *queue) |
| | Initializes the common RFC 7252 driver on the given queue.
|
| |
|
int | unicoap_deinit_rfc7252_common (event_queue_t *queue) |
| | DeiInitializes the common RFC 7252 driver on the given queue.
|
| |