[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [coldsync-hackers] coldsync 1.5.3 nov 27 snapshot
On Wed, 29 Nov 2000, Don Duck Harper wrote:
> Ditto...but, it only gives me the one, and then it works...only the very
> first time w/ the new code did it not work.
>
> On Wed, Nov 29, 2000 at 05:51:45PM -0500, Ryan VanderBijl wrote to To coldsync-hackers-request@lusars.net:
> :-) I just wanted to say that I tried it out on a Visor Deluxe,
> :-) on a box running linux v2.4.0-test11, UHCI, and it works.
> :-)
> :-) However, I do still get a lot of error messages:
> :-) 05:41pm rvbijl39@unary ~/coldsync/coldsync-1.5.3% src/coldsync -mb backup -p /dev/ttyUSB1
> :-) Please press the HotSync button.
> :-) SLP: bad CRC: expected 0x1c80, got 0xbeef
> :-) ACK Timeout. Attempting to resend
> :-) ACK Timeout. Attempting to resend
Yeah, you're going to continue seeing "Bad CRC" errors under Linux
until the serial device is fixed (or until you comment out that fprintf()
:-) ). When it gets a malformed packet like that, ColdSync doesn't
acknowledge it and waits for the Palm to resend it, just as it's always
done.
The improvement in v1.5.3 is that it no longer falls over with
"Unexpected data packet. I'm confused!", which was the main reason why it
would fail to complete a sync[1]. Now that it can deal with these cases,
it stands a much better chance of completing a full sync, even on a noisy
serial line.
[1] In case you care: this happened when ColdSync sent out a data packet
and waited for an ACK packet from the Palm. But instead of an ACK, it got
another data packet.
This can happen if the Palm sent ColdSync a data packet, and
ColdSync acknowledged it, but the ACK got lost or corrupt on the way to
the Palm. In this case, the Palm would resend the data packet again. But
as far as ColdSync was concerned, it had already received the data packet
and send back an ACK.
In 1.5.3, ColdSync figures that whatever the data packet is, it's
old news, and unimportant. So it sends back an ACK to shut the Palm up,
and tries resending.
--
Andrew Arensburger Actually, these _do_ represent the
arensb@ooblick.com opinions of ooblick.com!
Generic Tagline V 6.01
--
This message was sent through the coldsync-hackers mailing list. To remove
yourself from this mailing list, send a message to majordomo@thedotin.net
with the words "unsubscribe coldsync-hackers" in the message body. For more
information on Coldsync, send mail to coldsync-hackers-owner@thedotin.net.