Re: C tty/tcsetattrs question

2016-05-27 Thread Manuel Bouyer
On Thu, May 26, 2016 at 07:30:05PM +0200, Manuel Bouyer wrote: > Hello, > I have a GPS device connected to a serial port. It defaults to 9600bps > NMEA messages, but I need to switch it to 4800bps. There are NMEA > commands for this, and I can properly do this using cu(1). > > Now I'm trying to wr

Re: C tty/tcsetattrs question

2016-05-27 Thread Manuel Bouyer
On Fri, May 27, 2016 at 03:37:03AM +, David Holland wrote: > On Thu, May 26, 2016 at 07:30:05PM +0200, Manuel Bouyer wrote: > > I have a GPS device connected to a serial port. It defaults to 9600bps > > NMEA messages, but I need to switch it to 4800bps. There are NMEA > > commands for this,

Re: C tty/tcsetattrs question

2016-05-26 Thread David Holland
On Thu, May 26, 2016 at 07:30:05PM +0200, Manuel Bouyer wrote: > I have a GPS device connected to a serial port. It defaults to 9600bps > NMEA messages, but I need to switch it to 4800bps. There are NMEA > commands for this, and I can properly do this using cu(1). > > Now I'm trying to write