nRF7002 DK not able to connect to Beebotte MQTT broker after setting correct username

Hi,

I have nRF7002 DK and have previously connected to broker.hivemq.com following the guide below.

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

Now, I am trying to connect Beebotte MQTT, because I need to connect MQTT to IFTTT. Beebotte MQTT enable me to do that. To connect to Beebotte MQTT, a username is required "token_xxxxxxxxxx". I used MQTTBox at windows to connect to Beebotte using these client settings below. I confirmed the payload was received at Beebotte.

However, using nRF7002 DK setting the correct username and subscription topic does not work and it disconnects.

Here are my logs below showing MQTT disconnection.

[00:00:52.251,831] <inf> MQTT_OVER_WIFI: Connecting to MQTT Broker...
[00:00:52.634,246] <inf> MQTT_OVER_WIFI: IPv4 Address found 54.221.205.80
[00:00:52.634,277] <inf> MQTT_OVER_WIFI: MQTT Broker: mqtt.beebotte.com
[00:00:52.634,277] <inf> MQTT_OVER_WIFI: Port: 1883
[00:00:52.894,592] <inf> net_mqtt: Connect completed
[00:00:53.203,857] <err> MQTT_OVER_WIFI: MQTT connect failed: 5
[00:00:53.203,887] <inf> net_mqtt_sock_tcp: Closing socket 7
[00:00:53.208,251] <inf> MQTT_OVER_WIFI: MQTT client disconnected: -111
[00:00:53.208,282] <err> MQTT_OVER_WIFI: Error in mqtt_input: -111
[00:00:53.208,282] <inf> MQTT_OVER_WIFI: Disconnecting MQTT client
[00:00:53.208,312] <err> MQTT_OVER_WIFI: Could not disconnect MQTT client: -128

Is there anything wrong on how I set the MQTT username at code?

Regards,

Markel

Parents Reply Children
No Data