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_KEEP_USER_DATA

Enable keeping user data in the CoAP packet

Type: bool

Help

This option enables keeping application-specific user data

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:79

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_KEEP_USER_DATA
    bool "Enable keeping user data in the CoAP packet"
    depends on COAP && NETWORKING
    help
      This option enables keeping application-specific user data

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