[time-nuts] OT : different Rx and Tx baud rate on same port

Henry Hallam henry at pericynthion.org
Sat Dec 7 22:43:39 EST 2013


You could also consider making a simple gadget with your
microcontroller of choice, that presents an interface to the PC of a
fixed baud rate (perhaps 115200) and handles the weirdo split rates
for the GPS gadget on one or two of its other ports.

Henry

On Sat, Dec 7, 2013 at 12:18 PM, Hal Murray <hmurray at megapathdsl.net> wrote:
>
> bg at lysator.liu.se said:
>> Looking at the "stty" unix command. It seems clear that split baud rates has
>> been supported at one time.
>
> On Linux, man termios gives lots of API details.
>
> On NetBSD and FreeBSD, that gets an overview.  man tcsetattr gets the API
> details.
>
> If you use stty to change things, the new info is sticky.  So if you have a
> program that is all set to go except that the baud rates aren't right and
> that program doesn't smash the baud rates, you can set them with stty and
> your program should work.  I haven't tried it with split baud rates, but the
> normal (non-split) case works.
>
> If your gizmo uses simple ASCII, you can test things with cat /dev/wherever
> and things like this on another terminal
>   echo "blah blah..." > /dev/wherever
>
>
> --
> These are my opinions.  I hate spam.
>
>
>
> _______________________________________________
> time-nuts mailing list -- time-nuts at febo.com
> To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
> and follow the instructions there.


More information about the time-nuts mailing list