; swg3knm05b.inf
; Copyright (c) 2016 Sierra Wireless Incorporated
; Manufacturer: Sierra Wireless Incorporated

[Version]
Signature   = "$Windows NT$"
Class       = Ports
ClassGuid   = {4D36E978-E325-11CE-BFC1-08002BE10318}
Provider    = %SWI%
CatalogFile = swg3kloc05b.cat
DriverVer   = 02/15/2016,15.11.1080.12

; =================== Manufacturer/Models sections =======================

[Manufacturer]
%SWI% = QCOM, NTx86.6.1, NTamd64.6.1

[QCOM]
%Gobi3kLocation.SWIDevice81BE2% = Gobi3kLocation_Install, USB\VID_413C&PID_81BE&MI_02
%Gobi3kLocation.SWIDevice81C02% = Gobi3kLocation_Install, USB\VID_413C&PID_81C0&MI_02

[QCOM.NTx86.6.1]
%Gobi3kLocation.SWIDevice81BE2% = Gobi3kLocation_Install, USB\VID_413C&PID_81BE&MI_02
%Gobi3kLocation.SWIDevice81C02% = Gobi3kLocation_Install, USB\VID_413C&PID_81C0&MI_02

[QCOM.NTamd64.6.1]
%Gobi3kLocation.SWIDevice81BE2% = Gobi3kLocation_Install, USB\VID_413C&PID_81BE&MI_02
%Gobi3kLocation.SWIDevice81C02% = Gobi3kLocation_Install, USB\VID_413C&PID_81C0&MI_02

; =================== Location Sensor Device ==================================

[Gobi3kLocation_Install]
CopyFiles       = UMDriverCopy
AddReg          = All00, QCAddReg, DevFunction1, DeviceID.Reg  
FeatureScore    = 0x20  
CopyFiles       = gobiUsbDriverFiles

[Gobi3kLocation_Install.hw]
AddReg          = UpperFilterAddReg

[UpperFilterAddReg]
HKR,,"UpperFilters",0x00010000,"WUDFRd"

[Gobi3kLocation_Install.Services]
AddService      = swg3knmea05b,  0x00000002, QC_USBSerialService, QC_USBSerialService.EventLog
AddService      = WUDFRd,,WUDFRD_ServiceInstall

[Gobi3kLocation_Install.CoInstallers]
AddReg          = WUDF_CoInstallers_AddReg
CopyFiles       = WUDF_CoInstallers_CopyFiles

[Gobi3kLocation_Install.Wdf]
UmdfService                = Gobi3kLocation,UMDFGobi3kLocation_Install
UmdfServiceOrder           = Gobi3kLocation
UmdfImpersonationLevel     = Impersonation
UmdfKernelModeClientPolicy = AllowKernelModeClients

[QC_USBSerialService]
DisplayName   = %QCUSBSER%
ServiceType   = 1
StartType     = 3
ErrorControl  = 1
ServiceBinary = %12%\swg3knmea05b.sys

[QC_USBSerialService.EventLog]
AddReg = QC_USBSerialService.AddEventLog.Reg

[QC_USBSerialService.AddEventLog.Reg]
HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\Drivers\swg3knmea05b.sys"
HKR, , TypesSupported,   0x00010001, 7

[All00]
HKR,,NTMPDriver,,swg3knmea05b.sys

[DevFunction1]
HKR,,QCDeviceFunction,0x00010001,1

[QCAddReg]
HKR,,PortSubClass,1,01
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"

; =================== UMDF Service Install section ===================

[UMDFGobi3kLocation_Install]
UmdfLibraryVersion      = 1.9.0
ServiceBinary           = %12%\UMDF\swg3kloc05b.dll
DriverCLSID             = {3D675F8A-8657-4918-8EF7-16C14859ECE6}

[WUDFRD_ServiceInstall]
DisplayName     = %WudfRdDisplayName%
ServiceType     = 1
StartType       = 3
ErrorControl    = 1
ServiceBinary   = %12%\WUDFRd.sys
LoadOrderGroup  = Base

[SourceDisksNames]
1 = %MediaDescription%,,,\sys\x86
2 = %MediaDescription%,,,\sys\amd64

[SourceDisksFiles.x86]
swg3kloc00.dll      = 1
LocationHelper.dll  = 1
swg3knmea00.sys     = 1

[SourceDisksFiles.amd64]
swg3kloc00.dll      = 2
LocationHelper.dll  = 2
swg3knmea00.sys     = 2

[WUDF_CoInstallers_CopyFiles]

[WUDF_CoInstallers_AddReg]
HKR,,CoInstallers32,0x00010000,"WudfCoinstaller.dll"

[DestinationDirs]
UMDriverCopy                 = 12,UMDF
WUDF_CoInstallers_CopyFiles  = 11
gobiUsbDriverFiles           = 12

[UMDriverCopy]
swg3kloc05b.dll, swg3kloc00.dll
LocationHelper.dll

[gobiUsbDriverFiles]
swg3knmea05b.sys, swg3knmea00.sys

; =================== Generic ==================================
[Strings]
QCOM                            = "Qualcomm Incorporated"
MediaDescription                = "Sierra Wireless Location Sensor Driver Installation Media"
ClassName                       = "Sierra Wireless Location Sensor Driver"
WudfRdDisplayName               = "Windows Driver Foundation - User-mode Driver Framework Reflector"
QCUSBSER                        = "Sierra Wireless QMI NMEA Communication - Dell b"
SWI                             = "Sierra Wireless Inc."
Gobi3kLocation.SWIDevice81BE2   = "Dell Wireless 5808e Gobi(TM) 4G LTE Mobile Broadband NMEA Port"
Gobi3kLocation.SWIDevice81C02   = "Dell Wireless 5809e Gobi(TM) 4G LTE Mobile Broadband NMEA Port"

[DeviceID.Reg]
HKR,,SupportedPIDs, 0x00000001, d1,d3,b3,6d,8e,91,56,6f,bc,97,72,86,fa,01,90,d6,7a,10,8f,\
  4c,43,42,3f,72,8b,9c,d6,14,d3,94,18,e1,d2,f1,9c,6f,a6,3b,32,5d,60,3e,b4,f7,\
  eb,19,19,9f,cb,14,fa,4d,6e,63,01,c0,5f,2f,e5,9a,0e,cc,73,ae,01,63,ca,ce,8d,\
  95,2c,31,8e,cc,e5,df,0e,a2,8f,88,c0,ea,6c,09,13,1b,71,72,30,10,c3,57,b5,46,\
  df,47

