[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [coldsync-hackers] [PEG-T415] update
- To: coldsync-hackers at lusars dot net
- Subject: Re: [coldsync-hackers] [PEG-T415] update
- From: Andrew Arensburger <arensb+CShackers at ooblick dot com>
- Date: Thu, 7 Mar 2002 18:35:31 -0500 (EST)
- In-Reply-To: <200203072234.g27MYls24792@ns3.safety.net>
- Reply-To: coldsync-hackers at lusars dot net
- Sender: owner-coldsync-hackers at lusars dot net
On Thu, 7 Mar 2002, Cliff L. Biffle wrote:
> I've successfully gotten coldsync and the Clie to play nice, to some degree.
> It hangs during the ReadDBList process.
>
> Some observations:
> --The Clie does -not- send the password or a hash of the password. This is
> probably intentional. It may do differently over netsync or Irsync.
Then perhaps the protocol goes like this:
Palm: Hello, I am "Joe Bob", user ID 12345.
Desktop: Tell me more about your user settings. OBTW, the md5 hash of
Joe Bob's password is "blah".
Then the Palm compares the given md5 hash to the md5 hash of its own copy
of the password. If they don't match, it refuses to talk any further.
> --The sync process gets up to the ReadDBList stage, successfully reads the
> first database, but only the first. It then asks for the second (start == 1)
> and times out waiting for the response. When the Palm Desktop software asks
> for the DBList, it uses different flags and obtains a -lot- more info in a
> shot (the first 76 databases in one packet, the remainder in the next). Is
> coldsync's one-database-per-packet intentional? Because it doesn't seem to
> work. :-)
It's intentional in that before PalmOS 2.x (?) ReadDBList only
returned one database per call. The current code is backward-compatible to
the Pilot 3000, I think.
IIRC each protocol gives its own compatibility version. That is,
at some point the Palm says, "I understand SLP up to version 2.0, CMP up
to version 1.1, and DLP up to version 3.0."
I think an ideal solution would be to cache this information
somewhere (in the PConnection, I think), and use it to optimize further
calls.
A slightly less ideal solution would be to declare that PalmOS 1.x
is no longer supported.
--
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.