An alternative to writing your own software is using 'socat' which can
interface between a tcp port and serial port (perhaps using a raspberry pi
or the like as the interface). It apparently has settings for separate
ispeed and ospeed. Its competitor, ser2net, doesn't seem to have that
ability.
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
The posix C library supports this. http://linux.die.net/man/3/tcsetattr
with the cfsetispeed and cfsetospeed functions.
We do something similar to synthesize 1-wire protocol with the serial port
by switching between baud rates to change from data to reset pulses. It
works pretty well depending on
] OT : different Rx and Tx baud rate on same port
Hi,
I am looking for current serial adapters that support split baud rates.
That is different input and output baud rate.
Grateful for suggestions!
kind regards,
Björn
___
time-nuts
Here is a snippet of code from a program in C I have running on Linux.
Notice that I had to set both the input and output baud rates. After looking
around on the web, it seems to be a matter of whether the hardware will support
split baud rate. So, essentially, code it and try it.
Paul,
The posix C library supports this. http://linux.die.net/man/3/tcsetattr
with the cfsetispeed and cfsetospeed functions.
Yes, but do the serial device drivers (still) support it? Is there
hardware supporting it?
--
Björn
___
time-nuts
b...@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
Hi,
I am looking for current serial adapters that support split baud rates.
That is different input and output baud rate.
Grateful for suggestions!
kind regards,
Björn
___
time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to
Hi
What kind of interface?
Bob
On Dec 6, 2013, at 7:14 PM, Björn b...@lysator.liu.se wrote:
Hi,
I am looking for current serial adapters that support split baud rates.
That is different input and output baud rate.
Grateful for suggestions!
kind regards,
Björn
Björn;
What platforms (HW and OS) are we considering? If I were writing the
software, I'd seriously consider using two ports.
JimT
Sent from *my* galaxy (Nexus).
On Dec 6, 2013 9:33 PM, Björn b...@lysator.liu.se wrote:
Hi,
I am looking for current serial adapters that support split baud
To: time-nuts@febo.com
Sent: Friday, December 06, 2013 4:14 PM
Subject: [time-nuts] OT : different Rx and Tx baud rate on same port
Hi,
I am looking for current serial adapters that support split baud rates.
That is different input and output baud rate.
Grateful for suggestions!
kind regards
11 matches
Mail list logo