Lines Matching full:coap
3 CoAP server
13 Zephyr comes with a batteries-included CoAP server, which uses services to listen for CoAP
14 requests. The CoAP services handle communication over sockets and pass requests to registered
15 CoAP resources.
20 Some configuration is required to make sure services can be started using the CoAP server. The
64 Services defined with the ``COAP_SERVICE_AUTOSTART`` flag will be started together with the CoAP
71 The following is an example of a CoAP resource registered with our service:
114 /* Return a CoAP response code as a shortcut for an empty ACK message */
127 As demonstrated in the example above, a CoAP resource handler can return response codes to let
133 The CoAP server provides logic for parsing observe requests and stores these using the runtime data
134 of CoAP services. An example using a temperature sensor can look like:
198 /* Let the CoAP server parse the request and add/remove observers if needed */
231 CoAP Events
234 By enabling :kconfig:option:`CONFIG_NET_MGMT_EVENT` the user can register for CoAP events. The
251 printk("CoAP observer added");
254 printk("CoAP observer removed");
260 printk("CoAP service %s started", net_event->service->name);
262 printk("CoAP service started");
269 printk("CoAP service %s stopped", net_event->service->name);
271 printk("CoAP service stopped");