_CoapObserver Struct Reference

Observer. More...

#include <coap_server.h>

Data Fields

CoapObserverState state
 
CoapResourceresource
 Observer state. More...
 
NetInterfaceinterface
 Underlying network interface. More...
 
IpAddr serverIpAddr
 Server's IP address. More...
 
IpAddr clientIpAddr
 Client's IP address. More...
 
uint16_t clientPort
 Client's port. More...
 
CoapMessageType type
 Message type. More...
 
uint16_t mid
 Message identifier. More...
 
uint8_t token [COAP_MAX_TOKEN_LEN]
 Token. More...
 
size_t tokenLen
 Length of the token. More...
 
uint_t retransmitCount
 Retransmission counter. More...
 
systime_t retransmitTimestamp
 Time at which the last message was sent. More...
 
systime_t retransmitTimeout
 Retransmission timeout. More...
 
systime_t ackTimestamp
 Time at which the last acknowledgement was received. More...
 
bool_t changed
 The resource state has changed. More...
 

Detailed Description

Observer.

Definition at line 356 of file coap_server.h.

Field Documentation

◆ ackTimestamp

systime_t ackTimestamp

Time at which the last acknowledgement was received.

Definition at line 371 of file coap_server.h.

◆ changed

bool_t changed

The resource state has changed.

Definition at line 372 of file coap_server.h.

◆ clientIpAddr

IpAddr clientIpAddr

Client's IP address.

Definition at line 362 of file coap_server.h.

◆ clientPort

uint16_t clientPort

Client's port.

Definition at line 363 of file coap_server.h.

◆ interface

NetInterface* interface

Underlying network interface.

Definition at line 360 of file coap_server.h.

◆ mid

uint16_t mid

Message identifier.

Definition at line 365 of file coap_server.h.

◆ resource

CoapResource* resource

Observer state.

Registered resource

Definition at line 359 of file coap_server.h.

◆ retransmitCount

uint_t retransmitCount

Retransmission counter.

Definition at line 368 of file coap_server.h.

◆ retransmitTimeout

systime_t retransmitTimeout

Retransmission timeout.

Definition at line 370 of file coap_server.h.

◆ retransmitTimestamp

systime_t retransmitTimestamp

Time at which the last message was sent.

Definition at line 369 of file coap_server.h.

◆ serverIpAddr

IpAddr serverIpAddr

Server's IP address.

Definition at line 361 of file coap_server.h.

◆ state

Definition at line 358 of file coap_server.h.

◆ token

uint8_t token[COAP_MAX_TOKEN_LEN]

Token.

Definition at line 366 of file coap_server.h.

◆ tokenLen

size_t tokenLen

Length of the token.

Definition at line 367 of file coap_server.h.

◆ type

Message type.

Definition at line 364 of file coap_server.h.


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