ping

suspend fun ping(uri: CoapUri): Boolean(source)

CoAP ping of the server at uri: an Empty Confirmable message over UDP (RFC 7252 §4.3), true if it answered with a Reset (or ACK); a Ping over a reliable transport (RFC 8323 §5.4), true if the Pong came.


suspend fun ping(uri: String): Boolean(source)

CoAP ping of the server at the CoAP URI uri.