Generic protocol: Difference between revisions

m (Robot: Cosmetic changes)
Line 5: Line 5:
A protocol file can contain either or both of '''<input>''' and '''<output>''' definition blocks. Which one is used depends on how the protocol is called. The following example would only use the <output> definitions block.
A protocol file can contain either or both of '''<input>''' and '''<output>''' definition blocks. Which one is used depends on how the protocol is called. The following example would only use the <output> definitions block.
  --generic=file,out,1,/tmp/data.xml,myproto
  --generic=file,out,1,/tmp/data.xml,myproto
If you're using a serial port under Windows, you must use a special escape sequence for COM port numbers higher than COM9. 
Ex: --generic=\\.\COM10,out,1,/tmp/data.xml,myproto
More detail can be found in this Microsoft KB article: http://msdn.microsoft.com/en-us/library/aa363858%28v=vs.85%29.aspx


Overview of the XML file
Overview of the XML file
67

edits