Hi,
I have used MQTT Client demo application for dumping ADC data on cloud server messagesight.demos.ibm.com.
But from past 2 days, I am getting network error when I publish the data. But the subscribed data (/cc3200/ToggleLEDCmdL1) comes through fine.
I am getting the below error:
Publish Message Received
Topic: /cc3200/ToggleLEDCmdL1 [Qos: 0]
Data is: /cc3200/ToggleLEDCmdL1
C: Msg w/ ID 0x0000, processing status: Good
C: FH-B1 0xc0 to net 17, Sent (2 Bytes) [@ 55]
C: Rcvd msg Fix-Hdr (Byte1) 0xd0 from net 17 [@ 55]
C: Msg w/ ID 0x0000, processing status: Good
C: FH-B1 0x35 to net 17, Sent (74 Bytes) [@ 59]
C: Net 17, Raw Error -1, Time Out: N
C: RX closing Net 17 [-1]
C: Cleaning session for net 17
C: Net 17 now closed
disconnect from broker messagesight.demos.ibm.com
CC3200 Publishes the following message
Topic: /cc3200/ButtonPressEvtSw3
Data: Push button sw3 is pressed on CC32XX device
Exiting the Application
Since its a network error it gives, I am trying to do this on a different server. The one I tried is broker.mqttdashboard.com. I got the following error.
Version: Client LIB 1.0.4, Common LIB 1.1.1.
C: FH-B1 0x10 to net 17, Sent (45 Bytes) [@ 4]
C: Net 17, Raw Error -1, Time Out: N
C: RX closing Net 17 [-1]
C: Cleaning session for net 17
C: Net 17 now closed
disconnect from broker broker.mqttdashboard.com
Broker connect fail for conn no. 1
I have tried connecting to this server earlier, but I have failed with a different error (donot have a log of that). But I would like to connect to different server just in case the IBM server doesnot respond.
My question is, Can I connect MQTT Client demo to different servers like the one above? What changes should I do for the same? I have tried changing the server address, port address, keep alive timer.
Many Thanks,
Soumya