Companion

Properties

Link copied to clipboard
Link copied to clipboard

8 KiB BERT blocks with 512 bytes for header and options (RFC 8323 §5.3.2 implementation note).

Link copied to clipboard

Max-Message-Size is a uint of at most 4 bytes (§5.3.1); kcoap keeps messages within an array.

Link copied to clipboard
const val MIN_MAX_MESSAGE_SIZE: Long = 64

Enough for a header, a token, a few options and a 16-byte block.