eclipse-threadx / netxduo

Eclipse ThreadX - NetXDuo is an advanced, industrial-grade TCP/IP network stack designed specifically for deeply embedded real-time and IoT applications
https://github.com/eclipse-threadx/rtos-docs/blob/main/rtos-docs/netx-duo/index.md
MIT License
246 stars 141 forks source link

Notify MQTT_CONTROL_PACKET_TYPE_PUBACK event to user #201

Closed ZerAtaii closed 12 months ago

ZerAtaii commented 1 year ago

Hi ! I use NetxDuo MQTT Client to exchange data with the Azure cloud. Currently, when sending an MQTT message, the application returns an OK to the user via the "nx_azure_iot_publish_mqtt_packet" function. Would it be possible to have feedback when the "MQTT_CONTROL_PACKET_TYPE_PUBACK" event is received? Does a callback method already exist?

Best regards, Antoine

bo-ms commented 1 year ago

Hi @ZerAtaii Thanks for reaching out to us. Currently, Azure RTOS does not have callback to track PUBACK. We will check this feature internally and keep you updated.

bo-ms commented 1 year ago

Hi @ZerAtaii A new callback will be added for tracking telemetry ack, I will let you know when we publish the code on GitHub.

bo-ms commented 12 months ago

Hi @ZerAtaii The new feature of tracking telemetry ack is added in #214

ZerAtaii commented 12 months ago

Hi @bo-ms, Thank you for the job :)