-
Notifications
You must be signed in to change notification settings - Fork 83
Improving README.md #29
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
Conversation
Co-Authored-By: umbynos <34278123+umbynos@users.noreply.github.com>
README.md
Outdated
|
||
- `disconnect()` stops the MQTT Client | ||
|
||
- The `update()` function checks the connnection with the MQTT broker, retrieve data from it and pushes back data using `writeProperties()`. `update()` is called periodically in the loop of .ino file. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@umbynos I'd change the last sentence with something like "update()
SHOULD BE called periodically in the loop()
function."
README.md
Outdated
|
||
- The `update()` function checks the connnection with the MQTT broker, retrieve data from it and pushes back data using `writeProperties()`. `update()` is called periodically in the loop of .ino file. | ||
|
||
- `connected()` simply returns the current status of the MQTT connection. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@umbynos is this function returning just true
or false
or are there more statuses? I think we should write exactly what it's returning
README.md
Outdated
|
||
- `reconnect(Client&)` clean up existing MQTT connection, create a new one and initialize it by calling `connect()` | ||
|
||
- `writeProperties(const byte data[], int length)` writes message to the MQTT Broker |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@umbynos can this definition be more specific?
folks, I think this can be merged in |
@ubidefeo I did another review of the updated text and requested some changes. Hopefully umbynos can take a minute to consider these suggestions before this is merged. Thanks for taking action on my previous suggestions! |
Co-Authored-By: umbynos <34278123+umbynos@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good
merging
I started improving
README.md
upon request of @mattiabertorello. I will include a basic explanation of the Arduino IoT Cloud, and then an explanation of most important functions in the library. Would that be ok?