Things Bus: Difference between revisions

From Pumping Station One
Line 89: Line 89:


The software for a node can be written in any language that supports zmq and json.
The software for a node can be written in any language that supports zmq and json.
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 is to SUB to sensors, and PUSH to actuators.


Sensors send data like this:
Sensors send data like this: