Zephyr API Documentation 4.2.0-rc2
A Scalable Open Source RTOS
 4.2.0-rc2
CoAP Manager Events

CoAP Manager Events. More...

Data Structures

struct  net_event_coap_service
 CoAP Service event structure. More...
struct  net_event_coap_observer
 CoAP Observer event structure. More...

Macros

#define NET_EVENT_COAP_SERVICE_STARTED    (NET_COAP_IF_BASE | NET_EVENT_COAP_CMD_SERVICE_STARTED)
 coap_mgmt event raised when a service has started
#define NET_EVENT_COAP_SERVICE_STOPPED    (NET_COAP_IF_BASE | NET_EVENT_COAP_CMD_SERVICE_STOPPED)
 coap_mgmt event raised when a service has stopped
#define NET_EVENT_COAP_OBSERVER_ADDED    (NET_COAP_IF_BASE | NET_EVENT_COAP_CMD_OBSERVER_ADDED)
 coap_mgmt event raised when an observer has been added to a resource
#define NET_EVENT_COAP_OBSERVER_REMOVED    (NET_COAP_IF_BASE | NET_EVENT_COAP_CMD_OBSERVER_REMOVED)
 coap_mgmt event raised when an observer has been removed from a resource

Detailed Description

CoAP Manager Events.

Since
3.6
Version
0.1.0

Macro Definition Documentation

◆ NET_EVENT_COAP_OBSERVER_ADDED

#define NET_EVENT_COAP_OBSERVER_ADDED    (NET_COAP_IF_BASE | NET_EVENT_COAP_CMD_OBSERVER_ADDED)

#include </home/runner/work/zephyr/zephyr/zephyr/include/zephyr/net/coap_mgmt.h>

coap_mgmt event raised when an observer has been added to a resource

◆ NET_EVENT_COAP_OBSERVER_REMOVED

#define NET_EVENT_COAP_OBSERVER_REMOVED    (NET_COAP_IF_BASE | NET_EVENT_COAP_CMD_OBSERVER_REMOVED)

#include </home/runner/work/zephyr/zephyr/zephyr/include/zephyr/net/coap_mgmt.h>

coap_mgmt event raised when an observer has been removed from a resource

◆ NET_EVENT_COAP_SERVICE_STARTED

#define NET_EVENT_COAP_SERVICE_STARTED    (NET_COAP_IF_BASE | NET_EVENT_COAP_CMD_SERVICE_STARTED)

#include </home/runner/work/zephyr/zephyr/zephyr/include/zephyr/net/coap_mgmt.h>

coap_mgmt event raised when a service has started

◆ NET_EVENT_COAP_SERVICE_STOPPED

#define NET_EVENT_COAP_SERVICE_STOPPED    (NET_COAP_IF_BASE | NET_EVENT_COAP_CMD_SERVICE_STOPPED)

#include </home/runner/work/zephyr/zephyr/zephyr/include/zephyr/net/coap_mgmt.h>

coap_mgmt event raised when a service has stopped