Other Parts Discussed in Thread: CC3200
Tool/software: Code Composer Studio
Hi
I am working with CC3220MODASF.
I tried to run the inbuilt mqtt client example with mosquitto server installed in my pc but the device is not getting connected to the mosquitto broker.
For the mosquitto server part, i have send and received message in the mosquitto server using mqttLens and adafruit io.So i guess there is no problem with the installation of the mosquitto server.
Now for the mqtt client example in TI SDK the things i have changed are network name and password, the server address which i replaced my PCs ip address.
This is what I see in teraterm Window
*************************************************
CC32xx MQTT client Application
*************************************************
Device came up in Station mode
[WLAN EVENT] STA Connected to the AP: AndroidAP , BSSID: 5c:99:60:68:6:5a
[NETAPP EVENT] IP acquired by the device
Device has connected to AndroidAP
Device IP Address is 192.168.43.242
...........Connection to broker failed, Error code: -111
BRIDGE DISCONNECTION
On-board Client Disconnected
.
TO Complete - Closing all threads and resources
Unsubscribed from the topic /Broker/To/cc32xx
Unsubscribed from the topic /cc3200/ToggleLEDCmdL1
Unsubscribed from the topic /cc3200/ToggleLEDCmdL2
Unsubscribed from the topic /cc3200/ToggleLEDCmdL3
Client Stop completed
reopen MQTT # 1