CoAP is the transport for links where MQTT is more than the budget allows: it
runs over UDP, its headers are a handful of bytes, and a node can fire a
reading and forget it rather than holding a session open. A CoapClient is the
node's end, and a CoapServer the gateway it reports to.
The reliability choice is re-exported as a runtime Reliability
object, because the generated enum is types-only.
Ergonomic facade over the generated CoAP binding.
CoAP is the transport for links where MQTT is more than the budget allows: it runs over UDP, its headers are a handful of bytes, and a node can fire a reading and forget it rather than holding a session open. A
CoapClientis the node's end, and aCoapServerthe gateway it reports to.The reliability choice is re-exported as a runtime Reliability object, because the generated enum is types-only.