- Global coap_clear_event_handler (coap_context_t *context)
- Use coap_register_event_handler() instead with NULL for handler.
- 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_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_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.
- 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 (coap_context_t *ctx, coap_tick_t 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 (coap_context_t *ctx, uint32_t timeout_ms)
- Use coap_io_process() instead.
- Global coap_set_event_handler (coap_context_t *context, coap_event_handler_t hnd)
- Use coap_register_event_handler() instead.
- Global coap_write (coap_context_t *ctx, coap_socket_t *sockets[], unsigned int max_sockets, unsigned int *num_sockets, coap_tick_t now)
- Use coap_io_prepare_io() instead.