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 <Zephyr>/subsys/net/lib/coap/Kconfig:37

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:37<Zephyr>/subsys/net/Kconfig:89<Zephyr>/subsys/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.)