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.

CCS: CC3220SF-LAUNCHXL can't connect to mqtt broker

Other Parts Discussed in Thread: CC3220SF

Tool/software: Code Composer Studio

hi,

I use the mqtt SDK example :  mqtt_client_CC3220SF_LAUNCHXL_tirtos_ccs (SDK : simplelink_cc32xx_sdk_3_10_00_04) and i couldn't connect to the broker, the error code -111 is returned.

===========================================
           MQTT client Example Ver: 1.1.1
        ============================================
         CHIP: 0x31000019
         MAC:  2.0.0.0
         PHY:  2.2.0.6
         NWP:  3.7.0.1
         ROM:  0
         HOST: 3.0.1.51
         MAC address: 50:f1:4a:61:5d:df
        ============================================

                 *************************************************
                    CC32xx MQTT client Application
                 *************************************************
Device came up in Station mode
[WLAN EVENT] STA Connected to the AP: ApCNX , BSSID: 3e:91:48:c5:c9:32
[NETAPP EVENT] IP acquired by the device
Device has connected to ApCNX
Device IP Address is 172.20.10.2
...........Connection to broker failed, Error code: -111
BRIDGE DISCONNECTION
On-board Client Disconnected
Thank you.
Best regards.