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?