mikroSDK Reference Manual
coap_server_transport.h
Go to the documentation of this file.
1
31#ifndef _COAP_SERVER_TRANSPORT_H
32#define _COAP_SERVER_TRANSPORT_H
33
34//Dependencies
35#include "core/net.h"
36#include "coap/coap_server.h"
37
38//C++ guard
39#ifdef __cplusplus
40extern "C" {
41#endif
42
43//CoAP server related functions
44error_t coapServerAcceptSession(CoapServerContext *context,
45 CoapDtlsSession *session, const IpAddr *remoteIpAddr, uint16_t remotePort);
46
47error_t coapServerDemultiplexSession(CoapServerContext *context);
48
49void coapServerDeleteSession(CoapDtlsSession *session);
50
51//C++ guard
52#ifdef __cplusplus
53}
54#endif
55
56#endif
CoAP server.
error_t
Error codes.
Definition error.h:43
TCP/IP stack core.
IP network address.
Definition ip.h:72