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

ERROR with the tutorialMqttTopic variable preventing "buttonPresses" topic working #10

Open
git-tom-hub opened this issue Jul 22, 2022 · 0 comments

Comments

@git-tom-hub
Copy link

git-tom-hub commented Jul 22, 2022

In the Microchip "buttonPresses" tutorial, in the section titled " Step 2: Sending MQTT Messages to the Cloud", there is a variable that creates the thing name and subscribe topic.
The code in the tutorial doesn't append the thing name and prevents AWS from understanding the package.
The code in the tutorial is-
sprintf(tutorialMqttTopic, "buttonPresses");
It should be
sprintf(tutorialMqttTopic, "%s/buttonPresses", cid);

This caused my no end of grief and caused AWS to block my account.

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

No branches or pull requests

1 participant