Expand description
Tools for handling the extension encoding of CoAP options
Enums§
- Extension
Error - All the ways decoding an extension value can go wrong
Constants§
- OFFSET_
1B - The offset added to a 1-byte extended value
- OFFSET_
2B - The offset added to a 2-byte extended value
- VALUE_
1B - Nibble value for “1 byte extension”
- VALUE_
2B - Nibble value for “2 byte extension”
- VALUE_
RESERVED - Nibble value reserved for the payload marker
Functions§
- encode_
extensions - Encode delta and length into a small returned buffer
- take_
extension - Decode an extended value.