Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

CCS/CC3220SF-LAUNCHXL: Amazon FreeRTOS MQTT example connection fail

$
0
0

Part Number:CC3220SF-LAUNCHXL

Tool/software: Code Composer Studio

I follow the steps on the docs.aws.amazon.com/.../getting_started_ti.html.
The XDS110 Class Application/User UART output debug message on the below.
Could anybody help me to find out what's wrong in the red color line?

0 0 [Tmr Svc] Starting Wi-Fi Module ...
1 0 [Tmr Svc] Simple Link task created

Device came up in Station mode

2 161 [Tmr Svc] Wi-Fi module initialized.
3 170 [Tmr Svc] Write certificate...
4 288 [Tmr Svc] Write device private key...
5 816 [Tmr Svc] Write certificate...
Device disconnected from the AP on an ERROR..!!

[WLAN EVENT] STA Connected to the AP: Pan_Phone , BSSID: ec:f3:42:8f:a:d9

[NETAPP EVENT] IP acquired by the device


Device has connected to Panchen Phone

Device IP Address is 192.168.43.234


6 3151 [Tmr Svc] Wi-Fi connected to AP Panchen Phone.
7 3152 [Tmr Svc] IP Address acquired 192.168.43.234
8 3155 [Tmr Svc] Security alert threshold = 15
9 3155 [Tmr Svc] Current number of alerts = 0
10 3155 [Tmr Svc] Creating MQTT Echo Task...
11 3155 [MQTTEcho] MQTT echo attempting to connect to a299l4kt9lf9ka-ats.iot.us-east-2.amazonaws.com.
12 5088 [pthread] [SimpleLinkSockEventHandler EVENT]: Unexpected Event: 2, Socket: 0 Reason: 0.
13 5168 [MQTT] ERROR: -452 Socket receive failed.
14 5168 [MQTT] ERROR: -1 Socket send failed.
15 5170 [MQTTEcho] ERROR: MQTT echo failed to connect with error 1.
16 5170 [MQTTEcho] MQTT echo test could not connect to broker.
17 5191 [MQTTEcho] MQTT echo demo finished.
18 5191 [MQTTEcho] ----Demo finished----


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>