Companion

Properties

Link copied to clipboard
const val MAX_LENGTH: Int = 65804

RFC 7252 §3.1 allows values up to 65804 bytes; kcoap accepts the full range.

Functions

Link copied to clipboard
fun empty(number: Int): CoapOption
Link copied to clipboard
fun string(number: Int, value: String): CoapOption
Link copied to clipboard
fun uint(number: Int, value: Long): CoapOption