Example GPS Intermediate Driver Registry Settings (Windows Embedded CE 6.0)

1/6/2010

These are example registry settings for common GPS Intermediate Driver usage scenarios.

Poll Input Source

The following registry settings define the minimal configuration information to make GPS hardware accessible by using V1 or V2 GPS Poll Drivers. Undefined settings use default values, which are documented in GPS Intermediate Driver Registry Settings.

[HKLM\System\CurrentControlSet\GPS Intermediate Driver\Drivers]
  CurrentDriver="MyPoll"
[HKLM\System\CurrentControlSet\GPS Intermediate Driver\Drivers\MyPoll]
  InterfaceType = "Poll"
  CommPort = "GPP0:"
  Version = DWORD:2

Hardware/COM Port Input Source

The following registry settings define the minimal configuration information to make GPS hardware accessible by using COM4. Undefined settings use default values, which are documented in GPS Intermediate Driver Registry Settings.

HKEY_LOCAL_MACHINE\System\CurrentControlSet\GPS Intermediate Driver
  Drivers
    "CurrentDriver" = "Acme GPS Hardware"
HKEY_LOCAL_MACHINE\System\CurrentControlSet\GPS Intermediate Driver
  Drivers
    Acme GPS Hardware
      "InterfaceType" = "COMM"
      "FriendlyName" = "ACME GPS Card, version 1.23"
      "CommPort" = "COM4:"   

File Input Source

The following registry settings define the minimal configuration information to use test information in files named GPSFileInput1.txt and GPSFileInput2.txt. Undefined settings use default values, which are documented in GPS Intermediate Driver File Registry Settings.

HKEY_LOCAL_MACHINE\System\CurrentControlSet\GPS Intermediate Driver
  Drivers
    "CurrentDriver" = "Test File Set 1"
HKEY_LOCAL_MACHINE\System\CurrentControlSet\GPS Intermediate Driver
  Drivers
    Test File Set 1
      "InterfaceType" = "File"
      "FriendlyName" = "File Test #1"
      "File1" = "\windows\GPSFileInput1.txt"
      "File2" = "\windows\GPSFileInput2.txt"   

Multiplexer

The following registry setting makes information retrieved by the GPS Intermediate Driver available through ReadFile by using GPD1. Undefined settings use default values, which are documented in GPS Intermediate Driver Multiplexer Registry Settings.

HKEY_LOCAL_MACHINE\System\CurrentControlSet\GPS Intermediate Driver
  Multiplexer
    "DriverInterface" = "GPD1:"

See Also

Concepts

Configuring the GPS Intermediate Driver