Two concurrent paho C client programs on the same RPi connecting to local Mosquitto Broker...

34 views
Skip to first unread message

Pihlung Pang

unread,
May 3, 2016, 6:24:48 PM5/3/16
to MQTT
is causing trouble. One of the Client is being disconnected. 
Is that to be expected using the synchronous paho-mqtt3c shared lib?
Is there another library/way to make it work.

Thanks

Karl Palsson

unread,
May 3, 2016, 6:47:46 PM5/3/16
to mq...@googlegroups.com

sounds like you're using the same client id on both of them.
don't do that.
signature.asc

Pihlung Pang

unread,
May 4, 2016, 11:37:31 AM5/4/16
to mq...@googlegroups.com
That was the problem. Thank you Karl.


--
To learn more about MQTT please visit http://mqtt.org
---
You received this message because you are subscribed to a topic in the Google Groups "MQTT" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mqtt/jicrYVIpH18/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mqtt+uns...@googlegroups.com.
To post to this group, send email to mq...@googlegroups.com.
Visit this group at https://groups.google.com/group/mqtt.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages