49 #ifndef COAP_TRANSPORT_H_ 50 #define COAP_TRANSPORT_H_ 72 int coap_sendto(
const coap_endpoint_t *ep,
const uint8_t *data, uint16_t len);
API to address CoAP endpoints
void coap_transport_init(void)
Initialize the CoAP transport.
int coap_sendto(const coap_endpoint_t *ep, const uint8_t *data, uint16_t len)
Send a message to the specified CoAP endpoint.
uint8_t * coap_databuf(void)
Returns a common data buffer that can be used when generating CoAP messages for transmission.