31#ifndef _COAP_CLIENT_TRANSPORT_H
32#define _COAP_CLIENT_TRANSPORT_H
44error_t coapClientOpenConnection(CoapClientContext *context);
46error_t coapClientEstablishConnection(CoapClientContext *context,
47 const IpAddr *serverIpAddr, uint16_t serverPort);
49error_t coapClientShutdownConnection(CoapClientContext *context);
51void coapClientCloseConnection(CoapClientContext *context);
53error_t coapClientSendDatagram(CoapClientContext *context,
54 const void *data,
size_t length);
56error_t coapClientReceiveDatagram(CoapClientContext *context,
57 void *data,
size_t size,
size_t *received);
59error_t coapClientWaitForDatagram(CoapClientContext *context,
error_t
Error codes.
Definition error.h:43
uint32_t systime_t
System time.
Definition os_port_none.h:90
IP network address.
Definition ip.h:72