serial to USB, trying to read from /dev/ttyUSB0 in C code
I'm trying to read a GPS stream from /dev/ttyUSB0 in code. I have an external gps sending out a data stream on a serial line and then i have a serial to USB converter so I can use the USB port. I see the GPS data stream by doing cat /dev/ttyUSB0, but when I try to read it in code I dont get the messages. what could be different? Do I need to set up /dev/ttyUSB0 differently than /dev/ttyS0. Once I plug the db9 connector from the gps into COM1 and change and run my code it works fine. Thanks in advance, this forum rocks.