|
Zephyr Project API
3.2.0
A Scalable Open Source RTOS
|
Description of CoAP resource. More...
#include <coap.h>
Data Fields | |
| coap_method_t | get |
| 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 |
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.
| int coap_resource::age |
| coap_method_t coap_resource::del |
| coap_method_t coap_resource::fetch |
| coap_method_t coap_resource::get |
Which function to be called for each CoAP method
| coap_method_t coap_resource::ipatch |
| coap_notify_t coap_resource::notify |
| sys_slist_t coap_resource::observers |
| coap_method_t coap_resource::patch |
| const char* const* coap_resource::path |
| coap_method_t coap_resource::post |
| coap_method_t coap_resource::put |
| void* coap_resource::user_data |