Reason
Why a message was malformed. New reasons may be added before 1.0; use an else branch.
Entries
Link copied to clipboard
A datagram with a CoAP version other than 1, silently ignored (RFC 7252 §3).
Link copied to clipboard
A message format error (RFC 7252 §3, §3.1, §4.2; RFC 8323 §3.2, §4.2): a header, token, option or payload marker that breaks the encoding, or on a connection a message above the Max-Message-Size this side announced (RFC 8323 §5.3.1).
Properties
Functions
Link copied to clipboard
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Link copied to clipboard
Returns an array containing the constants of this enum type, in the order they're declared.