Skip to content

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

@git-tom-hub

Description

@git-tom-hub

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions