Microchip IoT Developer Guides for AWS is a set of tutorials tailored to get started with your IoT Design, from embedded to cloud. Starting with the sandbox, you can play around with sending and receiving data to the cloud with almost no setup.
34
stars
6
forks
source link
ERROR with the tutorialMqttTopic variable preventing "buttonPresses" topic working #10
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.
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.