Jump to content









Photo

Is it possible to publish data to mqtt broker other than carriot broker?

mqtt

  • Please log in to reply
No replies to this topic

#1 Kaveh_Shh

Kaveh_Shh

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 10 August 2018 - 06:05 PM

Is it possible to publish data to mqtt broker other than carriot broker?I

I want to publish data to mosquitto mqtt broker instead of carriot. 

Is it possible? because when i run my listener code in debug mode for test, i get error.

def mqttPublisher = new MQTTPublisher ("iot.eclipse.org", 1883, 2, null, null);

If it's possible i have no username and password on my mqtt broker. how to create mqttPublisher withous username and password?







Also tagged with one or more of these keywords: mqtt

2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users