ExploreEmbedded / Hornbill-Examples

89 stars 171 forks source link

Doubts with the TOPIC_NAME paramater #5

Open narioinc opened 6 years ago

narioinc commented 6 years ago

In the code the TOPIC NAME parameter is slightly confusing

for updating a shadow the topic format is usually: $aws/things/DemoThing/shadow/update

However to get the update accepted the topic is: $aws/things/DemoThing/shadow/update/accepted

so now when i want to subscribe to the topic update/accepted should my TOPIC_NAME parameter be:

TOPIC_NAME=$aws/things/DemoThing/shadow/update/accepted ??

when i try the above, i am not able to subscribe to the messages correctly. Please correct me if i am wrong

Thanks !!