MQTT undefined symbol in prj.conf

Hi there

So I want to make an application to send mqtt messages over wifi. I have tried to follow the devzone guide:  Implementing MQTT over Wi-Fi on the nRF7002 Development Kit to implement the mqtt api into my software (Mostly the guide section Stage 3 Connect to the nrf7002DK over MQTT).

I have encountered the following error log during compilation:

.../MT_Wifi6/wifi_basic_connection/prj.conf:95: warning: attempt to assign the value '"pub_topic"' to the undefined symbol MQTT_PUB_TOPIC
.../MT_Wifi6/wifi_basic_connection/prj.conf:96: warning: attempt to assign the value '"sub_topic"' to the undefined symbol MQTT_SUB_TOPIC
.../MT_Wifi6/wifi_basic_connection/prj.conf:97: warning: attempt to assign the value '"192.168.0.22"' to the undefined symbol MQTT_BROKER_HOSTNAME
.../MT_Wifi6/wifi_basic_connection/prj.conf:98: warning: attempt to assign the value '1883' to the undefined symbol MQTT_BROKER_PORT

So somehow the mqqtt configuration symbols are not detected, is there something missing in the configuration files to compile them?
I dont understand why it doesnt find the topic symbols as these prj.conf symbols work: "CONFIG_MQTT_LIB=y
CONFIG_MQTT_LIB_TLS=n
CONFIG_MQTT_CLEAN_SESSION=y
CONFIG_MQTT_LOG_LEVEL_DBG=y"

I have attached the files to the question for a closer look.

wifi_basic_connection.zip

Thanks for your answer

Related