Basically the lastSyncPC is supposed to be some sort of unique ID for each PC that you want to sync with. Then, the sync software can check to see if it is the same as what it expects. If it is different, then a "slow sync" would need to be performed to make sure that all changes are accounted for.

Jpilot handles this, and I looked at the code a tiny bit yesterday. I am not sure how the unique code is generated, since I didn't look at that part of the code, but it has a seemingly random number for that.

The big problem is that trying to figure out what changed on the Palm device gets very tricky when you can't rely on the modification flags for the records. That is easy to see in the Jpilot code, which gets very complicated when the lastSyncPC ID doesn't match and it goes into "slow sync" mode. I am not really sure how to solve it easily.

A full solution would probably have to involve making a Palm plugin copy of all the records so that they can be compared to the Palm device ones if needed. Once the changes are determined there, they would be synced to the other Multisync plugin. I guess that is a lot more code...

Or, I suppose I could try to just sync to one system...

Even if the "full sync" mode isn't added to the Multisync plugin, it would probably be a good idea to warn the user that syncing with multiple desktop applications may result in strange behavior.

-Sim

Armin Bauer wrote:

On Mon, 2004-05-10 at 16:52, Sim Harbert wrote:


I am really interested in being able to sync my Palm device (Treo 600) with something other than Jpilot, so I decided to try Multisync. Well, it turns out that I guess I want more than the Palm plugin provides.

What is the status of making the Palm plugin properly handle syncing between multiple applications/systems? It currently ignores the lastSyncID setting, so it doesn't realize that the Palm device might have been synced to a different application, or even multisync on another PC.



Thats true. the lastSyncID isnt implemented right now, but just because i didnt know what its use is. If you give me a bit more of an information i will be happy to implement that





-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Multisync-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/multisync-users

Reply via email to