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...
  • MVP 2021

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.

Link to comment
Share on other sites

  • 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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...