Changes

m
Almost final
Line 176: Line 176:  
* Open first terminal, which will act as '''Subscriber'''. Type in:  
 
* Open first terminal, which will act as '''Subscriber'''. Type in:  
   −
<blockquote>''mosquito_sub -h [Host_address] -p [Port] -t [Topic]''</blockquote>
+
<blockquote>''mosquito_sub -h [Host_address] -p [Port] -t [Topic]''</blockquote>[[File:Networking MQTT Modbus Subscriber in terminal v1.png]]
 +
 
 +
* Open second terminal, which will act as '''Publisher.''' Type in:
 +
 
 +
<blockquote>''mosquito_pub -h [Host] -h [Host_address] -p [Port] -m [‘Message’] -t [Topic]''</blockquote>[[File:Networking MQTT Modbus Publisher testing v1.png]]
 +
 
 +
* On the first window - '''Subscriber''', a response should appear
 +
 
 +
[[File:Networking MQTT Modbus Subscriber response ubuntu v1.png]]

Navigation menu