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 861 of file gcoap.h.

#include <gcoap.h>

Data Fields

sock_udp_ep_tobserver
 Client endpoint; unused if null.
 
sock_udp_ep_tnotifier
 Local endpoint to send notifications.
 
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 866 of file gcoap.h.

◆ notifier

sock_udp_ep_t* gcoap_observe_memo_t::notifier

Local endpoint to send notifications.

Definition at line 863 of file gcoap.h.

◆ observer

sock_udp_ep_t* gcoap_observe_memo_t::observer

Client endpoint; unused if null.

Definition at line 862 of file gcoap.h.

◆ resource

const coap_resource_t* gcoap_observe_memo_t::resource

Entity being observed.

Definition at line 864 of file gcoap.h.

◆ socket

gcoap_socket_t gcoap_observe_memo_t::socket

Transport type to observer.

Definition at line 868 of file gcoap.h.

◆ token

uint8_t gcoap_observe_memo_t::token[GCOAP_TOKENLEN_MAX]

Client token for notifications.

Definition at line 865 of file gcoap.h.

◆ token_len

unsigned gcoap_observe_memo_t::token_len

Actual length of token attribute.

Definition at line 867 of file gcoap.h.


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