mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
net/gcoap: remove gcoap_req_send2()
This commit is contained in:
parent
575cf05112
commit
a33c8b1130
@ -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
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user