CONFIG_MQTT_MSG_MAX_SIZE

Max size of a MQTT message

Type: int

Help

Set the maximum size of the MQTT message. So, no messages longer than CONFIG_MQTT_MSG_SIZE will be processed.

Direct dependencies

MQTT_LIB && NETWORKING

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

Defaults

Kconfig definition

At subsys/net/lib/mqtt/Kconfig:15

Included via Kconfig:10Kconfig.zephyr:35subsys/Kconfig:22subsys/net/Kconfig:93subsys/net/lib/Kconfig:13

Menu path: (top menu) → Networking → Network Protocols

config MQTT_MSG_MAX_SIZE
    int
    prompt "Max size of a MQTT message" if MQTT_LIB && NETWORKING
    range 128 1024 if MQTT_LIB && NETWORKING
    default 128 if MQTT_LIB && NETWORKING
    depends on MQTT_LIB && NETWORKING
    help
      Set the maximum size of the MQTT message. So, no messages
      longer than CONFIG_MQTT_MSG_SIZE will be processed.

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