By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,583 Members | 3,411 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,583 IT Pros & Developers. It's quick & easy.

mqtt publish error MQTTclient failure in C

P: 1
I'm try to publish my data via MQTT in C and I'm use the sample code of ( Paho MQTT C Client Library link [])

and after running code I'm getting Error that "connection failed return code -1 [ MQTTCLIENT_FAILURE ]
I installed ActiveMQ broker in my system and testing with MQTTbox that is working properly but when I'm trying with my codeblocks IDE with same Address Client and Topic at that time I'm getting error "Failed to connect with MQTTCLIENT_FAILURE in return
May 11 '18 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.