Join Today
+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1

    Default Sync revisited - Anyone here familiar with XCode on mac?

    I've got two thoughts in mind here, but let me post a link before I get rolling:

    http://developer.apple.com/documenta...uid/TP40001178

    That's apple's sync services overview.

    Here's what we know about the A780 (and probably all Moto-Linux phones):

    The contacts are stored in a berkley db file, easily parsed out to csv.
    By establishing a socket connection to /dev/cu.USBMODEM(001) (whatever block device happens to appear), we can issue an AT command that puts the phone into SyncML mode.

    I have phone identification working on my Powerbook by hacking into iSync.app itself, however when I move that code block out into a phone plugin, detection fails. I don't know why this is at the moment.

    Presuming that I simply have some sort of structural or typographical error causing detection to fail as a plugin, we can get iSync to detect the A780/E680/i, etc. Once we've done that, then we need to define the synchronization mechanism.

    This is the rub for me. I'm wholly unfamiliar with XCode. I'm not even a c-coder. If I could get away with doing all of this in perl, we'd be all set, but to my knowledge, that's not an option.

    As I see it, we can do this two ways:

    1. Detect the phone.
    2. Create a socket on the block device (/dev/cu.USBPHONE(001)
    3. Issue the AT command to put it into SyncML mode.
    4. Instruct SyncServices on the Mac to begin issuing SyncML requests on our socket. (Presumable the link above will give us a clue as to how this is done.)
    5. When the SyncML session closes, close the socket (before which we issue another AT command to revert us back to whatever mode we were in prior...do we know this yet?)

    Option 2 probably isn't as clean, but just as feasible:

    1. Detect the phone.
    2. Put the phone into mass storage mode if it is not there already.
    3. Open the berkleyDB directly, and parse it into a multi-dimensional array. (or at worst a temporary csv file)
    4. Instruct SyncServices to sync against this array/csv. There is an example of how to sync against a csv in the XCode tools.
    5. Write the BerkleyDB file back to the filesystem.
    6. Optionally unmount the filesystem/revert the phone to whatever mode it was in prior to mass storage mode if we changed it.

    Anyone following me here? As I said, I can do this in perl, and the pseudo code is straightforward, but doing this in C is probably not something I can accomplish myself. Anyone up to the challenge?

  2. #2

    Default Re: Sync revisited - Anyone here familiar with XCode on mac?

    E680I!! won't work.. Probably that mode (cabled SyncML) is completly deleted or disabled.
    E680 maybe.

    A760/780 still have cabled SyncML option in Syncro... 8O

  3. #3

    Default Re: Sync revisited - Anyone here familiar with XCode on mac?

    It's still there.

    Get a serial connection in Modem mode.

    Type in:

    AT+MSYNC

    That will put you into SyncML mode.

  4. #4

    Default Re: Sync revisited - Anyone here familiar with XCode on mac?


  5. #5

    Default Re: Sync revisited - Anyone here familiar with XCode on mac?

    Yup. I can't get the inheritance tree right. We need the syncml family to be inherited, but that seems to wholly belong to the Nokia e-series family, yet we need the motorola family to get detected to begin with.

    Unfortunately, I think we have to write a sync services conduit from scratch, but I don't think it would be that much work for someone familiar with XCode to be honest. I've laid out precisely what needs to be done.

    Grrr...too bad there's no SyncML perl module out there, otherwise I'd say screw it and just write a cron job to constantly check for the presence of the phone and sync at intervals, or when called upon. :\

    No such thing exists though.

  6. #6

    Default Re: Sync revisited - Anyone here familiar with XCode on mac?

    are there any updates on this topis yet? still no isync support for the a780 ?

  7. #7
    Join Date
    Mar 2005
    Location
    Jakarta, Indonesia
    Posts
    1,088

    Default Re: Sync revisited - Anyone here familiar with XCode on mac?

    That'd be cool if my e680i can sync to my Mac ... would love to chip in a bounty for that? What do you all think, Mac users?
    Development of EZX-SysInfo / SysEdit application is completed! Version 0.1 Beta 2 is out. Check out in 'Bounty Projects' forum.

    http://www.geocities.com/inijohan_e680i/Mac-dock-sm.jpg

  8. #8

    Default Re: Sync revisited - Anyone here familiar with XCode on mac?

    inijohan, count me in !

  9. Default Re: Sync revisited - A780 PhonePlugin for iSync - Need Help!

    Hi All,

    I have been struggling with this for the last couple of days. Currently
    the last update of MacOS 10.4.7 with iSync version 2.3 still does not have
    any support for the Linux phones.

    I have beem able to produce a plugin that will cause iSync to recognize
    the A780 with a bit of effort. Attached is my current development
    phone plugin. You uncompress this in the ~/Library/PhonePlugins
    directory and then things get fun. Note I have yet to be able to get this
    to work on USB just Bluetooth only so far.

    To get the A780 to be found by iSync. (some of these could be not n
    necessary)

    1) You configure the A780 as a modem in the bluetooth settings on
    the mac. Make sure that the serial port is set to show in the
    Network Settings
    2) Make sure that the A780 is NOT connected via bluetooth
    3) Start iSync on the Mac
    4) On the A780 go to the Modem application and set the modem
    to bluetooth and hit the "Find Me"
    5) At this point you should be able to do an add device and
    iSync will allow you to add the device.

    A couple of notes. The tiff for the model image in the phoneplugins dir
    is not used. I preferred the default and did not clean up the A780 so
    something to do.

    It sounds like if we could figure out how to make the plugin send a
    AT+MSYNC to the phone once it is connected we could get a SyncML
    conduit working with the AT+MSYNC as that does start the SyncML mode
    for the A780.

    Anyone know how to do this??
    Attached Thumbnails Attached Thumbnails Sync revisited - Anyone here familiar with XCode on mac?-isynca780.jpg  
    Attached Files Attached Files

  10. #10
    Join Date
    Mar 2005
    Location
    Jakarta, Indonesia
    Posts
    1,088

    Default Re: Sync revisited - Anyone here familiar with XCode on mac?

    Great news! Will try this with my E680i for sure!
    Development of EZX-SysInfo / SysEdit application is completed! Version 0.1 Beta 2 is out. Check out in 'Bounty Projects' forum.

    http://www.geocities.com/inijohan_e680i/Mac-dock-sm.jpg


 
+ Reply to Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Got my A1200 to Sync w/my Mac Address Book OSX via Bluetooth
    By ArchangelGT in forum A1200 General Chat
    Replies: 3
    Last Post: 10-17-2006, 02:10 PM
  2. Can sync / connect internet by bluetooth with mac?
    By leosup in forum E680i General Chat
    Replies: 0
    Last Post: 10-03-2006, 02:42 PM
  3. mac + A1200/e680i sync/connect/bt modem
    By lazyivan in forum A1200 General Chat
    Replies: 2
    Last Post: 04-03-2006, 06:17 PM
  4. Hot to sync my A780 with my Mac?
    By bernhard.mraz in forum A780 General Chat
    Replies: 1
    Last Post: 10-08-2005, 02:13 PM
  5. E680 sync with MAC Isync
    By esixeighty in forum E680 General Chat
    Replies: 9
    Last Post: 04-17-2005, 05:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Single Sign On provided by vBSSO

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1