gcoap: rename gcoap_req_send2() to gcoap_req_send()
This commit is contained in:
parent
affd115405
commit
a11f817604
@ -592,7 +592,7 @@ static inline ssize_t gcoap_request(coap_pkt_t *pdu, uint8_t *buf, size_t len,
|
|||||||
* @return length of the packet
|
* @return length of the packet
|
||||||
* @return 0 if cannot send
|
* @return 0 if cannot send
|
||||||
*/
|
*/
|
||||||
size_t gcoap_req_send2(const uint8_t *buf, size_t len,
|
size_t gcoap_req_send(const uint8_t *buf, size_t len,
|
||||||
const sock_udp_ep_t *remote,
|
const sock_udp_ep_t *remote,
|
||||||
gcoap_resp_handler_t resp_handler);
|
gcoap_resp_handler_t resp_handler);
|
||||||
|
|
||||||
|
|||||||
@ -707,7 +707,7 @@ ssize_t gcoap_finish(coap_pkt_t *pdu, size_t payload_len, unsigned format)
|
|||||||
return pdu->payload_len + (pdu->payload - (uint8_t *)pdu->hdr);
|
return pdu->payload_len + (pdu->payload - (uint8_t *)pdu->hdr);
|
||||||
}
|
}
|
||||||
|
|
||||||
size_t gcoap_req_send2(const uint8_t *buf, size_t len,
|
size_t gcoap_req_send(const uint8_t *buf, size_t len,
|
||||||
const sock_udp_ep_t *remote,
|
const sock_udp_ep_t *remote,
|
||||||
gcoap_resp_handler_t resp_handler)
|
gcoap_resp_handler_t resp_handler)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user