[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-users] Speeding up autobauding
From: |
Eric S. Raymond |
Subject: |
Re: [gpsd-users] Speeding up autobauding |
Date: |
Fri, 19 Oct 2012 08:40:07 -0400 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Jonathan Fewtrell <address@hidden>:
> My app is primarily for AIS (so normally 38400 baud) but also handles GPS
> (normally 4800). Ideally I'd like to be able to start the autobauding at
> 38400, as 90+% of the time this will be the right value. Is this possible via
> the API?
Not at rutine.
> Alternatively, can I tweak the code myself to produce this result? I don't
> really want to do this as it would mean my having to distribute my own
> version of gpsd to users, when they might already be using the standard
> version. But I'll do it if necessary. Pointers on how to do so without
> messing up the code would be appreciated. Would it be as simple as changing
> the order of the members of the rates[] array in serial.c (around line 529)?
Easier than that. Build from souece; with fixed_port_speed=38400.
But it would be more useful if we can figure out why autobauding slowed
down and how to fix it. Could you run a bisection between 3.1 and 3.7?
--
<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>
- [gpsd-users] Speeding up autobauding, Jonathan Fewtrell, 2012/10/17
- Re: [gpsd-users] Speeding up autobauding,
Eric S. Raymond <=
- Re: [gpsd-users] Speeding up autobauding, Alexander Carver, 2012/10/19
- Re: [gpsd-users] Speeding up autobauding, Alexander Carver, 2012/10/19
- Re: [gpsd-users] Speeding up autobauding, Eric S. Raymond, 2012/10/19
- Re: [gpsd-users] Speeding up autobauding, Alexander Carver, 2012/10/19
- Re: [gpsd-users] Speeding up autobauding, Eric S. Raymond, 2012/10/23
- Re: [gpsd-users] Speeding up autobauding, Alexander Carver, 2012/10/24