Lines Matching full:resource

78  * @brief Define a static CoAP resource owned by the service named @p _service .
80 * @note The handlers registered with the resource can return a CoAP response code to reply with
87 * static int led_put(struct coap_resource *resource, struct coap_packet *request,
110 * @param _name Name of the resource.
156 * @brief Check if service has the specified resource.
159 * @param _resource Pointer to a resource.
248 * @brief Send a CoAP message from the provided @p resource .
250 * @note This function is suitable for a @p resource defined with @ref COAP_RESOURCE_DEFINE.
252 * @param resource Pointer to CoAP resource
259 int coap_resource_send(const struct coap_resource *resource, const struct coap_packet *cpkt,
264 * @brief Parse a CoAP observe request for the provided @p resource .
266 * @note This function is suitable for a @p resource defined with @ref COAP_RESOURCE_DEFINE.
271 * @param resource Pointer to CoAP resource
276 int coap_resource_parse_observe(struct coap_resource *resource, const struct coap_packet *request,
280 * @brief Lookup an observer by address and remove it from the @p resource .
282 * @note This function is suitable for a @p resource defined with @ref COAP_RESOURCE_DEFINE.
284 * @param resource Pointer to CoAP resource
288 int coap_resource_remove_observer_by_addr(struct coap_resource *resource,
292 * @brief Lookup an observer by token and remove it from the @p resource .
294 * @note This function is suitable for a @p resource defined with @ref COAP_RESOURCE_DEFINE.
296 * @param resource Pointer to CoAP resource
301 int coap_resource_remove_observer_by_token(struct coap_resource *resource,