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.

MQTT broker connection error in demo code of CC3200

Other Parts Discussed in Thread: CC3200

Hello All,

             The MQTT client demo was working fine in the prescribed workspace of CCS6.Today surprisingly i am facing this connection issue.

please let me know.Thanks for your support.

*************************************************

                    CC3200 MQTT_Client Application

                 *************************************************

 

 

 

Host Driver Version: 1.0.0.10

Build Version 2.4.0.2.31.1.3.0.1.1.0.3.34

Device is configured in default state

Started SimpleLink Device: STA Mode

[WLAN EVENT] STA Connected to the AP: Vprints , BSSID: c:d2:b5:21:a0:e8

[NETAPP EVENT] IP acquired by the device

 

Device has connected to Vprints

Device IP Address is 192.168.1.9

 

Version: Client LIB 1.0.3, Common LIB 1.1.1.

C: FH-B1 0x10 to net 17, Sent (45 Bytes) [@ 103]

C: Net 17, no RX MSG in reasonable time

C: RX closing Net 17 [-1]

C: Cleaning session for net 17

C: Net 17 now closed

 

Broker connect fail for conn no. 1

 

 Exiting the Application

[SOCK ERROR] - close socket (17) operation failed to transmit all queued packets

Thanks and Regards

Narasimha jagirdar

+91-9901544165

  • Hi Narasimha,

    1. What has changed between the working and non-working setup? Did you change the broker, port number?
    2. Are you connecting to an external/open broker via getHostByName? If yes, then can you please check the internet connection or try after sometime?

    Regards,
    Raghavendra
  • Hello Raghavendra,
    Thanks for the reply.The issue got resolved i think during that time there was some internet issue and also the m2m.demo.ibm was not able to connect.may be the ibm server was under maintanance,or not responding at that moment.
    1.No code change done.
    2.yes iam connecting to external connection to publish and subscribe data.
    Please close this issue its resolved,there are other couple of queries that i will create new threads.

    Regards
    Narasimhajb