6310iSync
Recently I upgraded my old 2160 TDMA phone to a nifty new Nokia 6310i GSM phone. Primary in my list of mandatory features was PC connectivity. Of course, the Nokia PCSync software is pretty crappy, but luckily they have a PC Connectivity SDK available, allowing us developers to make our own syncing software. I am in the process of adding 6310i synchronization support to my ToDoWin shareware.
Naturally, as is common with SDKs of this nature, the only samples (such as they are) are in VB. I'm a C++ programmer myself, and my expertise in VB is pretty much geared towards translating to C++. I also have a preference to doing COM work in "raw" C++ as much as possible, in order to get a good feel as to what is going on "under the covers".
6310iSync was initially my "test bed" app. It's a simple MFC dialog-based app that creates a couple of common top-level interface objects, monitors some common phone events, and allows access to the calendar within your phone. Specific interfaces of note are IPhoneInfo4, IPhoneInfo4Notify and ICalendarService. The meat of the phone-specific code is in 6310iSyncDlg.cpp, with the event handler in IPhoneInfoEventHandler.h/.cpp.
As of this initial release, I have only tested this with my own 6310i, running firmware 5.10, the serial cable and the PCSync 4.88 package (for the Connection Manager). Soon I'll be upgrading to firmware 5.50 and testing the Bluetooth stuff.
Release 1.0.0 - 16 May 2003
Click here to download.
Comments or suggestions for improvement welcome. Send me E-mail.
Blanket permission granted to distribute and/or "advertise" this sample, provided it's left intact. If you fix any bugs, or make any improvements, please let me know so that I can keep my "master" updated.