I have found socat:

socat -d -d pty,rawer,echo=0 pty,rawer,echo=0

on my system that is creating /dev/pts/18 and 19 and I can run screen to them and type back and forth.  So I SHOULD be able to simply use this...



On 12/24/23 08:21, Roger Heflin wrote:
If you have the arduino app attach to the port and then exit the arduino port (once it has setup the port speed to work in its serial viewer), then cat from the port works and echo to the port works (while the cat is reading from it).  My arduino program takes commands from serial, and outputs status back.  I have not researched the exact raw command to set the speed and bits from the command line yet).

On Sun, Dec 24, 2023, 8:10 AM Robert Moskowitz <r...@htt-consult.com> wrote:



    On 12/24/23 06:36, Barry Scott wrote:
    >
    >> On 24 Dec 2023, at 01:25, Robert Moskowitz
    <r...@htt-consult.com> wrote:
    >>
    >> I want to test a program that is supposedly talking serial to
    /dev/tty[].  e.g. ttyUSB0
    >>
    >> I was thinking that I could run some program in some terminal
    window that would set up a serial /dev/tty and the program could
    attach to that port and this magic program will capture the flow.
    >>
    >> The particular program is MAVproxy, and I am working on how
    different commands get routed through serial to the ArduPilot or
    ArduRemoteID.
    >>
    >> I was looking into if screen could act as a server for a port,
    but I am not finding that.
    >>
    >> What would work for this?
    > Its been a while since I did lots of serial comms.
    > The go to tool back in the day was kermit.
    > There is ckermit and gkermit that you could use.

    I was using kermit back in '93 on Win 3.0 ....

    Would have to check out the manpage to see if it can run as what
    amounts
    to a serial server.

    >
    > Barry
    >
    >> thanks
    >>
    >> --
    >> _______________________________________________
    >> users mailing list -- users@lists.fedoraproject.org
    >> To unsubscribe send an email to users-le...@lists.fedoraproject.org
    >> Fedora Code of Conduct:
    https://docs.fedoraproject.org/en-US/project/code-of-conduct/
    >> List Guidelines:
    https://fedoraproject.org/wiki/Mailing_list_guidelines
    >> List Archives:
    https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
    >> Do not reply to spam, report it:
    https://pagure.io/fedora-infrastructure/new_issue
    > --
    > _______________________________________________
    > users mailing list -- users@lists.fedoraproject.org
    > To unsubscribe send an email to users-le...@lists.fedoraproject.org
    > Fedora Code of Conduct:
    https://docs.fedoraproject.org/en-US/project/code-of-conduct/
    > List Guidelines:
    https://fedoraproject.org/wiki/Mailing_list_guidelines
    > List Archives:
    https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
    > Do not reply to spam, report it:
    https://pagure.io/fedora-infrastructure/new_issue
    --
    _______________________________________________
    users mailing list -- users@lists.fedoraproject.org
    To unsubscribe send an email to users-le...@lists.fedoraproject.org
    Fedora Code of Conduct:
    https://docs.fedoraproject.org/en-US/project/code-of-conduct/
    List Guidelines:
    https://fedoraproject.org/wiki/Mailing_list_guidelines
    List Archives:
    https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
    Do not reply to spam, report it:
    https://pagure.io/fedora-infrastructure/new_issue


--
_______________________________________________
users mailing list --users@lists.fedoraproject.org
To unsubscribe send an email tousers-le...@lists.fedoraproject.org
Fedora Code of 
Conduct:https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines:https://fedoraproject.org/wiki/Mailing_list_guidelines
List 
Archives:https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report 
it:https://pagure.io/fedora-infrastructure/new_issue
--
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to