-
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:85
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
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.)