This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC3220SF-LAUNCHXL: Amazon FreeRTOS MQTT 連線錯誤



我按照下列網址做完所有的步驟 ,CCS編譯也成功.

docs.aws.amazon.com/.../getting_started_ti.html

在XDS110 Class Application/User UART 輸出的偵錯訊息在下方.

能不能幫忙解決紅色字部分MQTT的錯誤問題要怎麼解決,謝謝!!

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: Panchen 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----