Jump to content

MQTT, the role of Unistream: Broker, server, client


Fabios

Recommended Posts

Hi,

I'm newbie of the MQTT protocol, I have reading something on internet for a new application with unistream and MQTT protocol.

On the help file I read: "UniStream supports MQTT as a 'client' that can both publish, and subscribe, to messages."

OK it's clear, so I nead of a local broker (for istance: a raspberry pi and mosquitto).

Then I try to study an example of unilogic software where I read: "UniStream can be configure to be a MQTT server."

So, what does it mean as "server"?

Thanks in advance.

Link to comment
Share on other sites

Dear Fabios,

Quote

Then I try to study an example of unilogic software where I read: "UniStream can be configure to be a MQTT server."

Can you refer me to the screen? Its a mistake. UniStream can only act as an MQTT client. In MQTT the terminology is Broker, and not Server - There are a lot on resources on network on MQTT broker manner.

Link to comment
Share on other sites

Yes UniStream can only act as client. With the word server I can imagine that the plc is the client that  governs the system, reads values from some clients and writes other values to other MQTT clients.

BR1064863689_UnistreamEX.thumb.jpg.4bb1d60b75584af2e012c48885910789.jpg

 

 

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...
On 5/23/2022 at 8:53 PM, Joe Tauser said:

I so miss the terms "Master" and "Slave".....

They are very clear, if not politically correct.  Modbus is the last holdout.

In a business relationship, is the Client the Master or the Slave?  Guess it depends.

 

Joe T.

On my first approach to these new terminologies I was a little bit confused too but its quite easy ... The client requests, then the server serves, so the server is the slave and the client is the master.

 

Therefore, in a business relationship the Client is the master 😅

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.