Things Bus: Difference between revisions

From Pumping Station One
Line 92: Line 92:
Nodes send messages using json data.  Sensors use zmq PUB/SUB.  Actuators use zmq PUSH/PULL.  Neurons use whatever they have to do get the job done, which means they SUB to sensors, and PUSH to actuators.
Nodes send messages using json data.  Sensors use zmq PUB/SUB.  Actuators use zmq PUSH/PULL.  Neurons use whatever they have to do get the job done, which means they SUB to sensors, and PUSH to actuators.


=== Code Snippits ===
Sensors send data like this:
Sensors send data like this: