Re: [Gpsbabel-misc] Time-out during waypoint download
Brought to you by:
robertl
From: Anders A. <sm...@us...> - 2003-08-29 18:32:20
|
Thanks for the feedback; I managed to solve the problem with the waypoint download timing out under certain circumstances. The 5-7-character waypoint labels that seemed to trigger the bug came in data packets 65-67 bytes long. I think I have seen that the terminal driver uses 64-byte buffers internally. A Tektronix 833 data comm tester confirmed that the Garmin unit indeed sent the entire packets, but the final bytes were indefinitely delayed in the Solaris terminal driver. I replaced the GPS unit with a loopback wire, wrote a test program and found that data packets 1-3 bytes long also suffered from the same problem, which was due to a weird default MIN parameter value in the terminal driver for non-canonical input mode. I submitted a detailed description with my two-line patch to the Tracker, but unfortunately SouceForge complained about my attached patch file being of the wrong type, and it didn't make it, so I'll attach it to this message as well. If you want me to send the patch to some other address, just let me know. -- Anders Andersson |