ContentFormat

Content-Format identifiers (IANA "CoAP Content-Formats", RFC 7252 §12.3) used across kcoap.

Properties

Link copied to clipboard
const val CBOR: Int = 60
Link copied to clipboard
const val CID_EDHOC_CBOR_SEQ: Int = 65

EDHOC messages prefixed with a connection identifier (RFC 9528 §10.9, Appendix A.2).

Link copied to clipboard
const val EDHOC_CBOR_SEQ: Int = 64

EDHOC messages as a CBOR sequence (RFC 9528 §10.9).

Link copied to clipboard
const val EXI: Int = 47
Link copied to clipboard
const val JSON: Int = 50
Link copied to clipboard
const val LINK_FORMAT: Int = 40
Link copied to clipboard
const val MISSING_BLOCKS_CBOR_SEQ: Int = 272

application/missing-blocks+cbor-seq (RFC 9177 §5, §12.3): the payload of a 4.08 that lists the missing Q-Block1 block numbers as a CBOR Sequence of unsigned integers.

Link copied to clipboard
const val OCTET_STREAM: Int = 42
Link copied to clipboard
const val OSCORE: Int = 10001

OSCORE messages carried over HTTP (RFC 8613 §11).

Link copied to clipboard
const val TEXT_PLAIN: Int = 0
Link copied to clipboard
const val XML: Int = 41