CONFIG_MQTT_MAX_PACKET_LENGTH

Maximum MQTT packet size

Type: int

Help

Maximum MQTT packet size that can be sent (including the fixed and variable header).

Direct dependencies

MQTT_SOCKET_LIB

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

Defaults

Kconfig definition

At ../nrf/subsys/net/lib/mqtt_socket/Kconfig:36

Included via Kconfig:10Kconfig.zephyr:10/jenkins_workspace/workspace/connect-nrf_documentation_master/_build/Kconfig.modules:1/jenkins_workspace/workspace/connect-nrf_documentation_master/ncs/nrf/Kconfig.nrf:9../nrf/subsys/Kconfig:14../nrf/subsys/net/Kconfig:8../nrf/subsys/net/lib/Kconfig:9

Menu path: (top menu) → Nordic nRF Connect → Networking → Application protocols → Socket MQTT Library Support

config MQTT_MAX_PACKET_LENGTH
    int
    prompt "Maximum MQTT packet size" if MQTT_SOCKET_LIB
    default 128 if MQTT_SOCKET_LIB
    depends on MQTT_SOCKET_LIB
    help
      Maximum MQTT packet size that can be sent (including the fixed and
      variable header).

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