Has anyone worked with the AWS examples included with an SDK built using the SDK Builder?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Has anyone worked with the AWS examples included with an SDK built using the SDK Builder?

Jump to solution
1,825 Views
mooreken
Contributor II

A while back I built a SDK with Amazon FreeRTOS for the FRDM-K64F. Which, as far as I know worked fine. Next I downloaded the aws_shadow_enet example project. I made my AWS account and configured the FRDM-K64F as stated in the readme file included with the project. After running it, I noticed that the K64 has some issue with the operation topic. The output in the terminal window looks like this;issue1.PNG

Reading through the readme.txt included in the project directory this seems to be one of many subscriptions to topics. I was wondering if anyone else encountered this issue.

Thanks for any help you can give.

0 Kudos
Reply
1 Solution
1,474 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Kenneth Moore,

   So sorry for my later reply, because my IOT internet is blocked, now I just have finished it.

   Today, I have test the K64 aws_shadow_enet project, it works OK on my side, this is the log, a little long:

0 0 [Tmr Svc] Starting key provisioning...
1 0 [Tmr Svc] Write root certificate...
2 3 [Tmr Svc] Write device private key...
3 248 [Tmr Svc] Write device certificate...
4 332 [Tmr Svc] Key provisioning done...
5 6393 [Tmr Svc] Getting IP address from DHCP ...
6 7393 [Tmr Svc] IPv4 Address: 192.168.43.200
7 7393 [Tmr Svc] DHCP OK
8 7399 [MainDemoTask] [Shadow 0] MQTT: Creation of dedicated MQTT client succeeded.
9 7406 [MainDemoTask] Sending command to MQTT task.
10 7411 [MQTT] Received message 10000 from queue.
11 23645 [MQTT] MQTT Connect was accepted. Connection established.
12 23645 [MQTT] Notifying task.
13 23653 [MainDemoTask] Command sent to MQTT task passed.
14 23658 [MainDemoTask] [Shadow 0] MQTT: Connect succeeded.
15 23664 [MainDemoTask] Sending command to MQTT task.
16 23669 [MQTT] Received message 20000 from queue.
17 25690 [MQTT] MQTT Subscribe was accepted. Subscribed.
18 25690 [MQTT] Notifying task.
19 25697 [MainDemoTask] Command sent to MQTT task passed.
20 25703 [MainDemoTask] [Shadow 0] MQTT: Subscribe to accepted topic succeeded.
21 25710 [MainDemoTask] Sending command to MQTT task.
22 25714 [MQTT] Received message 30000 from queue.
23 28645 [MQTT] MQTT Subscribe was accepted. Subscribed.
24 28645 [MQTT] Notifying task.
25 28652 [MainDemoTask] Command sent to MQTT task passed.
26 28658 [MainDemoTask] [Shadow 0] MQTT: Subscribe to rejected topic succeeded.
27 28665 [MainDemoTask] Sending command to MQTT task.
28 28669 [MQTT] Received message 40000 from queue.
29 28670 [MQTT] Notifying task.
30 28677 [MainDemoTask] Command sent to MQTT task passed.
31 28682 [MainDemoTask] [Shadow 0] MQTT: Publish to operation topic succeeded.
32 30893 [MainDemoTask] Sending command to MQTT task.
33 30898 [MQTT] Received message 50000 from queue.
34 35848 [MQTT] MQTT Unsubscribe was successful.
35 35848 [MQTT] Notifying task.
36 35855 [MainDemoTask] Command sent to MQTT task passed.
37 35860 [MainDemoTask] [Shadow 0] MQTT: Unsubscribe from rejected topic succeeded.
38 35867 [MainDemoTask] Sending command to MQTT task.
39 35872 [MQTT] Received message 60000 from queue.
40 38500 [MQTT] MQTT Subscribe was accepted. Subscribed.
41 38500 [MQTT] Notifying task.
42 38507 [MainDemoTask] Command sent to MQTT task passed.
43 38513 [MainDemoTask] [Shadow 0] MQTT: Subscribe to callback topic succeeded.
44 38520 [MainDemoTask] Shadow client initialized.
45 38524 [ShDemoUpdt] Performing Thing Shadow update.
46 38524 [ShDemoUpdt] Sending command to MQTT task.
47 38524 [MQTT] Received message 70000 from queue.
48 40748 [MQTT] MQTT Subscribe was accepted. Subscribed.
49 40748 [MQTT] Notifying task.
50 40749 [ShDemoUpdt] Command sent to MQTT task passed.
51 40749 [ShDemoUpdt] [Shadow 0] MQTT: Subscribe to accepted topic succeeded.
52 40749 [ShDemoUpdt] Sending command to MQTT task.
53 40749 [MQTT] Received message 80000 from queue.
54 42568 [MQTT] MQTT Subscribe was accepted. Subscribed.
55 42568 [MQTT] Notifying task.
56 42569 [ShDemoUpdt] Command sent to MQTT task passed.
57 42569 [ShDemoUpdt] [Shadow 0] MQTT: Subscribe to rejected topic succeeded.
58 42569 [ShDemoUpdt] Sending command to MQTT task.
59 42569 [MQTT] Received message 90000 from queue.
60 42569 [MQTT] Notifying task.
61 42570 [ShDemoUpdt] Command sent to MQTT task passed.
62 42570 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
63 44489 [ShDemoUpdt] Successfully performed update.
64 44490 [Shd-IOT-0] Shd-IOT-0 changing desired state.
65 44491 [ShDemoUpdt] Performing Thing Shadow update.
66 44491 [ShDemoUpdt] Sending command to MQTT task.
67 44491 [MQTT] Received message a0000 from queue.
68 44491 [MQTT] Notifying task.
69 44492 [ShDemoUpdt] Command sent to MQTT task passed.
70 44492 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
71 48936 [ShDemoUpdt] Successfully performed update.
72 48937 [Shd-IOT-0] Shd-IOT-0 done changing desired state.
73 49490 [Shd-IOT-0] Shd-IOT-0 changing desired state.
74 49491 [ShDemoUpdt] Performing Thing Shadow update.
75 49491 [ShDemoUpdt] Sending command to MQTT task.
76 49491 [MQTT] Received message b0000 from queue.
77 49491 [MQTT] Notifying task.
78 49492 [ShDemoUpdt] Command sent to MQTT task passed.
79 49492 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
80 52927 [MQTT] Successfully added new reported state to update queue.
81 52929 [ShDemoUpdt] Successfully performed update.
82 52929 [ShDemoUpdt] Performing Thing Shadow update.
83 52929 [ShDemoUpdt] Sending command to MQTT task.
84 52929 [MQTT] Received message c0000 from queue.
85 52929 [MQTT] Notifying task.
86 52930 [Shd-IOT-0] Shd-IOT-0 done changing desired state.
87 52930 [ShDemoUpdt] Command sent to MQTT task passed.
88 52930 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
89 53738 [ShDemoUpdt] Successfully performed update.
90 54490 [Shd-IOT-0] Shd-IOT-0 changing desired state.
91 54491 [ShDemoUpdt] Performing Thing Shadow update.
92 54491 [ShDemoUpdt] Sending command to MQTT task.
93 54491 [MQTT] Received message d0000 from queue.
94 54491 [MQTT] Notifying task.
95 54492 [ShDemoUpdt] Command sent to MQTT task passed.
96 54492 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
97 54997 [MQTT] Successfully added new reported state to update queue.
98 54999 [ShDemoUpdt] Successfully performed update.
99 54999 [ShDemoUpdt] Performing Thing Shadow update.
100 54999 [ShDemoUpdt] Sending command to MQTT task.
101 54999 [MQTT] Received message e0000 from queue.
102 54999 [MQTT] Notifying task.
103 55000 [Shd-IOT-0] Shd-IOT-0 done changing desired state.
104 55000 [ShDemoUpdt] Command sent to MQTT task passed.
105 55000 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
106 55606 [ShDemoUpdt] Successfully performed update.
107 59490 [Shd-IOT-0] Shd-IOT-0 changing desired state.
108 59491 [ShDemoUpdt] Performing Thing Shadow update.
109 59491 [ShDemoUpdt] Sending command to MQTT task.
110 59491 [MQTT] Received message f0000 from queue.
111 59491 [MQTT] Notifying task.
112 59492 [ShDemoUpdt] Command sent to MQTT task passed.
113 59492 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
114 60099 [MQTT] Successfully added new reported state to update queue.
115 60101 [ShDemoUpdt] Successfully performed update.
116 60101 [ShDemoUpdt] Performing Thing Shadow update.
117 60101 [ShDemoUpdt] Sending command to MQTT task.
118 60101 [MQTT] Received message 100000 from queue.
119 60101 [MQTT] Notifying task.
120 60102 [Shd-IOT-0] Shd-IOT-0 done changing desired state.
121 60102 [ShDemoUpdt] Command sent to MQTT task passed.
122 60102 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
123 60708 [ShDemoUpdt] Successfully performed update.
124 64490 [Shd-IOT-0] Shd-IOT-0 changing desired state.
125 64491 [ShDemoUpdt] Performing Thing Shadow update.
126 64491 [ShDemoUpdt] Sending command to MQTT task.
127 64491 [MQTT] Received message 110000 from queue.
128 64491 [MQTT] Notifying task.
129 64492 [ShDemoUpdt] Command sent to MQTT task passed.
130 64492 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
131 64795 [MQTT] Successfully added new reported state to update queue.
132 64796 [ShDemoUpdt] Successfully performed update.
133 64796 [ShDemoUpdt] Performing Thing Shadow update.
134 64796 [ShDemoUpdt] Sending command to MQTT task.
135 64797 [MQTT] Received message 120000 from queue.
136 64797 [MQTT] Notifying task.
137 64797 [Shd-IOT-0] Shd-IOT-0 done changing desired state.
138 64797 [ShDemoUpdt] Command sent to MQTT task passed.
139 64797 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
140 65606 [ShDemoUpdt] Successfully performed update.
141 69490 [Shd-IOT-0] Shd-IOT-0 changing desired state.
142 69491 [ShDemoUpdt] Performing Thing Shadow update.
143 69491 [ShDemoUpdt] Sending command to MQTT task.
144 69491 [MQTT] Received message 130000 from queue.
145 69491 [MQTT] Notifying task.
146 69492 [ShDemoUpdt] Command sent to MQTT task passed.
147 69492 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
148 69897 [MQTT] Successfully added new reported state to update queue.
149 69899 [ShDemoUpdt] Successfully performed update.
150 69899 [ShDemoUpdt] Performing Thing Shadow update.
151 69899 [ShDemoUpdt] Sending command to MQTT task.
152 69899 [MQTT] Received message 140000 from queue.
153 69899 [MQTT] Notifying task.
154 69900 [Shd-IOT-0] Shd-IOT-0 done changing desired state.
155 69900 [ShDemoUpdt] Command sent to MQTT task passed.
156 69900 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
157 70607 [ShDemoUpdt] Successfully performed update.
158 74490 [Shd-IOT-0] Shd-IOT-0 changing desired state.
159 74491 [ShDemoUpdt] Performing Thing Shadow update.
160 74491 [ShDemoUpdt] Sending command to MQTT task.
161 74491 [MQTT] Received message 150000 from queue.
162 74491 [MQTT] Notifying task.
163 74492 [ShDemoUpdt] Command sent to MQTT task passed.
164 74492 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
165 74795 [MQTT] Successfully added new reported state to update queue.
166 74796 [ShDemoUpdt] Successfully performed update.
167 74796 [ShDemoUpdt] Performing Thing Shadow update.
168 74796 [ShDemoUpdt] Sending command to MQTT task.
169 74797 [MQTT] Received message 160000 from queue.
170 74797 [MQTT] Notifying task.
171 74797 [Shd-IOT-0] Shd-IOT-0 done changing desired state.
172 74797 [ShDemoUpdt] Command sent to MQTT task passed.
173 74797 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
174 75505 [ShDemoUpdt] Successfully performed update.
175 79490 [Shd-IOT-0] Shd-IOT-0 changing desired state.
176 79491 [ShDemoUpdt] Performing Thing Shadow update.
177 79491 [ShDemoUpdt] Sending command to MQTT task.
178 79491 [MQTT] Received message 170000 from queue.
179 79491 [MQTT] Notifying task.
180 79492 [ShDemoUpdt] Command sent to MQTT task passed.
181 79492 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
182 79796 [MQTT] Successfully added new reported state to update queue.
183 79798 [ShDemoUpdt] Successfully performed update.
184 79798 [ShDemoUpdt] Performing Thing Shadow update.
185 79798 [ShDemoUpdt] Sending command to MQTT task.
186 79798 [MQTT] Received message 180000 from queue.
187 79798 [MQTT] Notifying task.
188 79799 [Shd-IOT-0] Shd-IOT-0 done changing desired state.
189 79799 [ShDemoUpdt] Command sent to MQTT task passed.
190 79799 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
191 80405 [ShDemoUpdt] Successfully performed update.
192 84490 [Shd-IOT-0] Shd-IOT-0 changing desired state.
193 84491 [ShDemoUpdt] Performing Thing Shadow update.
194 84491 [ShDemoUpdt] Sending command to MQTT task.
195 84491 [MQTT] Received message 190000 from queue.
196 84491 [MQTT] Notifying task.
197 84492 [ShDemoUpdt] Command sent to MQTT task passed.
198 84492 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
199 84896 [MQTT] Successfully added new reported state to update queue.
200 84897 [ShDemoUpdt] Successfully performed update.
201 84897 [ShDemoUpdt] Performing Thing Shadow update.
202 84897 [ShDemoUpdt] Sending command to MQTT task.
203 84898 [MQTT] Received message 1a0000 from queue.
204 84898 [MQTT] Notifying task.
205 84898 [Shd-IOT-0] Shd-IOT-0 done changing desired state.
206 84898 [ShDemoUpdt] Command sent to MQTT task passed.
207 84898 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
208 85707 [ShDemoUpdt] Successfully performed update.
209 89490 [Shd-IOT-0] Shd-IOT-0 changing desired state.
210 89491 [ShDemoUpdt] Performing Thing Shadow update.
211 89491 [ShDemoUpdt] Sending command to MQTT task.
212 89491 [MQTT] Received message 1b0000 from queue.
213 89491 [MQTT] Notifying task.
214 89492 [ShDemoUpdt] Command sent to MQTT task passed.
215 89492 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
216 89897 [MQTT] Successfully added new reported state to update queue.
217 89899 [ShDemoUpdt] Successfully performed update.
218 89899 [ShDemoUpdt] Performing Thing Shadow update.
219 89899 [ShDemoUpdt] Sending command to MQTT task.
220 89899 [MQTT] Received message 1c0000 from queue.
221 89899 [MQTT] Notifying task.
222 89900 [Shd-IOT-0] Shd-IOT-0 done changing desired state.
223 89900 [ShDemoUpdt] Command sent to MQTT task passed.
224 89900 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
225 90506 [ShDemoUpdt] Successfully performed update.
226 94490 [Shd-IOT-0] Shd-IOT-0 changing desired state.
227 94491 [ShDemoUpdt] Performing Thing Shadow update.
228 94491 [ShDemoUpdt] Sending command to MQTT task.
229 94491 [MQTT] Received message 1d0000 from queue.
230 94491 [MQTT] Notifying task.
231 94492 [ShDemoUpdt] Command sent to MQTT task passed.
232 94492 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
233 94896 [MQTT] Successfully added new reported state to update queue.
234 94898 [ShDemoUpdt] Successfully performed update.
235 94898 [ShDemoUpdt] Performing Thing Shadow update.
236 94898 [ShDemoUpdt] Sending command to MQTT task.
237 94898 [MQTT] Received message 1e0000 from queue.
238 94898 [MQTT] Notifying task.
239 94899 [Shd-IOT-0] Shd-IOT-0 done changing desired state.
240 94899 [ShDemoUpdt] Command sent to MQTT task passed.
241 94899 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
242 95505 [ShDemoUpdt] Successfully performed update.
243 99490 [Shd-IOT-0] Shd-IOT-0 changing desired state.
244 99491 [ShDemoUpdt] Performing Thing Shadow update.
245 99491 [ShDemoUpdt] Sending command to MQTT task.
246 99491 [MQTT] Received message 1f0000 from queue.
247 99491 [MQTT] Notifying task.
248 99492 [ShDemoUpdt] Command sent to MQTT task passed.
249 99492 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
250 99796 [ShDemoUpdt] Successfully performed update.
251 99797 [MQTT] Successfully added new reported state to update queue.
252 99797 [Shd-IOT-0] Shd-IOT-0 done changing desired state.
253 99797 [ShDemoUpdt] Performing Thing Shadow update.
254 99797 [ShDemoUpdt] Sending command to MQTT task.
255 99798 [MQTT] Received message 200000 from queue.
256 99798 [MQTT] Notifying task.
257 99798 [ShDemoUpdt] Command sent to MQTT task passed.
258 99798 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
259 100506 [ShDemoUpdt] Successfully performed update.
260 104490 [Shd-IOT-0] Shd-IOT-0 changing desired state.
261 104491 [ShDemoUpdt] Performing Thing Shadow update.
262 104491 [ShDemoUpdt] Sending command to MQTT task.
263 104491 [MQTT] Received message 210000 from queue.
264 104491 [MQTT] Notifying task.
265 104492 [ShDemoUpdt] Command sent to MQTT task passed.
266 104492 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
267 104896 [MQTT] Successfully added new reported state to update queue.
268 104898 [ShDemoUpdt] Successfully performed update.
269 104898 [ShDemoUpdt] Performing Thing Shadow update.
270 104898 [ShDemoUpdt] Sending command to MQTT task.
271 104898 [MQTT] Received message 220000 from queue.
272 104898 [MQTT] Notifying task.
273 104899 [Shd-IOT-0] Shd-IOT-0 done changing desired state.
274 104899 [ShDemoUpdt] Command sent to MQTT task passed.
275 104899 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
276 105505 [ShDemoUpdt] Successfully performed update.
277 109490 [Shd-IOT-0] Shd-IOT-0 changing desired state.
278 109491 [ShDemoUpdt] Performing Thing Shadow update.
279 109491 [ShDemoUpdt] Sending command to MQTT task.
280 109491 [MQTT] Received message 230000 from queue.
281 109491 [MQTT] Notifying task.
282 109492 [ShDemoUpdt] Command sent to MQTT task passed.
283 109492 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
284 109796 [MQTT] Successfully added new reported state to update queue.
285 109798 [ShDemoUpdt] Successfully performed update.
286 109798 [ShDemoUpdt] Performing Thing Shadow update.
287 109798 [ShDemoUpdt] Sending command to MQTT task.
288 109798 [MQTT] Received message 240000 from queue.
289 109798 [MQTT] Notifying task.
290 109799 [Shd-IOT-0] Shd-IOT-0 done changing desired state.
291 109799 [ShDemoUpdt] Command sent to MQTT task passed.
292 109799 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍

So, it works OK, the project have no problem, this is confirmed.

From your description, normally, this problem is caused by your aws thing create side, the policy, the certificate.

Actually, the SDK aws_shadow_enet readme.txt is really very simple, it will make the customer lost some step.

But don't worry, please refer to the LPC54018 aws get started page, that page is in details,  please open this link:

OM40007|LPC54018 IoT Microcontroller Module|NXP 

Refer to the get start, configure your thing and policy, and certificate again, do it step by step, maybe your first step create an activate user already have problem.

Please try again, if you still have problems, kindly let  me know.


Have a great day,
Kerry

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
Reply
4 Replies
1,474 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Any updated information?

Have a great day,
Kerry

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

1,474 Views
mooreken
Contributor II

Thanks Kerry!

Sorry to get back to you so late on this one.

I figured out what was wrong, I was using the wrong AWS Thing name when I defined the clientcreditialIOT_THING_NAME.

I used the full ARN there on accident. After I fixed that it all worked fine!

Thanks again!

Ken

0 Kudos
Reply
1,475 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Kenneth Moore,

   So sorry for my later reply, because my IOT internet is blocked, now I just have finished it.

   Today, I have test the K64 aws_shadow_enet project, it works OK on my side, this is the log, a little long:

0 0 [Tmr Svc] Starting key provisioning...
1 0 [Tmr Svc] Write root certificate...
2 3 [Tmr Svc] Write device private key...
3 248 [Tmr Svc] Write device certificate...
4 332 [Tmr Svc] Key provisioning done...
5 6393 [Tmr Svc] Getting IP address from DHCP ...
6 7393 [Tmr Svc] IPv4 Address: 192.168.43.200
7 7393 [Tmr Svc] DHCP OK
8 7399 [MainDemoTask] [Shadow 0] MQTT: Creation of dedicated MQTT client succeeded.
9 7406 [MainDemoTask] Sending command to MQTT task.
10 7411 [MQTT] Received message 10000 from queue.
11 23645 [MQTT] MQTT Connect was accepted. Connection established.
12 23645 [MQTT] Notifying task.
13 23653 [MainDemoTask] Command sent to MQTT task passed.
14 23658 [MainDemoTask] [Shadow 0] MQTT: Connect succeeded.
15 23664 [MainDemoTask] Sending command to MQTT task.
16 23669 [MQTT] Received message 20000 from queue.
17 25690 [MQTT] MQTT Subscribe was accepted. Subscribed.
18 25690 [MQTT] Notifying task.
19 25697 [MainDemoTask] Command sent to MQTT task passed.
20 25703 [MainDemoTask] [Shadow 0] MQTT: Subscribe to accepted topic succeeded.
21 25710 [MainDemoTask] Sending command to MQTT task.
22 25714 [MQTT] Received message 30000 from queue.
23 28645 [MQTT] MQTT Subscribe was accepted. Subscribed.
24 28645 [MQTT] Notifying task.
25 28652 [MainDemoTask] Command sent to MQTT task passed.
26 28658 [MainDemoTask] [Shadow 0] MQTT: Subscribe to rejected topic succeeded.
27 28665 [MainDemoTask] Sending command to MQTT task.
28 28669 [MQTT] Received message 40000 from queue.
29 28670 [MQTT] Notifying task.
30 28677 [MainDemoTask] Command sent to MQTT task passed.
31 28682 [MainDemoTask] [Shadow 0] MQTT: Publish to operation topic succeeded.
32 30893 [MainDemoTask] Sending command to MQTT task.
33 30898 [MQTT] Received message 50000 from queue.
34 35848 [MQTT] MQTT Unsubscribe was successful.
35 35848 [MQTT] Notifying task.
36 35855 [MainDemoTask] Command sent to MQTT task passed.
37 35860 [MainDemoTask] [Shadow 0] MQTT: Unsubscribe from rejected topic succeeded.
38 35867 [MainDemoTask] Sending command to MQTT task.
39 35872 [MQTT] Received message 60000 from queue.
40 38500 [MQTT] MQTT Subscribe was accepted. Subscribed.
41 38500 [MQTT] Notifying task.
42 38507 [MainDemoTask] Command sent to MQTT task passed.
43 38513 [MainDemoTask] [Shadow 0] MQTT: Subscribe to callback topic succeeded.
44 38520 [MainDemoTask] Shadow client initialized.
45 38524 [ShDemoUpdt] Performing Thing Shadow update.
46 38524 [ShDemoUpdt] Sending command to MQTT task.
47 38524 [MQTT] Received message 70000 from queue.
48 40748 [MQTT] MQTT Subscribe was accepted. Subscribed.
49 40748 [MQTT] Notifying task.
50 40749 [ShDemoUpdt] Command sent to MQTT task passed.
51 40749 [ShDemoUpdt] [Shadow 0] MQTT: Subscribe to accepted topic succeeded.
52 40749 [ShDemoUpdt] Sending command to MQTT task.
53 40749 [MQTT] Received message 80000 from queue.
54 42568 [MQTT] MQTT Subscribe was accepted. Subscribed.
55 42568 [MQTT] Notifying task.
56 42569 [ShDemoUpdt] Command sent to MQTT task passed.
57 42569 [ShDemoUpdt] [Shadow 0] MQTT: Subscribe to rejected topic succeeded.
58 42569 [ShDemoUpdt] Sending command to MQTT task.
59 42569 [MQTT] Received message 90000 from queue.
60 42569 [MQTT] Notifying task.
61 42570 [ShDemoUpdt] Command sent to MQTT task passed.
62 42570 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
63 44489 [ShDemoUpdt] Successfully performed update.
64 44490 [Shd-IOT-0] Shd-IOT-0 changing desired state.
65 44491 [ShDemoUpdt] Performing Thing Shadow update.
66 44491 [ShDemoUpdt] Sending command to MQTT task.
67 44491 [MQTT] Received message a0000 from queue.
68 44491 [MQTT] Notifying task.
69 44492 [ShDemoUpdt] Command sent to MQTT task passed.
70 44492 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
71 48936 [ShDemoUpdt] Successfully performed update.
72 48937 [Shd-IOT-0] Shd-IOT-0 done changing desired state.
73 49490 [Shd-IOT-0] Shd-IOT-0 changing desired state.
74 49491 [ShDemoUpdt] Performing Thing Shadow update.
75 49491 [ShDemoUpdt] Sending command to MQTT task.
76 49491 [MQTT] Received message b0000 from queue.
77 49491 [MQTT] Notifying task.
78 49492 [ShDemoUpdt] Command sent to MQTT task passed.
79 49492 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
80 52927 [MQTT] Successfully added new reported state to update queue.
81 52929 [ShDemoUpdt] Successfully performed update.
82 52929 [ShDemoUpdt] Performing Thing Shadow update.
83 52929 [ShDemoUpdt] Sending command to MQTT task.
84 52929 [MQTT] Received message c0000 from queue.
85 52929 [MQTT] Notifying task.
86 52930 [Shd-IOT-0] Shd-IOT-0 done changing desired state.
87 52930 [ShDemoUpdt] Command sent to MQTT task passed.
88 52930 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
89 53738 [ShDemoUpdt] Successfully performed update.
90 54490 [Shd-IOT-0] Shd-IOT-0 changing desired state.
91 54491 [ShDemoUpdt] Performing Thing Shadow update.
92 54491 [ShDemoUpdt] Sending command to MQTT task.
93 54491 [MQTT] Received message d0000 from queue.
94 54491 [MQTT] Notifying task.
95 54492 [ShDemoUpdt] Command sent to MQTT task passed.
96 54492 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
97 54997 [MQTT] Successfully added new reported state to update queue.
98 54999 [ShDemoUpdt] Successfully performed update.
99 54999 [ShDemoUpdt] Performing Thing Shadow update.
100 54999 [ShDemoUpdt] Sending command to MQTT task.
101 54999 [MQTT] Received message e0000 from queue.
102 54999 [MQTT] Notifying task.
103 55000 [Shd-IOT-0] Shd-IOT-0 done changing desired state.
104 55000 [ShDemoUpdt] Command sent to MQTT task passed.
105 55000 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
106 55606 [ShDemoUpdt] Successfully performed update.
107 59490 [Shd-IOT-0] Shd-IOT-0 changing desired state.
108 59491 [ShDemoUpdt] Performing Thing Shadow update.
109 59491 [ShDemoUpdt] Sending command to MQTT task.
110 59491 [MQTT] Received message f0000 from queue.
111 59491 [MQTT] Notifying task.
112 59492 [ShDemoUpdt] Command sent to MQTT task passed.
113 59492 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
114 60099 [MQTT] Successfully added new reported state to update queue.
115 60101 [ShDemoUpdt] Successfully performed update.
116 60101 [ShDemoUpdt] Performing Thing Shadow update.
117 60101 [ShDemoUpdt] Sending command to MQTT task.
118 60101 [MQTT] Received message 100000 from queue.
119 60101 [MQTT] Notifying task.
120 60102 [Shd-IOT-0] Shd-IOT-0 done changing desired state.
121 60102 [ShDemoUpdt] Command sent to MQTT task passed.
122 60102 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
123 60708 [ShDemoUpdt] Successfully performed update.
124 64490 [Shd-IOT-0] Shd-IOT-0 changing desired state.
125 64491 [ShDemoUpdt] Performing Thing Shadow update.
126 64491 [ShDemoUpdt] Sending command to MQTT task.
127 64491 [MQTT] Received message 110000 from queue.
128 64491 [MQTT] Notifying task.
129 64492 [ShDemoUpdt] Command sent to MQTT task passed.
130 64492 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
131 64795 [MQTT] Successfully added new reported state to update queue.
132 64796 [ShDemoUpdt] Successfully performed update.
133 64796 [ShDemoUpdt] Performing Thing Shadow update.
134 64796 [ShDemoUpdt] Sending command to MQTT task.
135 64797 [MQTT] Received message 120000 from queue.
136 64797 [MQTT] Notifying task.
137 64797 [Shd-IOT-0] Shd-IOT-0 done changing desired state.
138 64797 [ShDemoUpdt] Command sent to MQTT task passed.
139 64797 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
140 65606 [ShDemoUpdt] Successfully performed update.
141 69490 [Shd-IOT-0] Shd-IOT-0 changing desired state.
142 69491 [ShDemoUpdt] Performing Thing Shadow update.
143 69491 [ShDemoUpdt] Sending command to MQTT task.
144 69491 [MQTT] Received message 130000 from queue.
145 69491 [MQTT] Notifying task.
146 69492 [ShDemoUpdt] Command sent to MQTT task passed.
147 69492 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
148 69897 [MQTT] Successfully added new reported state to update queue.
149 69899 [ShDemoUpdt] Successfully performed update.
150 69899 [ShDemoUpdt] Performing Thing Shadow update.
151 69899 [ShDemoUpdt] Sending command to MQTT task.
152 69899 [MQTT] Received message 140000 from queue.
153 69899 [MQTT] Notifying task.
154 69900 [Shd-IOT-0] Shd-IOT-0 done changing desired state.
155 69900 [ShDemoUpdt] Command sent to MQTT task passed.
156 69900 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
157 70607 [ShDemoUpdt] Successfully performed update.
158 74490 [Shd-IOT-0] Shd-IOT-0 changing desired state.
159 74491 [ShDemoUpdt] Performing Thing Shadow update.
160 74491 [ShDemoUpdt] Sending command to MQTT task.
161 74491 [MQTT] Received message 150000 from queue.
162 74491 [MQTT] Notifying task.
163 74492 [ShDemoUpdt] Command sent to MQTT task passed.
164 74492 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
165 74795 [MQTT] Successfully added new reported state to update queue.
166 74796 [ShDemoUpdt] Successfully performed update.
167 74796 [ShDemoUpdt] Performing Thing Shadow update.
168 74796 [ShDemoUpdt] Sending command to MQTT task.
169 74797 [MQTT] Received message 160000 from queue.
170 74797 [MQTT] Notifying task.
171 74797 [Shd-IOT-0] Shd-IOT-0 done changing desired state.
172 74797 [ShDemoUpdt] Command sent to MQTT task passed.
173 74797 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
174 75505 [ShDemoUpdt] Successfully performed update.
175 79490 [Shd-IOT-0] Shd-IOT-0 changing desired state.
176 79491 [ShDemoUpdt] Performing Thing Shadow update.
177 79491 [ShDemoUpdt] Sending command to MQTT task.
178 79491 [MQTT] Received message 170000 from queue.
179 79491 [MQTT] Notifying task.
180 79492 [ShDemoUpdt] Command sent to MQTT task passed.
181 79492 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
182 79796 [MQTT] Successfully added new reported state to update queue.
183 79798 [ShDemoUpdt] Successfully performed update.
184 79798 [ShDemoUpdt] Performing Thing Shadow update.
185 79798 [ShDemoUpdt] Sending command to MQTT task.
186 79798 [MQTT] Received message 180000 from queue.
187 79798 [MQTT] Notifying task.
188 79799 [Shd-IOT-0] Shd-IOT-0 done changing desired state.
189 79799 [ShDemoUpdt] Command sent to MQTT task passed.
190 79799 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
191 80405 [ShDemoUpdt] Successfully performed update.
192 84490 [Shd-IOT-0] Shd-IOT-0 changing desired state.
193 84491 [ShDemoUpdt] Performing Thing Shadow update.
194 84491 [ShDemoUpdt] Sending command to MQTT task.
195 84491 [MQTT] Received message 190000 from queue.
196 84491 [MQTT] Notifying task.
197 84492 [ShDemoUpdt] Command sent to MQTT task passed.
198 84492 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
199 84896 [MQTT] Successfully added new reported state to update queue.
200 84897 [ShDemoUpdt] Successfully performed update.
201 84897 [ShDemoUpdt] Performing Thing Shadow update.
202 84897 [ShDemoUpdt] Sending command to MQTT task.
203 84898 [MQTT] Received message 1a0000 from queue.
204 84898 [MQTT] Notifying task.
205 84898 [Shd-IOT-0] Shd-IOT-0 done changing desired state.
206 84898 [ShDemoUpdt] Command sent to MQTT task passed.
207 84898 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
208 85707 [ShDemoUpdt] Successfully performed update.
209 89490 [Shd-IOT-0] Shd-IOT-0 changing desired state.
210 89491 [ShDemoUpdt] Performing Thing Shadow update.
211 89491 [ShDemoUpdt] Sending command to MQTT task.
212 89491 [MQTT] Received message 1b0000 from queue.
213 89491 [MQTT] Notifying task.
214 89492 [ShDemoUpdt] Command sent to MQTT task passed.
215 89492 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
216 89897 [MQTT] Successfully added new reported state to update queue.
217 89899 [ShDemoUpdt] Successfully performed update.
218 89899 [ShDemoUpdt] Performing Thing Shadow update.
219 89899 [ShDemoUpdt] Sending command to MQTT task.
220 89899 [MQTT] Received message 1c0000 from queue.
221 89899 [MQTT] Notifying task.
222 89900 [Shd-IOT-0] Shd-IOT-0 done changing desired state.
223 89900 [ShDemoUpdt] Command sent to MQTT task passed.
224 89900 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
225 90506 [ShDemoUpdt] Successfully performed update.
226 94490 [Shd-IOT-0] Shd-IOT-0 changing desired state.
227 94491 [ShDemoUpdt] Performing Thing Shadow update.
228 94491 [ShDemoUpdt] Sending command to MQTT task.
229 94491 [MQTT] Received message 1d0000 from queue.
230 94491 [MQTT] Notifying task.
231 94492 [ShDemoUpdt] Command sent to MQTT task passed.
232 94492 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
233 94896 [MQTT] Successfully added new reported state to update queue.
234 94898 [ShDemoUpdt] Successfully performed update.
235 94898 [ShDemoUpdt] Performing Thing Shadow update.
236 94898 [ShDemoUpdt] Sending command to MQTT task.
237 94898 [MQTT] Received message 1e0000 from queue.
238 94898 [MQTT] Notifying task.
239 94899 [Shd-IOT-0] Shd-IOT-0 done changing desired state.
240 94899 [ShDemoUpdt] Command sent to MQTT task passed.
241 94899 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
242 95505 [ShDemoUpdt] Successfully performed update.
243 99490 [Shd-IOT-0] Shd-IOT-0 changing desired state.
244 99491 [ShDemoUpdt] Performing Thing Shadow update.
245 99491 [ShDemoUpdt] Sending command to MQTT task.
246 99491 [MQTT] Received message 1f0000 from queue.
247 99491 [MQTT] Notifying task.
248 99492 [ShDemoUpdt] Command sent to MQTT task passed.
249 99492 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
250 99796 [ShDemoUpdt] Successfully performed update.
251 99797 [MQTT] Successfully added new reported state to update queue.
252 99797 [Shd-IOT-0] Shd-IOT-0 done changing desired state.
253 99797 [ShDemoUpdt] Performing Thing Shadow update.
254 99797 [ShDemoUpdt] Sending command to MQTT task.
255 99798 [MQTT] Received message 200000 from queue.
256 99798 [MQTT] Notifying task.
257 99798 [ShDemoUpdt] Command sent to MQTT task passed.
258 99798 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
259 100506 [ShDemoUpdt] Successfully performed update.
260 104490 [Shd-IOT-0] Shd-IOT-0 changing desired state.
261 104491 [ShDemoUpdt] Performing Thing Shadow update.
262 104491 [ShDemoUpdt] Sending command to MQTT task.
263 104491 [MQTT] Received message 210000 from queue.
264 104491 [MQTT] Notifying task.
265 104492 [ShDemoUpdt] Command sent to MQTT task passed.
266 104492 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
267 104896 [MQTT] Successfully added new reported state to update queue.
268 104898 [ShDemoUpdt] Successfully performed update.
269 104898 [ShDemoUpdt] Performing Thing Shadow update.
270 104898 [ShDemoUpdt] Sending command to MQTT task.
271 104898 [MQTT] Received message 220000 from queue.
272 104898 [MQTT] Notifying task.
273 104899 [Shd-IOT-0] Shd-IOT-0 done changing desired state.
274 104899 [ShDemoUpdt] Command sent to MQTT task passed.
275 104899 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
276 105505 [ShDemoUpdt] Successfully performed update.
277 109490 [Shd-IOT-0] Shd-IOT-0 changing desired state.
278 109491 [ShDemoUpdt] Performing Thing Shadow update.
279 109491 [ShDemoUpdt] Sending command to MQTT task.
280 109491 [MQTT] Received message 230000 from queue.
281 109491 [MQTT] Notifying task.
282 109492 [ShDemoUpdt] Command sent to MQTT task passed.
283 109492 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
284 109796 [MQTT] Successfully added new reported state to update queue.
285 109798 [ShDemoUpdt] Successfully performed update.
286 109798 [ShDemoUpdt] Performing Thing Shadow update.
287 109798 [ShDemoUpdt] Sending command to MQTT task.
288 109798 [MQTT] Received message 240000 from queue.
289 109798 [MQTT] Notifying task.
290 109799 [Shd-IOT-0] Shd-IOT-0 done changing desired state.
291 109799 [ShDemoUpdt] Command sent to MQTT task passed.
292 109799 [ShDemoUpdt] [Shadow 0] MQTT: Publish to operation topic succeeded.
‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍

So, it works OK, the project have no problem, this is confirmed.

From your description, normally, this problem is caused by your aws thing create side, the policy, the certificate.

Actually, the SDK aws_shadow_enet readme.txt is really very simple, it will make the customer lost some step.

But don't worry, please refer to the LPC54018 aws get started page, that page is in details,  please open this link:

OM40007|LPC54018 IoT Microcontroller Module|NXP 

Refer to the get start, configure your thing and policy, and certificate again, do it step by step, maybe your first step create an activate user already have problem.

Please try again, if you still have problems, kindly let  me know.


Have a great day,
Kerry

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply
1,474 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Keneth,

   I will test it on my side, then give you feedback, please wait patiently, thanks a lot for your understanding.


Have a great day,
Kerry

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply