-->
Page 6 of 6

Re: AWS MQTT using odelot

PostPosted: Thu Dec 07, 2017 7:24 am
by Sushant Naik
it worked @villTech, while creating user policy i had to do this

Then click IAM
Then click policy. find your policy or create a new policy
set service to IOT
set action to iot:*
set resouce to all resources (I have difficulty to know how to set specific resource. So I just set it all for the experiment)


now i am able to publish to AWS thing shadow/update,
i need help to get shadow from thing, can u help in that ?

Re: AWS MQTT using odelot

PostPosted: Sat Dec 09, 2017 8:12 am
by Sushant Naik
getting data from the shadows is simply subscribing to the shadow. when a shadow is changed, it will publish its value.


i have subscribed to topic ,

Code: Select allconst char* aws_topic1  = "$aws/things/sushant2017/shadow";


however any change i make to shadow is not reflected in esp8266, messageArrived callback (odelot library),
can i get any help in this?