SignalingOptionDefinition

class SignalingOptionDefinition(val codes: Set<CoapCode>, val number: Int, val name: String, val format: OptionFormat, val minLength: Int, val maxLength: Int, val repeatable: Boolean, val reference: String = "RFC 8323")(source)

A Signaling Option (RFC 8323 §5.2, §11.2). Signaling option numbers are scoped to their signaling code: 2 is Max-Message-Size in a CSM, Custody in a Ping or Pong, Alternative-Address in a Release and Bad-CSM-Option in an Abort. They share no number space with the request and response options of CoapOptions. Critical or elective follows from the number as in RFC 7252 §5.4.6.

Constructors

Link copied to clipboard
constructor(codes: Set<CoapCode>, number: Int, name: String, format: OptionFormat, minLength: Int, maxLength: Int, repeatable: Boolean, reference: String = "RFC 8323")

Properties

Link copied to clipboard

the signaling codes the option applies to.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val number: Int
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String