All Forums
 Microsoft Windows CE
 CE Sample Applications and Utilities
 eVC - ADSRapi (querying device data from PC)
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

ctacke

877 Posts

Posted - 16 Jul 2002 :  13:26:29  Show Profile  Email Poster
ADSRapi.dll

Querying device information can be done easily using the Remote API (RAPI) functions exposed by ActiveSync (search the eMbedded Visual Tools Help for more on supported RAPI functions). RAPI has a general function (CeRapiInvoke) that allows you to write custom RAPI functions that use ActiveSync as the transport protocol, so transferring data via serial, USB or Ethernet becomes a simple task.

ADSRapi is a basic sample that demonstrates using CeRapiInvoke to call custom RAPI functions to read and write digital and analog IOs on an ADS Graphics Master development system.

For more about ActiveSync on ADS products, see the ActiveSync topic index.

Key APIs Used

MultiByteToWideChar
CreateFile
ReadFile
WriteFile
CeRapiInvoke


Lines of Code: 210


Source Download

Rev 1 - July 16, 02 (39k zip).


modified March 31, 02 (ctacke) - added key APIs and LOC

ctacke

877 Posts

Posted - 15 Mar 2005 :  09:35:22  Show Profile  Email Poster
This application will require linking to ActiveSync libraries, which are part of the ActiveSync SDK. If you have not installed a Pocket PC SDK (which includes the ActiveSync SDK), we've posted the ActiveSync SDK and put a link to it in the Using ActiveSync in Your Application section of the ActiveSync Topic Index
Go to Top of Page
  Topic  
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.03 seconds. Snitz Forums 2000