_CoapClientContext Struct Reference

CoAP client context. More...

#include <coap_client.h>

Data Fields

OsMutex mutex
 Mutex preventing simultaneous access to the context. More...
OsEvent event
 Event object used to receive notifications. More...
CoapClientState state
 CoAP client state. More...
CoapTransportProtocol transportProtocol
 Transport protocol (UDP or DTLS) More...
 Underlying network interface. More...
 Underlying UDP socket. More...
 DTLS context. More...
TlsSessionState dtlsSession
 DTLS session state. More...
CoapClientDtlsInitCallback dtlsInitCallback
 DTLS initialization callback. More...
systime_t startTime
 Start time. More...
systime_t timeout
 Timeout value. More...
uint16_t mid
 Message identifier. More...
size_t tokenLen
 Token length. More...
CoapClientRequest request [COAP_CLIENT_NSTART]
 Outstanding CoAP requests. More...
CoapMessage response
 CoAP response message. More...

Detailed Description

CoAP client context.

Definition at line 188 of file coap_client.h.

Field Documentation

◆ dtlsContext

TlsContext* dtlsContext

DTLS context.

Definition at line 197 of file coap_client.h.

◆ dtlsInitCallback

CoapClientDtlsInitCallback dtlsInitCallback

DTLS initialization callback.

Definition at line 199 of file coap_client.h.

◆ dtlsSession

TlsSessionState dtlsSession

DTLS session state.

Definition at line 198 of file coap_client.h.

◆ event

OsEvent event

Event object used to receive notifications.

Definition at line 191 of file coap_client.h.

◆ interface

NetInterface* interface

Underlying network interface.

Definition at line 194 of file coap_client.h.

◆ mid

uint16_t mid

Message identifier.

Definition at line 203 of file coap_client.h.

◆ mutex

OsMutex mutex

Mutex preventing simultaneous access to the context.

Definition at line 190 of file coap_client.h.

◆ request

Outstanding CoAP requests.

Definition at line 205 of file coap_client.h.

◆ response

CoapMessage response

CoAP response message.

Definition at line 206 of file coap_client.h.

◆ socket

Socket* socket

Underlying UDP socket.

Definition at line 195 of file coap_client.h.

◆ startTime

systime_t startTime

Start time.

Definition at line 201 of file coap_client.h.

◆ state

CoAP client state.

Definition at line 192 of file coap_client.h.

◆ timeout

systime_t timeout

Timeout value.

Definition at line 202 of file coap_client.h.

◆ tokenLen

size_t tokenLen

Token length.

Definition at line 204 of file coap_client.h.

◆ transportProtocol

CoapTransportProtocol transportProtocol

Transport protocol (UDP or DTLS)

Definition at line 193 of file coap_client.h.

The documentation for this struct was generated from the following file: