tests: net: all: Add shell MQTT backend

Test the compilation of shell MQTT backend.

Signed-off-by: Yong Cong Sin <yongcong.sin@gmail.com>
This commit is contained in:
Yong Cong Sin 2022-02-26 16:27:42 +08:00 committed by Carles Cufí
commit 4bcd33bb35

View file

@ -394,6 +394,16 @@ CONFIG_NET_DEBUG_L2_IEEE802154_DISPLAY_PACKET=y
CONFIG_NET_DEBUG_L2_IEEE802154_DISPLAY_PACKET_RX=y
CONFIG_NET_DEBUG_L2_IEEE802154_DISPLAY_PACKET_TX=y
# Shell MQTT backend
CONFIG_LOG=y
CONFIG_SHELL=y
CONFIG_SHELL_BACKEND_MQTT=y
CONFIG_SHELL_MQTT_SERVER_ADDR="www.zephyrproject.org"
CONFIG_SHELL_MQTT_SERVER_PORT=1884
CONFIG_SHELL_MQTT_SERVER_USERNAME="test"
CONFIG_SHELL_MQTT_SERVER_PASSWORD="test"
CONFIG_SHELL_MQTT_INIT_LOG_LEVEL_ERR=y
# OpenThread needs some extra options and needs specific hardware
# and qemu is not supported
#CONFIG_NET_L2_OPENTHREAD=y