This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_COAP_EXTENDED_OPTIONS_LEN

Support for CoAP extended options

Type: bool

Help

This option enables the parsing of extended CoAP options length.
CoAP extended options length can be 2 byte value, which
requires more memory. User can save memory by disabling this.
That means only length of maximum 12 bytes are supported by default.
Enable this if length field going to bigger that 12.

Direct dependencies

COAP && NETWORKING

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At subsys/net/lib/coap/Kconfig:37

Included via Kconfig:8Kconfig.zephyr:42subsys/Kconfig:39subsys/net/Kconfig:89subsys/net/lib/Kconfig:6

Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → Network Protocols → CoAP Support

config COAP_EXTENDED_OPTIONS_LEN
    bool "Support for CoAP extended options"
    depends on COAP && NETWORKING
    help
      This option enables the parsing of extended CoAP options length.
      CoAP extended options length can be 2 byte value, which
      requires more memory. User can save memory by disabling this.
      That means only length of maximum 12 bytes are supported by default.
      Enable this if length field going to bigger that 12.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)