Skip to main content
Graduate
July 18, 2024
Solved

netxduo mqtt application

  • July 18, 2024
  • 1 reply
  • 841 views

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.
    Best answer by STea

    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

    1 reply

    STeaAnswer
    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