Implementing MQTT over Wi-Fi on the nRF7002 led does not turn on?

Hi,

I have an nRF7002-DK. I am trying the MQTT over Wi-Fi following this blog below.

https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/implementing-mqtt-over-wi-fi-on-the-nrf7002-development-kit

The difference from the guide is I am using v2.4.2. I tried to change to v2.4.0 but was not successful using VSCode. 

Also I set the CONFIG_MQTT_CLIENT_ID to below. I also set the same at nRF Wi-Fi Provisioner Android App.

CONFIG_MQTT_CLIENT_ID="nRF7002DK_Test_Markel"
At nRF Wi-Fi Provisioner Android App, I can see it publishing from the logs, but the led's does not turn on at nRF7002-DK.
Regards,
Markel
Parents Reply Children
  •  I've had great progress, but I still can't blink the LED on the nRF7002DK (the only thing I want) by commanding LED1ON on my cell phone (MQTT Dashboard) and on my PC (MQTT Explorer and MQTTX).

    I put devacademy/subscribe/topic44, etc... on my cell phone and PC. Messages are only sent between the devices themselves. I.e. When I send LED1ON on the PC it doesn't appear on the cell phone and vice versa, much less does LED1 light up on the nRF7002DK.

    I also inform you that I used the website below to install protobuf (on Ventura and w11) and that the nrf wifi provisioner app seems to have provisioned Ok

    docs.zephyrproject.org/.../README.html

  • From the guide I only changed the MQTT broker to broker.hivemq.com. Makes sure you have provisioned your board using nRF WiFI Provisioner. Every time you program the board you need to unpair the board at your smartphone Bluetooth settings. 

    You need to see the serial terminal logs at VS Studio Code to know what is going on with your board.

    Also at MQTT Dashboard make sure you do not reverse the topics.

    Regards,

    Markel

Related