cancel
Showing results for 
Search instead for 
Did you mean: 

WICED Studio Wi-Fi Combo

Anonymous
Not applicable

Hi all,

we want to demostrate shadow example with WICED sdk 3.7.0-3

Configurations:

SDK : WICED Wi Fi SDK 3.7.0-3

Platform : SN8205

AWS cloud side:

I have created thing on AWS cloud.

Downloaded certificates

Device side

- start in built application(i haven't made any change in already built aws_demo/shadow application.i am using it as it is)

- downloaded code in my SN8205 board

- Connect to WICED_AWS

- Uploaded Certificates and private Key

- choosen Network

Now on UART i can see device is connected to Router.

but it is not publishing or subscribing data.please can anyone explain if i am missing anything in setup??aws_mqtt_issue.png

i am attaching screenshot here...

Please help here.

1 Solution
Anonymous
Not applicable

Shadow app in the SDK has some issues. I am attaching the modified publisher application which will update the shadow of AWS broker. Please use this and check. We will check the shadow application and give update.

View solution in original post

0 Likes
Reply
5 Replies
Anonymous
Not applicable

Shadow app in the SDK has some issues. I am attaching the modified publisher application which will update the shadow of AWS broker. Please use this and check. We will check the shadow application and give update.

View solution in original post

0 Likes
Reply
Anonymous
Not applicable

Hello,

I have uploaded this publisher.rar.but no change in output.Please let us know if any issue is there in shadow application.

0 Likes
Reply
Anonymous
Not applicable

I have tested this attached application and I could see the shadow getting updated with the msg we sent. Check the configuration and topic.

Anonymous
Not applicable

Hello rash

i am putting certificate and private key in resource/app/aws_iot folder still

It is saying " Not a valid Certificate! Please replace the dummy certificate file 'resources/app/aws_iot/client.cer' with the one got from AWS" .

i am not uploading rootCA certificate (It is not needed i guess).

In shadow , i upload certificates from web page also, still this error is there.

Any solution??

0 Likes
Reply
Anonymous
Not applicable

Hello ,

Now after some changes , i am able to publish data.i am getting same data at AWS cloud side.

but My module is not receiving subscribed data if i publish from AWS side on same topic.

Note :

I am getting content published by me(aws side) on subscribing that topic(aws side)

Publish(Device) - Receive(AWS) Done

Publish(AWS)- Receive(AWS) Done

Publish(AWS)- Receive(Device) Not done

Publish(Device) - Receive(Device) Not Done

My Policy has statement :

{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": "iot:Subscribe", "Resource": "*" }, { "Effect": "Allow", "Action": "iot:Publish", "Resource": "*" }, { "Effect": "Allow", "Action": "iot:Connect", "Resource": "*" 

By Debugging i come to know that i am not Receiving event of WICED_MQTT_EVENT_TYPE_PUBLISH_MSG_RECEIVED

Please Help here

0 Likes
Reply