CONFIG_AWS_IOT_LAST_WILL
This option includes the last will message and topic in the initial MQTT handshake
Type: bool
Help
If this option is set a configurable last will topic and message is
provided by the device in the MQTT CONNECT message. Upon a disconnect
from the AWS IoT broker the broker will publish the last will message
to the last will topic.
Defaults
No defaults. Implicitly defaults to n
.
Kconfig definition
At <nRF>/subsys/net/lib/aws_iot/Kconfig:111
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
config AWS_IOT_LAST_WILL
bool "This option includes the last will message and topic in the initial MQTT handshake"
depends on AWS_IOT
help
If this option is set a configurable last will topic and message is
provided by the device in the MQTT CONNECT message. Upon a disconnect
from the AWS IoT broker the broker will publish the last will message
to the last will topic.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)