Added serial passthru

This addes the command serial_passthru which will pass data from one
   device to another. This can be used to use u-center connected to USB
   with a GPS on a serial port.

   Usage: serial_passthru [arguments...]
      -e <val>    External device path
                  values: <file:dev>
      -d <val>    Internal device path
                  values: <file:dev>
      [-b <val>]  Baudrate
                  default: 115200
      [-t]        Track the External devices baudrate on internal device

    With the -t option baudrate changes made on the PC connected to the USB
    will be set to the intrenal device.
This commit is contained in:
David Sidrane
2022-02-01 21:49:29 -05:00
committed by Daniel Agar
parent 0c8a5b3da1
commit 48c32f7795
3 changed files with 529 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
menuconfig SYSTEMCMDS_SERIAL_PASSTHRU
bool "serial_passthru"
default n
---help---
Enable support for passing one sevice to another
i.e ttyACM to ttyS5