Rev 1.0 1 Introduction The Timex Data Link USB watch supports downloading of programs called WristApps that add additional functionality to the device. Unlike built-in applications that are present in the device ROM, WristApps have code that use some watch memory. In addition, a WristApp may or may not have a database associated with it.
PIM contains all of the data editors for each of the built-in modes. The data-editors themselves handle import plug-ins that allow you to import data from different sources such as CSV files or schedules over the Internet. The simple diagram shown below represents the Timex Data Link USB system. Timex Data Link USB PC Software Architecture...
When the user has finished with the dialog, the updated database should be saved. For consitency between applications, Timex recommends using a dialog based class and saving data on the OK button press. Closing of the dialog should occur on the OK button, Cancel button, or ‘X’ button press.
Step 2: Select MFC AppWizard (dll) , enter the name of the project, as well as the project location., then click on OK. Step 3: Choose Regular DLL using shared MFC DLL, and leave the other settings alone. Click on Finish. Timex Corporation...
Page 8
"C" BOOL FAR PASCAL EXPORT Show(LPCTSTR lpszDataPath, LPVOID pData) //Need to use this macro whenever we access resources from MFC DLL AFX_MANAGE_STATE(AfxGetStaticModuleState()); CString sINIFile = lpszDataPath; sINIFile += "App\\TestApp.ini"; CTestApp dlg; dlg.m_sIniFileName = lpszDataPath; dlg.m_sIniFileName += "App\\TestApp.ini"; return dlg.DoModal(); Timex Corporation...
3.2.4 Example application – World Time The World Time WristApp that comes with the Timex Data Link USB has a user interface that allows you to configure the different time zones within the WristApp. As described above, the Show and ProcessData functions are called by the PIM to launch the GUI Plug- in.
DLL that is created is present in the same directory as the other WristApp files (the App subdirectory where the PIM is installed) . However, the developer is free to place any additional subdirectories into the WristApp directory to be used for data storage. Timex Corporation...
4 Trademarks TIMEX is a registered trademark and service mark of Timex Corporation. TIMEX DATA LINK and WristApp are trademarks of Timex Corporation in the U.S. and other countries. Night-Mode is a registered trademark of Timex Corporation. INDIGLO is a registered trademark of Indiglo Corporation.