Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
coap_resource Struct Reference

Description of CoAP resource. More...

#include <coap.h>

Data Fields

coap_method_t get
 Which function to be called for each CoAP method.
 
coap_method_t post
 
coap_method_t put
 
coap_method_t del
 
coap_method_t fetch
 
coap_method_t patch
 
coap_method_t ipatch
 
coap_notify_t notify
 
const char *const * path
 
void * user_data
 
sys_slist_t observers
 
int age
 

Detailed Description

Description of CoAP resource.

CoAP servers often want to register resources, so that clients can act on them, by fetching their state or requesting updates to them.

Field Documentation

◆ age

int coap_resource::age

◆ del

coap_method_t coap_resource::del

◆ fetch

coap_method_t coap_resource::fetch

◆ get

coap_method_t coap_resource::get

Which function to be called for each CoAP method.

◆ ipatch

coap_method_t coap_resource::ipatch

◆ notify

coap_notify_t coap_resource::notify

◆ observers

sys_slist_t coap_resource::observers

◆ patch

coap_method_t coap_resource::patch

◆ path

const char* const* coap_resource::path

◆ post

coap_method_t coap_resource::post

◆ put

coap_method_t coap_resource::put

◆ user_data

void* coap_resource::user_data

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