Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 539 Bytes

ZMQ_Readme.md

File metadata and controls

12 lines (8 loc) · 539 Bytes

Code for a network between a Master and multiple slaves.

The master acts as a controller (in MVC) and streams the state to the slaves. The slaves get the messages and update the serial devices statuses.

ZMQC

  • simulate server reception : zmqc -rb SUB 'tcp://0.0.0.0:5557'
  • simulate server emission : code/master/simulate_server_to_slaves_cli.py
  • simulate slave emission : zmqc -wb PUB 'tcp://0.0.0.0:5557' (don't know if it works, need to send multipart, )
  • simulate slave reception : zmqc -rc SUB 'tcp://master:5556'