YVP Protocol: Difference between revisions

m
(Wrote the YVP protocol documentation)
 
Line 28: Line 28:


=Status Response=
=Status Response=
The command <code><stat></code> should return a response of:
The command <code><stat></code> should return a response of the form:
<code>
<code>
  <map>
  <map>
Line 36: Line 36:
  </map>
  </map>
</code>
</code>
Here XX and ZZ refer to outputs, and YY, AA refer to their linked inputs. Depending on the device, a zero on the input refers to input zero or not mapped.
 
Where the map tags indicate a routing table, and the link tags indicate a single link from that routing table.
 
In the above example, XX and ZZ refer to inputs, and YY, AA refer to their linked outputs. As zero-indexing is not used (for human readability) in YVP, a Zero on the input will refer to "OFF" for binary or numeric events, or "high impedance" for signal routing events (used in vision router linking to obtain larger matrixes). This won't actually lead to contention, as OFF and High impedance will have the same effect in routing - not driving the specified output (YY or AA in this example). The output number (YY or AA here) must be a positive integer, in the range 1 to 99 inclusive. It is naively expected that YSTV will never have more than 99 inputs or outputs in a single device.


=Invalid Command Response=
=Invalid Command Response=