Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » 4DIAC - Framework for Distributed Industrial Automation and Control » MQTT Invalid ID
MQTT Invalid ID [message #1843372] Mon, 26 July 2021 16:40 Go to next message
Jorge Lobão is currently offline Jorge LobãoFriend
Messages: 5
Registered: July 2021
Junior Member
I am trying to use MQTT to subscribe and publish some values, but i always get "Invalid ID" or "No Socket".
Subscribe ID: raw[].mqtt[tcp://10.10.13.107:1883, forte, input]
Publish ID: raw[].mqtt[tcp://10.10.13.107:1883, forte, output]
I use a mosquitto broker, that is in another computer and it´s working .
Any advise?
And what is CientID?
Re: MQTT Invalid ID [message #1843375 is a reply to message #1843372] Mon, 26 July 2021 20:21 Go to previous messageGo to next message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 1585
Registered: January 2014
Senior Member

Dumb question: you have enabled the raw communication layer and the mqtt communication layer when building the FORTE you are using?
Re: MQTT Invalid ID [message #1843386 is a reply to message #1843375] Tue, 27 July 2021 09:27 Go to previous messageGo to next message
Jorge Lobão is currently offline Jorge LobãoFriend
Messages: 5
Registered: July 2021
Junior Member
Probably not, how and where i do that?
Re: MQTT Invalid ID [message #1843400 is a reply to message #1843386] Tue, 27 July 2021 20:31 Go to previous message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 1585
Registered: January 2014
Senior Member

You should find all you need here: https://www.eclipse.org/4diac/en_help.php?helppage=html/communication/mqttPaho.html
Previous Topic:Help! Can not run the ide source code1.14
Next Topic:Using 4diac in Revolution Pi (RevPi) && IO accessing
Goto Forum:
  


Current Time: Thu Apr 25 11:11:33 GMT 2024

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

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

Back to the top