CONFIG_LWM2M_QUEUE_MODE_UPTIME

Specify time the LWM2M client should stay online in queue mode.

Type: int

Help

This config specifies time (in seconds) the device should stay online after sending a message to the server. Note, that LWM2M specification recommends this to be CoAP MAX_TRANSMIT_WAIT parameter (which defaults to 93 seconds, see RFC 7252), it does not forbid other values though.

Direct dependencies

LWM2M && NETWORKING

(Includes any dependencies from ifs and menus.)

Default

  • 93

Kconfig definition

At <Zephyr>/subsys/net/lib/lwm2m/Kconfig:101

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:34<Zephyr>/subsys/net/Kconfig:89<Zephyr>/subsys/net/lib/Kconfig:18

Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → Network Protocols → OMA LWM2M protocol stack

config LWM2M_QUEUE_MODE_UPTIME
    int "Specify time the LWM2M client should stay online in queue mode."
    default 93
    depends on LWM2M && NETWORKING
    help
      This config specifies time (in seconds) the device should stay online
      after sending a message to the server. Note, that LWM2M specification
      recommends this to be CoAP MAX_TRANSMIT_WAIT parameter (which
      defaults to 93 seconds, see RFC 7252), it does not forbid other
      values though.

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