Share via


Configuring Your Device to Use GPS

4/19/2010

If you have an external GPS receiver for your Windows Mobile device and would like to run GPS-enabled applications, there are some settings you may need to configure before your device will function properly.

Setting Up a Bluetooth Connection

If your GPS receiver connects to your Windows Mobile device via Bluetooth, you will need to configure the connection using the Bluetooth Control Panel item. The following walkthrough demonstrates how to set up this connection, but you should consult the documentation for your GPS receiver to see if any additional steps are needed.

Setup a Bluetooth Connection

  1. From the Start menu, click Settings. On the Connections tab, click the Bluetooth icon.

  2. Turn on your GPS Receiver.

  3. On the Devices tab, click Add New Deviceā€¦ The settings application will search for your device. When it is found, click Next.

    Bb158600.4f3d2247-ab9a-4aa7-a6fb-a882821ce29c(en-us,MSDN.10).gif

  4. Your GPS receiver may require a passcode in order to create a secure connection. Consult your receiver documentation for this code. Enter the code and click Next.

    Bb158600.83d8e868-e67e-47ec-ac4c-b3c9d99f4607(en-us,MSDN.10).gif

  5. On the Partnership Settings screen, select Serial Port and click Next.

    Bb158600.5e5f1c2e-ef4d-46b2-b272-fbf714a4e424(en-us,MSDN.10).gif

  6. Select the Mode tab and check the Turn on Bluetooth checkbox if it is not already checked.

    Bb158600.dfabbac2-d6fa-45ca-922d-1e34d300e6d9(en-us,MSDN.10).gif

  7. Select the COM Ports tab and click New Outgoing Port.

    Bb158600.7c42cc7c-2f15-41f8-8abd-558b6f68f806(en-us,MSDN.10).gif

  8. Select your receiver from the Add a Device list and click Next.

    Bb158600.167d2b0f-5a8e-436c-be9e-ac9a89bf94f7(en-us,MSDN.10).gif

  9. From the Port drop-down list, select a port number. Remember the port you choose. You will need it when you configure the GPS Intermediate Driver.

    Bb158600.b70896c4-c783-4cc9-a977-8e5d3a5ed672(en-us,MSDN.10).gif

  10. Click Finish and exit the Bluetooth Control Panel item.

Configuring the GPS Intermediate Driver with the GPS Settings icon

The GPS Intermediate Driver is a software layer between a Windows Mobile application and the GPS hardware drivers. This allows applications to work with a variety of GPS hardware. The GPS Intermediate Driver uses the registry to determine what COM port should be used to communicate with the GPS hardware. The recommended way to configure the registry to work with your GPS device is the GPS Settings icon. For detailed information about the GPS Intermediate Driver and the associated registry settings, see GPS Intermediate Driver.

Using the GPS Settings icon

  1. From the Start menu, click Settings. On the System tab, click the External GPS icon. On some devices, this item has a different name. See the notes below.

  2. On the Programs tab, select any available COM port from the GPS Program Port drop-down list. The GPS data sent through the GPS Intermediate Driver is streamed to applications through this port. This should not be the same port that your GPS receiver is configured to use.

    Bb158600.765eab65-9124-4085-a072-4d0a57f1c70d(en-us,MSDN.10).gif

  3. On the Hardware tab, select the COM port your GPS receiver is configured to use from the GPS Hardware Port drop-down list.

    Bb158600.3fa6ca5c-6c7f-4f9f-8f8d-f9de07e12bba(en-us,MSDN.10).gif

  4. On the Access tab, make sure that the Manage GPS Automatically checkbox is checked.

    Bb158600.68c64839-e23d-438e-a60a-c9b2430eb1ba(en-us,MSDN.10).gif

Note

Devices running Windows Mobile Professional include the External GPS item in the Settings panel. Devices running Windows Mobile Standard do not include this item. However, the Windows Mobile Standard SDK includes an application, called Settings.exe, that allows you to configure the GPS Intermediate Driver. The default installation location for this application is C:\Program Files\Windows Mobile 6.5.3 DTK\Tools\GPS. Copy this application to your device using ActiveSync, then click the application's icon to launch the program.

Note

On devices running Windows Mobile Version 5.0, the icon for launching the GPS settings may be hidden. For information on showing this icon, see the Showing the GPS Settings Icon.