![]() |
Contiki-NG
|
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. | |
| void | coap_endpoint_print (const coap_endpoint_t *ep) |
| Print a CoAP endpoint. | |
| int | coap_endpoint_snprint (char *buf, size_t size, const coap_endpoint_t *ep) |
| Print a CoAP endpoint to a string. | |
| void | coap_endpoint_copy (coap_endpoint_t *destination, const coap_endpoint_t *from) |
| Copy a CoAP endpoint from one memory area to another. | |
| int | coap_endpoint_cmp (const coap_endpoint_t *e1, const coap_endpoint_t *e2) |
| Compare two CoAP endpoints. | |
| int | coap_endpoint_parse (const char *text, size_t size, coap_endpoint_t *ep) |
| Parse a CoAP endpoint. | |
| int | coap_endpoint_is_secure (const coap_endpoint_t *ep) |
| Check if a CoAP endpoint is secure (encrypted). | |
| int | coap_endpoint_is_connected (const coap_endpoint_t *ep) |
| Check if a CoAP endpoint is connected. | |
| int | coap_endpoint_connect (coap_endpoint_t *ep) |
| Request a connection to a CoAP endpoint. | |
| void | coap_endpoint_disconnect (coap_endpoint_t *ep) |
| Request that any connection to a CoAP endpoint is discontinued. | |
| uint8_t * | coap_databuf (void) |
| Returns a common data buffer that can be used when generating CoAP messages for transmission. | |
| void | coap_transport_init (void) |
| Initialize the CoAP transport. | |
| int | coap_sendto (const coap_endpoint_t *ep, const uint8_t *data, uint16_t length) |
| Send a message to the specified CoAP endpoint. | |
CoAP transport implementation for uIPv6.
Definition in file coap-uip.c.