CONFIG_AWS_IOT_LAST_WILL_TOPIC

Topic that the last will message is published to

Type: string

Direct dependencies

AWS_IOT_LAST_WILL && AWS_IOT

(Includes any dependencies from ifs and menus.)

Default

  • “lastwilltopic”

Kconfig definition

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

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_TOPIC
    string "Topic that the last will message is published to"
    default "lastwilltopic"
    depends on AWS_IOT_LAST_WILL && AWS_IOT

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