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 <rgm@xxxxxxxxxxxxxxx> wrote:
On 12/24/23 06:36, Barry Scott wrote:
>
>> On 24 Dec 2023, at 01:25, Robert Moskowitz <rgm@xxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxx
>> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
>> 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@xxxxxxxxxxxxxxxxxxxxxxx
>> Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
> --
> _______________________________________________
> users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
> 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@xxxxxxxxxxxxxxxxxxxxxxx
> Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
--
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
-- _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue