Use Bluetooth on Windows Mobile Simulator

Source: Internet
Author: User

As you know,Windows Mobile 6.0 SDKBuilt-inCellular emulatorAndFake GPSSo that we can debug it on the simulator.RadioLevelPhone callAnd based onGPS. A few days agoMVPDmitry klionskyWrittenArticle《Bluetooth for Microsoft device emulatorAs described inWindows MobileI think this is very useful for Developing Bluetooth communication on mobile devices.

Let's look at the implementationBluetoothArchitecture, refer to the figure1 (SourceBluetooth for Microsoft device emulator), Mainly includingEmulatorEnd andPCTerminal:

Figure1:EmulatorAndPCOn implementationBluetoothCommunication Architecture

1.EmulatorEnd

Bluetooth HCI Transport Driver

Serial Port driver

Microsoft Remote tools framework Remote Agent

2. PCEnd

Microsoft Remote tools framework desktop plugin

Freebt USB driver Runtime

Freebt USB driver

Connected Bluetooth USB device

Note: The author usesFreebtThis open-source project is controlledBluetooth.

 

In Windows MobileThe simulator uses BluetoothThe following conditions are required:

1. Visual Studio 2005 with SP1OrVisual Studio 2008

2. Windows Mobile 5.0 Pocket PC/Smartphone SDK and/or Windows Mobile 6 standard/professional SDK emulator Images

3.Device emulator 3.0

4.Microsoft Remote tools framework 1.00

5.AUSBInterfaceBluetooth dongle

 

InWindows MobileThe steps for using Bluetooth on the simulator are as follows (For details, referBluetooth for Microsoft device emulator):

1.InPCInstall and downloadFreebtThe blue tooth drive, the method is naturally through"WindowsDevice Manager, which is a new hardware device (that is, connectedBluetooth USB device) Add the downloaded Driver (mainly findFbtusb. infFile ).

2.InRemote tools framework pluginRunningBthemulmanager. cetoolTo establish a connection with the simulator.

3.Information about the bluetooth device after the connection is established(Address, manufacturer, HCI version, LMP Version)It will be displayed on the interface,2As shown inBluetooth for Microsoft device emulator).

 

Figure2: Information on the simulator after a Bluetooth connection is established

4. Microsoft Remote tools frameworkAllow us to enable two simulators at the same time, so if there are twoBluetooth USB dongleThen, we can debug the Bluetooth transceiver communication on two simulators.

 

Reference link:

Dmitry klionsky:Bluetooth for Microsoft device emulator

Msdn:Bluetooth HCI Transport Driver

Msdn:Serial Port driver

Open Source:Freebt

Device emulator 3.0

Microsoft Remote tools framework 1.00

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.