cancel
Showing results for 
Search instead for 
Did you mean: 

netxduo mqtt application

IVent.1
Senior

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.

 

1 ACCEPTED SOLUTION

Accepted Solutions
STea
ST Employee

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.

View solution in original post

1 REPLY 1
STea
ST Employee

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.