Configuring UART for gps module

Ann R. (Russia)
Hi!

How to configure /dev/ttySAC3 to accept data from GPS TX-pin?
In the manual for gps module i have information that it transmitts data on
speed 4800  in format 8n1

i make "stty -F /dev/ttySAC3 4800" or "stty -F /dev/ttySAC3 4800 cs8# ,
but symbols that i get when "cat /dev/ttySAC3" are still unreadable.

Here is the configuration of the port:

"speed 4800 baud;                                                          
                                           
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;      
                                          
eol2 = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; 
                                          
lnext = ^V; flush = ^O; min = 1; time = 0;                                 
                                          
-brkint -imaxbel  "

Is it ok?

Need your help, please :)

sean_h
Hi Ann

Try: stty -F /dev/ttySAC3 -a
To check all the uart parameters.

Try: stty 4800 cs8 -parenb -F /dev/ttySAC3
For no parity

Try: cat < /dev/ttySAC3 &
In case there is a buffer issue

Sean