The latest development version of this page may be more current than this released 1.14.1 version.
CONFIG_LWM2M_LOCAL_PORT

LWM2M client port

Type: int

Help

This is the client port for LWM2M communication. The default setting of 0 sets a random port for the client to be used for outgoing communication.

Direct dependencies

LWM2M && NETWORKING

(Includes any dependencies from if’s and menus.)

Defaults

Kconfig definition

At subsys/net/lib/lwm2m/Kconfig:85

Included via Kconfig:10Kconfig.zephyr:39subsys/Kconfig:24subsys/net/Kconfig:84subsys/net/lib/Kconfig:17

Menu path: (top menu) → Networking → Network Protocols → OMA LWM2M protocol stack

config LWM2M_LOCAL_PORT
    int
    prompt "LWM2M client port" if LWM2M && NETWORKING
    default 0 if LWM2M && NETWORKING
    depends on LWM2M && NETWORKING
    help
      This is the client port for LWM2M communication.  The default
      setting of 0 sets a random port for the client to be used for
      outgoing communication.

(Definitions include propagated dependencies, including from if’s and menus.)