Contiki-NG
Functions
coap-endpoint.h File Reference

    API to address CoAP endpoints
More...

#include "contiki.h"
#include <stdlib.h>
#include "net/ipv6/uip.h"

Go to the source code of this file.

Functions

void coap_endpoint_copy (coap_endpoint_t *dest, const coap_endpoint_t *src)
 Copy a CoAP endpoint from one memory area to another. More...
 
int coap_endpoint_cmp (const coap_endpoint_t *e1, const coap_endpoint_t *e2)
 Compare two CoAP endpoints. More...
 
void coap_endpoint_log (const coap_endpoint_t *ep)
 Print a CoAP endpoint via the logging module. More...
 
void coap_endpoint_print (const coap_endpoint_t *ep)
 Print a CoAP endpoint. More...
 
int coap_endpoint_snprint (char *str, size_t size, const coap_endpoint_t *ep)
 Print a CoAP endpoint to a string. More...
 
int coap_endpoint_parse (const char *text, size_t size, coap_endpoint_t *ep)
 Parse a CoAP endpoint. More...
 
int coap_endpoint_is_secure (const coap_endpoint_t *ep)
 Check if a CoAP endpoint is secure (encrypted). More...
 
int coap_endpoint_is_connected (const coap_endpoint_t *ep)
 Check if a CoAP endpoint is connected. More...
 
int coap_endpoint_connect (coap_endpoint_t *ep)
 Request a connection to a CoAP endpoint. More...
 
void coap_endpoint_disconnect (coap_endpoint_t *ep)
 Request that any connection to a CoAP endpoint is discontinued. More...
 

Detailed Description

    API to address CoAP endpoints
Author
Niclas Finne nfi@s.nosp@m.ics..nosp@m.se Joakim Eriksson joaki.nosp@m.me@s.nosp@m.ics.s.nosp@m.e

Definition in file coap-endpoint.h.