Contiki-NG
Functions
coap-uip.c File Reference

    CoAP transport implementation for uIPv6
More...

#include "contiki.h"
#include "net/ipv6/uip-udp-packet.h"
#include "net/ipv6/uiplib.h"
#include "net/routing/routing.h"
#include "coap.h"
#include "coap-engine.h"
#include "coap-endpoint.h"
#include "coap-transport.h"
#include "coap-transactions.h"
#include "coap-constants.h"
#include "coap-keystore.h"
#include "coap-keystore-simple.h"
#include "coap-log.h"

Go to the source code of this file.

Functions

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 *buf, size_t size, const coap_endpoint_t *ep)
 Print a CoAP endpoint to a string. More...
 
void coap_endpoint_copy (coap_endpoint_t *destination, const coap_endpoint_t *from)
 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...
 
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...
 
uint8_t * coap_databuf (void)
 Returns a common data buffer that can be used when generating CoAP messages for transmission. More...
 
void coap_transport_init (void)
 Initialize the CoAP transport. More...
 
int coap_sendto (const coap_endpoint_t *ep, const uint8_t *data, uint16_t length)
 Send a message to the specified CoAP endpoint. More...
 

Detailed Description

    CoAP transport implementation for uIPv6
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-uip.c.