CoAP server context. More...
#include <coap_server.h>
Data Fields | |
| NetContext * | netContext |
| TCP/IP stack context. More... | |
| NetInterface * | interface |
| Underlying network interface. More... | |
| uint16_t | port |
| CoAP port number. More... | |
| CoapServerUdpInitCallback | udpInitCallback |
| UDP initialization callback. More... | |
| CoapServerDtlsInitCallback | dtlsInitCallback |
| DTLS initialization callback. More... | |
| CoapServerRequestCallback | requestCallback |
| CoAP request callback. More... | |
| bool_t | running |
| Operational state of the CoAP server. More... | |
| bool_t | stop |
| Stop request. More... | |
| OsEvent | event |
| Event object used to poll the underlying socket. More... | |
| OsTaskParameters | taskParams |
| Task parameters. More... | |
| OsTaskId | taskId |
| Task identifier. More... | |
| Socket * | socket |
| Underlying socket. More... | |
| IpAddr | serverIpAddr |
| Server's IP address. More... | |
| IpAddr | clientIpAddr |
| Client's IP address. More... | |
| uint16_t | clientPort |
| Client's port. More... | |
| uint8_t | cookieSecret [COAP_SERVER_MAX_COOKIE_SECRET_SIZE] |
| Cookie secret. More... | |
| size_t | cookieSecretLen |
| Length of the cookie secret, in bytes. More... | |
| CoapDtlsSession | session [COAP_SERVER_MAX_SESSIONS] |
| DTLS sessions. More... | |
| uint8_t | buffer [COAP_SERVER_BUFFER_SIZE] |
| Memory buffer for input/output operations. More... | |
| size_t | bufferLen |
| Length of the buffer, in bytes. More... | |
| char_t | uri [COAP_SERVER_MAX_URI_LEN+1] |
| Resource identifier. More... | |
| CoapMessage | request |
| CoAP request message. More... | |
| CoapMessage | response |
| CoAP response message. More... | |
Detailed Description
CoAP server context.
Definition at line 201 of file coap_server.h.
Field Documentation
◆ buffer
| uint8_t buffer[COAP_SERVER_BUFFER_SIZE] |
Memory buffer for input/output operations.
Definition at line 225 of file coap_server.h.
◆ bufferLen
| size_t bufferLen |
Length of the buffer, in bytes.
Definition at line 226 of file coap_server.h.
◆ clientIpAddr
| IpAddr clientIpAddr |
Client's IP address.
Definition at line 218 of file coap_server.h.
◆ clientPort
| uint16_t clientPort |
Client's port.
Definition at line 219 of file coap_server.h.
◆ cookieSecret
| uint8_t cookieSecret[COAP_SERVER_MAX_COOKIE_SECRET_SIZE] |
Cookie secret.
Definition at line 221 of file coap_server.h.
◆ cookieSecretLen
| size_t cookieSecretLen |
Length of the cookie secret, in bytes.
Definition at line 222 of file coap_server.h.
◆ dtlsInitCallback
| CoapServerDtlsInitCallback dtlsInitCallback |
DTLS initialization callback.
Definition at line 208 of file coap_server.h.
◆ event
| OsEvent event |
Event object used to poll the underlying socket.
Definition at line 213 of file coap_server.h.
◆ interface
| NetInterface* interface |
Underlying network interface.
Definition at line 204 of file coap_server.h.
◆ netContext
| NetContext* netContext |
TCP/IP stack context.
Definition at line 203 of file coap_server.h.
◆ port
| uint16_t port |
CoAP port number.
Definition at line 205 of file coap_server.h.
◆ request
| CoapMessage request |
CoAP request message.
Definition at line 228 of file coap_server.h.
◆ requestCallback
| CoapServerRequestCallback requestCallback |
CoAP request callback.
Definition at line 210 of file coap_server.h.
◆ response
| CoapMessage response |
CoAP response message.
Definition at line 229 of file coap_server.h.
◆ running
| bool_t running |
Operational state of the CoAP server.
Definition at line 211 of file coap_server.h.
◆ serverIpAddr
| IpAddr serverIpAddr |
Server's IP address.
Definition at line 217 of file coap_server.h.
◆ session
| CoapDtlsSession session[COAP_SERVER_MAX_SESSIONS] |
DTLS sessions.
Definition at line 223 of file coap_server.h.
◆ socket
| Socket* socket |
Underlying socket.
Definition at line 216 of file coap_server.h.
◆ stop
| bool_t stop |
Stop request.
Definition at line 212 of file coap_server.h.
◆ taskId
| OsTaskId taskId |
Task identifier.
Definition at line 215 of file coap_server.h.
◆ taskParams
| OsTaskParameters taskParams |
Task parameters.
Definition at line 214 of file coap_server.h.
◆ udpInitCallback
| CoapServerUdpInitCallback udpInitCallback |
UDP initialization callback.
Definition at line 206 of file coap_server.h.
◆ uri
| char_t uri[COAP_SERVER_MAX_URI_LEN+1] |
Resource identifier.
Definition at line 227 of file coap_server.h.
The documentation for this struct was generated from the following file:
- cyclone_tcp/coap/coap_server.h
