Module coap_numbers::option
source · Expand description
Constants and functions for CoAP options
Option numbers are expressed as u16 values as that is the range assigned at IANA, and also the practicably expressible range.
Enums§
- Classification of options by their default end-point behavior
- Classification of options by their default proxy behavior
Constants§
- Accept
- Block1
- Block2
- Content-Format
- Echo
- EDHOC
- ETag
- Hop-Limit
- If-Match
- If-None-Match
- Location-Path
- Location-Query
- Max-Age
- No-Response
- Observe
- OCF-Accept-Content-Format-Version
- OCF-Content-Format-Version
- OSCORE
- Proxy-Scheme
- Proxy-Uri
- Q-Block1
- Q-Block2
- Request-Tag
- SCP82-Params
- Size1
- Size2
- Uri-Host
- Uri-Path
- Uri-Port
- Uri-Query
Functions§
- Extract the option’s critical/elective bit
- Extract the option’s proxy safety bit(s)
- Find the name for a CoAP option, if any is known