Loading...
Searching...
No Matches
gcoap_observe_memo_t Struct Reference

Memo for Observe registration and notifications. More...

Detailed Description

Memo for Observe registration and notifications.

Definition at line 838 of file gcoap.h.

#include <gcoap.h>

Data Fields

sock_udp_ep_tobserver
 Client endpoint; unused if null.
 
const coap_resource_tresource
 Entity being observed.
 
uint8_t token [GCOAP_TOKENLEN_MAX]
 Client token for notifications.
 
uint16_t last_msgid
 Message ID of last notification.
 
unsigned token_len
 Actual length of token attribute.
 
gcoap_socket_t socket
 Transport type to observer.
 

Field Documentation

◆ last_msgid

uint16_t gcoap_observe_memo_t::last_msgid

Message ID of last notification.

Definition at line 842 of file gcoap.h.

◆ observer

sock_udp_ep_t* gcoap_observe_memo_t::observer

Client endpoint; unused if null.

Definition at line 839 of file gcoap.h.

◆ resource

const coap_resource_t* gcoap_observe_memo_t::resource

Entity being observed.

Definition at line 840 of file gcoap.h.

◆ socket

gcoap_socket_t gcoap_observe_memo_t::socket

Transport type to observer.

Definition at line 844 of file gcoap.h.

◆ token

uint8_t gcoap_observe_memo_t::token[GCOAP_TOKENLEN_MAX]

Client token for notifications.

Definition at line 841 of file gcoap.h.

◆ token_len

unsigned gcoap_observe_memo_t::token_len

Actual length of token attribute.

Definition at line 843 of file gcoap.h.


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