Compartilhar via


ActiveSync-Over-Bluetooth Plug-in Device Side Sample

4/8/2010

This sample demonstrates how to setup Bluetooth ActiveSync using the Windows Embedded CE Bluetooth stack. The sample can communicate with the desktop computer using the following methods:

For devices in Windows Mobile Version 5.0 and later, the ActiveSync-Over-Bluetooth support is included in the ROM image. It is a standalone integrated feature that requires no OEM support to enable the component.

  • The ActiveSync profile which is a custom profile defined by Microsoft to support ActiveSync. Please read "ActiveSync Service Record.doc," located at <Adaptation Kit directory>\Public\Apps\Oak\Samples, for further explanation on this custom profile and how to set it up. The use of this profile enables you to separate the device side implementation from the desktop computer side. It also creates a better user experience for setting up synchronization over Bluetooth from the desktop computer ActiveSync program. The ActiveSync Profile seamlessly sets up and activates the Serial profile support for synchronizing over Bluetooth for the user so they do not have to create and associate the appropriate COM ports. This method requires the Microsoft Bluetooth stack to be present on the desktop computer.

  • The Serial Port profile which is required if the user has a 3rd party stack installed on their desktop computer or if they have a Windows Bluetooth stack but do not have the desktop Bluetooth BTHASPLUGIN.dll installed. In order to sync over Bluetooth using the Serial profile the user needs to set up the appropriate COM ports.

    Note

    The desktop .dll does not work with third-party stacks. If a third-party Bluetooth stack is installed on the desktop computer, the ActiveSync profile will not work even if the user has the desktop .dll installed. For third-party stacks, the Serial Port profile must be supported in order to enable ActiveSync-Over-Bluetooth.

See Also

Concepts

ActiveSync-Over-Bluetooth

Other Resources

Bluetooth
ActiveSync