]> git.sur5r.net Git - tio/blobdiff - TODO
Update upstream source from tag 'upstream/2.0'
[tio] / TODO
diff --git a/TODO b/TODO
index 7801868f53db4c1445e1f9459b58b8bfff810542..14d80254653c4786cb4901dcbf17890980672493 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,19 +1,31 @@
 
  * Split I/O feature
 
-   Allow to split input and output so that it is possible to manage these independently.
+   Allow to split input and output so that it is possible to manage these
+   independently.
 
    The general idea is to redirect the output stream on the socket port number
    specified but then redirect the input stream on the same port number + 1.
 
    Example:
 
-   tio /dev/ttyUSB0 --socket inet:4444,split-io
+    $ tio /dev/ttyUSB0 --socket inet:4444,split-io
 
-   Will result in output stream being hosted on port 4444 and input stream hosted on port 4445.
+   Will result in output stream being hosted on port 4444 and input stream
+   hosted on port 4445.
 
    For file sockets something similar can be arranged:
 
-   tio /dev/ttyUSB0 --socket unix:/tmp/tio-socket-0,split-io
+    $ tio /dev/ttyUSB0 --socket unix:/tmp/tio-socket-0,split-io
 
-   Will result in output stream being hosted via /tmp/tio-socket-0 and input stream hosted via /tmp/tio-socket-0_input
+   Will result in output stream being hosted via /tmp/tio-socket-0 and input
+   stream hosted via /tmp/tio-socket-0_input
+
+ * Websocket support
+
+   Extend the socket feature to redirect serial I/O to websocket on e.g. port
+   1234 like so:
+
+    $ tio --socket ws:1234
+
+   Use libwesockets to implement feature.