Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Paho » multiple publish not working(multiple publish lines not working)
multiple publish not working [message #1764150] Thu, 25 May 2017 20:29
Wim Nijntjes is currently offline Wim NijntjesFriend
Messages: 5
Registered: May 2017
Junior Member
When I use multiple "client.publish" lines like:


client.publish("temp",graden,qos=0,retain=True)
client.publish("druk",pres,qos=0,retain=True)
client.publish("hum",vocht,qos=0,retain=True)
client.publish("dauw",dewp,qos=0,retain=True)

only the first line works.

How should I publish this 4 topics?

Regards, Wim

[Updated on: Sat, 27 May 2017 17:43]

Report message to a moderator

Previous Topic:MQTT messages
Next Topic:Help with publishing
Goto Forum:
  


Current Time: Thu Apr 18 15:05:39 GMT 2024

Powered by FUDForum. Page generated in 0.01322 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top