CONFIG_AWS_IOT_LAST_WILL_MESSAGE
Message published to the last will topic
Type: string
Direct dependencies
(Includes any dependencies from ifs and menus.)
Default
“{"lastwill": "offline"}”
Kconfig definition
At <nRF>/subsys/net/lib/aws_iot/Kconfig:121
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:33
→ <Zephyr>/modules/Kconfig:6
→ <nRF>/doc/_build/kconfig/Kconfig.modules:2
→ <nRF>/Kconfig.nrf:92
→ <nRF>/subsys/Kconfig:20
→ <nRF>/subsys/net/Kconfig:8
→ <nRF>/subsys/net/lib/Kconfig:33
Menu path: (Top) → Modules → nrf (/home/runner/work/sdk-nrf/sdk-nrf/ncs/nrf) → Nordic nRF Connect → Networking → Application protocols → AWS IoT library → 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.)