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

ESP8266 to AWS IoT with JSON #3

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

ESP8266 to AWS IoT with JSON #3

wants to merge 1 commit into from

Conversation

sborsay
Copy link

@sborsay sborsay commented Nov 12, 2019

This adds a typical, randomized JSON package using strncpy of a variables to a data buffer with randomized variables and device uptime. This modification to the excellent single page AWS IoT sketch allows properly formatted JSON data to be manipulated on AWS through the IoT broker rather then just using a simple string. As noted on the sketch you can also experiment with other buffer techniques like sprintf, strcpy, strncpy, or implement the ArduinoJSON library.

Sketch Author: Anthony Elder
Sketch JSON modification: Stephen Borsay (https://github.com/sborsay)

This adds a typical, randomized JSON package using strncpy of a variables to a data buffer with randomized variables and device uptime.  This modification to the excellent single page AWS IoT sketch allows properly formatted JSON data to be manipulated on AWS through the IoT broker rather then just using a simple string.  As noted on the sketch you can also experiment with other buffer techniques like sprintf, strcpy, strncpy, or implement the ArduinoJSON library.

Sketch Author: Anthony Elder 
Sketch JSON modification: Stephen Borsay (https://github.com/sborsay)
@sborsay
Copy link
Author

sborsay commented Nov 12, 2019

Adds randomized JSON data to sketch. Should be held as a separate implementation and not meant to supersede or replace original.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant