Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 0 additions & 23 deletions sys/include/net/gcoap.h
Original file line number Diff line number Diff line change
Expand Up @@ -791,29 +791,6 @@ size_t gcoap_req_send(const uint8_t *buf, size_t len,
const sock_udp_ep_t *remote,
gcoap_resp_handler_t resp_handler, void *context);

/**
* @brief Sends a buffer containing a CoAP request to the provided endpoint
*
* @deprecated Migration alias for @ref gcoap_req_send(). Will be removed after
* the 2020.01 release.
*
* @param[in] buf Buffer containing the PDU
* @param[in] len Length of the buffer
* @param[in] remote Destination for the packet
* @param[in] resp_handler Callback when response received, may be NULL
* @param[in] context User defined context passed to the response handler
*
* @return length of the packet
* @return 0 if cannot send
*/
static inline size_t gcoap_req_send2(const uint8_t *buf, size_t len,
const sock_udp_ep_t *remote,
gcoap_resp_handler_t resp_handler,
void *context)
{
return gcoap_req_send(buf, len, remote, resp_handler, context);
}

/**
* @brief Initializes a CoAP response packet on a buffer
*
Expand Down