Couldn't publish messages using liblwmqtt c client

Asked by Venkates Velayutham

We used liblwmqtt C light weight client(http://code.google.com/p/liblwmqtt/) to publish messages to mosquitto mqtt broker(0.8.3), liblwmqtt was able to connect to mosquitto mqtt broker, but the messages received at mosquitto mqtt subscription application was empty. Any help in this regard would be useful. We tried to use liblwmqtt(http://code.google.com/p/liblwmqtt/) because it is very light weight and could be used in a Micro Controller where memory is limited.

Thanks,

Venky

Question information

Language:
English Edit question
Status:
Solved
For:
mosquitto Edit question
Assignee:
No assignee Edit question
Solved by:
Venkates Velayutham
Solved:
Last query:
Last reply:
Revision history for this message
Roger Light (roger.light) said :
#1

Hi Venky,

Would it be possible for you to try running the same experiment with the IBM broker rsmb? If it works with rsmb we'll have to do more debugging. In general I've got to avoid looking at other mqtt code though to avoid licence problems.

Cheers,

Roger

Revision history for this message
Venkates Velayutham (venky) said :
#2

Hi Roger,
Thanks for responding. We tried liblwmqtt C light weight client(http://code.google.com/p/liblwmqtt/) with IBM broker rsmb subscriber, the messages received by rsmb subscriber is also empty. So it appears there is a bug in liblwmqtt C light weight client. We will look into it.

Regards,

Venky