accessing data from serial port
Hi all,
I am pretty new at linux. I have two serial ports(ttyS0 & ttyS1), on one I have GPS system and on the other I have a weather station. I am trying to read data from both the serial ports. I am able to read the data from the weather station, but when i try to read data from gps(ttyS1) the output remains blank. It doesn't even print out the printf statements, that are before the open() & read() functions. Please suggest me. Regards, Prerak |
Does connecting the weather station to the 2nd serial port work? Are the permissions on the 2nd serial port correct?
Maybe you seen this app: http://www.ncc.up.pt/gpsman/ |
It doesn't give me errors pertaining to permissions. it just hangs up without showing any output
|
All times are GMT -5. The time now is 08:48 AM. |