17 #ifndef LWM2M_REGISTRY_HANDLER_H 18 #define LWM2M_REGISTRY_HANDLER_H 22 #include "sn_coap_header.h" 23 #include "sn_coap_protocol.h" 24 #include "sn_coap_protocol_internal.h" 25 #include "lwm2m_registry.h" 26 #include "lwm2m_endpoint.h" 46 sn_coap_hdr_s *received_coap_header,
47 sn_nsdl_addr_s *address);
70 const uint8_t token_length,
71 const sn_coap_msg_code_e msg_code,
72 const bool notify_result);
80 const uint8_t token_length,
81 const sn_coap_msg_code_e msg_code);
90 #ifdef MBED_CLOUD_CLIENT_DISABLE_REGISTRY 99 const sn_coap_hdr_s *received_coap_header,
106 #endif // LWM2M_REGISTRY_HANDLER_H bool handle_coap_response(endpoint_t *endpoint, sn_coap_hdr_s *received_coap_header)
Handle Constrained Application Protocol (CoAP) response from the server.
bool send_callback_data(const registry_path_t *path, const sn_coap_hdr_s *received_coap_header, const uint8_t type)
Queue a callback to be called.
Describes the path of an item in the LwM2M Object registry.
Definition: lwm2m_types.h:160
void send_final_response(const registry_path_t *path, endpoint_t *endpoint, const uint8_t *token, const uint8_t token_length, const sn_coap_msg_code_e msg_code, const bool notify_result)
Send a response to a execute request.
void handle_coap_request(endpoint_t *endpoint, sn_coap_hdr_s *received_coap_header, sn_nsdl_addr_s *address)
Handle Constrained Application Protocol (CoAP) request from the server.
void response_message_send(endpoint_t *endpoint)
Event queue calls this function when a time slot is available for sending.
void send_execute_response(const registry_path_t *path, endpoint_t *endpoint, const uint8_t *token, const uint8_t token_length, const sn_coap_msg_code_e msg_code)