libcoap 4.3.5-develop-19cef11
Deprecated List
Global coap_clear_event_handler (coap_context_t *context)
Use coap_register_event_handler() instead with NULL for handler.
Global coap_context_get_csm_timeout (const coap_context_t *context)
Use coap_context_get_csm_timeout_ms() instead.
Global coap_context_set_csm_timeout (coap_context_t *context, unsigned int csm_timeout)
Use coap_context_set_csm_timeout_ms() instead.
Global coap_context_set_psk (coap_context_t *context, const char *hint, const uint8_t *key, size_t key_len)
Use coap_context_set_psk2() instead.
Global coap_context_set_psk_lkd (coap_context_t *context, const char *hint, const uint8_t *key, size_t key_len)
Use coap_context_set_psk2() instead.
Global coap_encode_var_bytes (uint8_t *buf, unsigned int value)
Use coap_encode_var_safe() instead. Provided for backward compatibility. As value has a maximum value of 0xffffffff, and buf is usually defined as an array, it is unsafe to continue to use this variant if buf[] is less than buf[4].
Global coap_get_app_data (const coap_context_t *context)
Use coap_context_get_app_data() instead.
Global COAP_INVALID_TID
Use COAP_INVALID_MID instead.
Global coap_new_client_session_psk (coap_context_t *ctx, const coap_address_t *local_if, const coap_address_t *server, coap_proto_t proto, const char *identity, const uint8_t *key, unsigned key_len)
Use coap_new_client_session_psk2() instead.
Global coap_new_client_session_psk_lkd (coap_context_t *ctx, const coap_address_t *local_if, const coap_address_t *server, coap_proto_t proto, const char *identity, const uint8_t *key, unsigned key_len)
Use coap_new_client_session_psk2_lkd() instead.
Class coap_option
Use coap_optlist_t instead.
Global coap_option_clrb (coap_opt_filter_t *filter, uint16_t type)
Use coap_option_filter_unset() instead.
Global coap_option_getb (coap_opt_filter_t *filter, uint16_t type)
Use coap_option_filter_get() instead.
Global coap_option_setb (coap_opt_filter_t *filter, uint16_t type)
Use coap_option_filter_set() instead.
Global coap_read (ctx, now)
Use coap_io_do_io() instead.
Global coap_register_handler (coap_resource_t *resource, coap_request_t method, coap_method_handler_t handler)
use coap_register_request_handler() instead.
Global coap_resource_set_dirty (coap_resource_t *r, const coap_string_t *query)
use coap_resource_notify_observers() instead.
Global coap_run_once (ctx, timeout_ms)
Use coap_io_process() instead.
Global coap_set_app_data (coap_context_t *context, void *data)
Use coap_context_set_app_data() instead.
Global coap_set_event_handler (coap_context_t *context, coap_event_handler_t hnd)
Use coap_register_event_handler() instead.
Global coap_write (ctx, sockets, max_sockets, num_sockets, now)
Use coap_io_prepare_io() instead.