Skip to main content
IVent.1
Senior
July 18, 2024
Solved

netxduo mqtt application

Hallo,

I have to question, all about netxduo.

1. how to set the pool size of netxduo at the least value possible

2. I need to use the mqtt client packet.  Is it necessary also to enable the arp protocol, icmp protocol, the TCP protocol, the udp protocol, create the dhcp client  and the SNTP client? Sorry but I haven't found suffcient documentation about netxduo. 

Thank you.

Any help would be very appreciated.

 

This topic has been closed for replies.
STeaBest answer
ST Employee
September 16, 2024

Hello @IVent.1 ,

ICMP is not necessary for MQTT to work, it is useful in network diagnosis such as ping.

UDP is not required TCP is DHCP could be if you are using dynamic addressing to set the IP address to the board SNTP not needed.
you can check the MQTT addon and check the examples of MQTT DEVELOPED for B-U585I-IOT02A:

STM32CubeU5/Projects/B-U585I-IOT02A/Applications/NetXDuo/Nx_MQTT_Client at main · STMicroelectronics/STM32CubeU5 (github.com)


Regards

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

1 reply

STeaBest answer
ST Employee
September 16, 2024

Hello @IVent.1 ,

ICMP is not necessary for MQTT to work, it is useful in network diagnosis such as ping.

UDP is not required TCP is DHCP could be if you are using dynamic addressing to set the IP address to the board SNTP not needed.
you can check the MQTT addon and check the examples of MQTT DEVELOPED for B-U585I-IOT02A:

STM32CubeU5/Projects/B-U585I-IOT02A/Applications/NetXDuo/Nx_MQTT_Client at main · STMicroelectronics/STM32CubeU5 (github.com)


Regards

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.