Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pkg/paho-mqtt: Update doc.txt #21136

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

DeJusten
Copy link

Add some Information about the paho stack in the doc.txt file

Contribution description

  • Add some Information about the MQTT Version und the runnin behavior

Testing procedure

  • Only documentation, no testing necessary

Issues/PRs references

Add some Information about the paho stack
@github-actions github-actions bot added Area: network Area: Networking Area: doc Area: Documentation Area: pkg Area: External package ports labels Jan 14, 2025
@benpicco benpicco changed the title Update doc.txt pkg/paho-mqtt: Update doc.txt Jan 14, 2025
@benpicco benpicco requested a review from OlegHahm January 14, 2025 18:12
@see https://github.com/eclipse/paho.mqtt.embedded-c

The Eclipse Paho project provides open-source client
implementations of MQTT.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't that redundant to the @brief text?


# Implementation specific information

- The Main-Loop is running in the Task mqtt_riot_run() with a default-cyclus of 30ms (MQTT_YIELD_POLLING_MS)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- The Main-Loop is running in the Task mqtt_riot_run() with a default-cyclus of 30ms (MQTT_YIELD_POLLING_MS)
- The main loop is running in a dedicated thread (` paho_mqtt_riot`) in the function `mqtt_riot_run()` with a default-cyclus of 30ms (MQTT_YIELD_POLLING_MS)

I'm not sure if we have a well defined meaning for the term "Task" in RIOT.

Comment on lines +20 to +21
- During publish a topic with MQTTPublish() and QoS>0, the functions blocks until
it receive des One Acknowledge (QoS=1) or two Acknowledges (Qos=2).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- During publish a topic with MQTTPublish() and QoS>0, the functions blocks until
it receive des One Acknowledge (QoS=1) or two Acknowledges (Qos=2).
- When publishing a topic with `MQTTPublish()` and QoS>0, the functions blocks until
it one acknowledgement (QoS=1) or two acknowledgements (QoS=2) are received..

@OlegHahm
Copy link
Member

Thanks for the contribution and improvement - and welcome to RIOT!

And sorry for my somewhat pedantic review: actually I thought to review a PR my a fellow RIOT maintainer. 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: doc Area: Documentation Area: network Area: Networking Area: pkg Area: External package ports
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants