ICoapService class
#include <net/services/coap_service.hpp>
CoAP UDP service abstraction.
This interface is transport-level only. It receives UDP datagrams, calls a provided prf::, and sends encoded CoAP responses back to the request source.
Derived classes
- class CoapService final
- lwIP raw-UDP backed CoAP service.
Constructors, destructors, conversion operators
- ~ICoapService() defaulted virtual
Public functions
- auto is_running() const -> bool pure virtual
- Returns true when listener PCB is active.
- auto start(uint16_t listen_port) -> bool pure virtual
- Opens UDP listener and starts datagram dispatching.
- void stop() pure virtual
- Stops listener and releases UDP resources.