CONFIG_AWS_IOT_LAST_WILL_MESSAGE

Message published to the last will topic

Type: string

Direct dependencies

AWS_IOT_LAST_WILL && AWS_IOT

(Includes any dependencies from ifs and menus.)

Default

  • “{"lastwill": "offline"}”

Kconfig definition

At <nRF>/subsys/net/lib/aws_iot/Kconfig:95

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:9<BuildDir>/Kconfig/Kconfig.modules:1<nRF>/Kconfig.nrf:25<nRF>/subsys/Kconfig:18<nRF>/subsys/net/Kconfig:8<nRF>/subsys/net/lib/Kconfig:11

Menu path: (Top) → Modules → Nordic nRF Connect → Networking → Application protocols → AWS IoT library → This option includes the last will message and topic in the initial MQTT handshake

config AWS_IOT_LAST_WILL_MESSAGE
    string "Message published to the last will topic"
    default "{"lastwill": "offline"}"
    depends on AWS_IOT_LAST_WILL && AWS_IOT

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