[Xastir] Serial KISS interface - long delays

Curt Mills, WE7U hacker at tc.fluke.com
Thu May 29 16:24:32 EDT 2003


On Thu, 29 May 2003, J. Lance Cotton wrote:

> Could we make the delay a configurable parameter
> (after the code freeze is over)? Maybe "hidden" like Mozilla's prefs; it could
> be in the config file, but have no gui interface to change it. A power-user pref.

Another possibility is to edit the code yourself to make a custom
build.  interface.c, line 3481 is the place:


//fprintf(stderr,"Char pacing ");
usleep(25000); // character pacing, 25ms per char.  20ms doesn't work for PicoPacket.


Crank it down to some lower value and test it out.  Make sure
whatever value you choose that you don't go too fast and overrun
your TNC's buffer.  If your TNC can keep up at max speed then you
can comment out the usleep() call.

We also have 100ms waits in output_my_data() at lines 5397 and 5499,
and a 1.5 second wait, same function, at 5511.  None of those apply
to serial KISS TNC's though, but they do apply to other types of
TNC's, including AX25.  AX25 devices should probably be excluded
from the usleep() calls as well.

-- 
Curt Mills, WE7U                    hacker_NO_SPAM_ at tc.fluke.com
Senior Methods Engineer/SysAdmin
"Lotto:    A tax on people who are bad at math!"
"Windows:  Microsoft's tax on computer illiterates!" -- WE7U
"The world DOES revolve around me:  I picked the coordinate system!"



More information about the Xastir mailing list