;//////////////////////////////////////////////////////////////////////////////
;// Copyright (C) 2008 Gemalto M2M GmbH
;// Copyright (C) 2006-2008 Siemens AG
;// Copyright (C) 2003 Intrinsyc Europe Ltd.
;//
;// Version: 1.0
;// Date:    dummy
;//
;//////////////////////////////////////////////////////////////////////////////

;//////////////////////////////////////////////////////////////////////////////
;//
;// platform.reg for the EHSx
;//
;// This configuration should be used on the EHSx Release 3.
;// For EHSx before version 1.300 use configuradion platform_EHS5_R1.reg.
;// For EHSx before version 2.700 use configuradion platform_EHS5_R2.reg.
;// 
;//////////////////////////////////////////////////////////////////////////////

[HKEY_LOCAL_MACHINE\Software\Microsoft\RIL]
  "ComPort"="VCU2:"
  "DataPort"="VDA1:"
  "DataPortInternal"="VCU1:"
  "RHAFileName"="RHA.DLL"
  "GpsPortInternal"="VCU6:"
  "EnableCBM"=dword:0
  "EnableCBMChannels"=""
  "EnableCBMDCS"=""
  "FilterSMSType0"=dword:1
  "PerformSMSClass2Check"=dword:0
  "ReopenOnResumeTimeout"=dword:1388
  "StoreIncomingSMSonSIMwhileSending"=dword:1
  "InitSIMReadyRetries"=dword:80
  "NoBlackList"=dword:1
  "RetriesForECCAccess"=dword:0
  "GpsAntVoltSuppl"=dword:1
  "InitialCGSMSSetting"=dword:1
  "FWUpdateConstantsSet"=dword:1
  "WaitForSysstartAtOpenPort"=dword:1
  "GpioConfigDAI"=dword:0
  "GpioConfigGPSANT"=dword:0
  ;"IMSForCallAndSMS"=dword:0
  ;"Selection2G3G"=dword:3
  ;"DefaultFirmwareSearchPath"="\\FirmwareUpdate\\"
  ;"FirmwareUpdateWithJava"=dword:1

; The Microsoft SAT application doesn't support SAT icons correctly, so
; SAT icon support in the RIL schould be disabled. If a SAT application
; with icon support is used, this key should be set to 1.
[HKEY_LOCAL_MACHINE\Software\Microsoft\RIL]
  "SATAppCanDisplayIcons"=dword:0

; Special SIM path for 3G SIM cards:
; 4F20: EF_IMG file in DF_Telecom->DF_Graphics directory
; 4FXX: 3G Phonebook files located in DF_Telecom->DF_Phonebook directory
[HKEY_LOCAL_MACHINE\Software\Microsoft\RIL\SIMPath]
  "3G_4F20"="7F105F50"
  "3G_4FXX"="7F105F3A"

; RIL Registry keys for WM5 AKU3, WM6 and WM6.5
[HKEY_LOCAL_MACHINE\Software\Microsoft\RIL]
  "NitzEnable"=dword:1
  "EonsEnable"=dword:1

[HKEY_LOCAL_MACHINE\Software\RIL]
  "EnableGPRSAttach"=dword:1
  "DisableDebugFile"=dword:1

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\VirtCom1]
  "Prefix"="COM"
  "Dll"="rilgsm.dll"
  "Index"=dword:9
  "Order"=dword:3
  "FriendlyName"="Application GPS Virtual COM Port"

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\VirtCom2]
  "Prefix"="VDA"
  "Dll"="rilgsm.dll"
  "Index"=dword:1
  "Order"=dword:3
  "FriendlyName"="Application Data Virtual COM Port"


; USB entries
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\1665\Default\Default\HcModules]
  "Dll"="HcUsbDrv.dll"

[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\7725\Default\Default\HcModules]
  "DLL"="HcUsbDrv.dll"

[HKEY_LOCAL_MACHINE\Drivers\USB\ClientDrivers\Cinterion\HcModules]
  "Prefix"="VCU"
  "Dll"="HcUsbDrv.dll"
  "SuspendDelay"=dword:000003E8

; Audio configuration available for the EHS5/EHS6 since version 1.300.
[HKEY_LOCAL_MACHINE\Software\RIL\Audio\Handset]
  "AudioMode"=dword:3
  "ExtAudioCodecVolSteps"=hex:00,00,00,00,01,00,00,00,02,00,00,00,03,00,00,00,04,00,00,00,05,00,00,00
  "ExtMicAudioCodecVolSteps"=hex:00,00,00,00,01,00,00,00,02,00,00,00,03,00,00,00,04,00,00,00,05,00,00,00
  "SNFOoutVolSteps"=hex:58,00,00,00,58,00,00,00,58,00,00,00,58,00,00,00,58,00,00,00,58,00,00,00
  "SNFOsideToneSteps"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
  "SNFIinVolStep"=dword:58

[HKEY_LOCAL_MACHINE\Software\RIL\Audio\Speakerphone]
  "AudioMode"=dword:5
  "ExtAudioCodecVolSteps"=hex:00,00,00,00,01,00,00,00,02,00,00,00,03,00,00,00,04,00,00,00,05,00,00,00
  "ExtMicAudioCodecVolSteps"=hex:00,00,00,00,01,00,00,00,02,00,00,00,03,00,00,00,04,00,00,00,05,00,00,00
  "SNFOoutVolSteps"=hex:58,00,00,00,58,00,00,00,58,00,00,00,58,00,00,00,58,00,00,00,58,00,00,00
  "SNFOsideToneSteps"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
  "SNFIinVolStep"=dword:58

[HKEY_LOCAL_MACHINE\Software\RIL\Audio\Headset]
  "AudioMode"=dword:4
  "ExtAudioCodecVolSteps"=hex:00,00,00,00,01,00,00,00,02,00,00,00,03,00,00,00,04,00,00,00,05,00,00,00
  "ExtMicAudioCodecVolSteps"=hex:00,00,00,00,01,00,00,00,02,00,00,00,03,00,00,00,04,00,00,00,05,00,00,00
  "SNFOoutVolSteps"=hex:58,00,00,00,58,00,00,00,58,00,00,00,58,00,00,00,58,00,00,00,58,00,00,00
  "SNFOsideToneSteps"=hex:22,01,00,00,22,01,00,00,22,01,00,00,22,01,00,00,22,01,00,00,22,01,00,00
  "SNFIinVolStep"=dword:58

[HKEY_LOCAL_MACHINE\Software\RIL\Audio\Carkit]
  "AudioMode"=dword:6
  "ExtAudioCodecVolSteps"=hex:00,00,00,00,01,00,00,00,02,00,00,00,03,00,00,00,04,00,00,00,05,00,00,00
  "ExtMicAudioCodecVolSteps"=hex:00,00,00,00,01,00,00,00,02,00,00,00,03,00,00,00,04,00,00,00,05,00,00,00
  "SNFOoutVolSteps"=hex:58,00,00,00,58,00,00,00,58,00,00,00,58,00,00,00,58,00,00,00,58,00,00,00
  "SNFOsideToneSteps"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
  "SNFIinVolStep"=dword:58

; Timeout for AT+COPS=?
[HKEY_LOCAL_MACHINE\Software\Microsoft\RIL\APIInfo\1]
 "Timeout"=dword:2BF20

; RIL_GetPreferredOperatorList
[HKEY_LOCAL_MACHINE\Software\Microsoft\RIL\APIInfo\2]
 "Timeout"=dword:1D4C0

; RIL_RegisterOnNetwork
[HKEY_LOCAL_MACHINE\Software\Microsoft\RIL\APIInfo\6]
 "Timeout"=dword:15F90

; Call forwarding
[HKEY_LOCAL_MACHINE\Software\Microsoft\RIL\APIInfo\17]
  "Timeout"=dword:1D4C0
[HKEY_LOCAL_MACHINE\Software\Microsoft\RIL\APIInfo\18]
  "Timeout"=dword:1D4C0
[HKEY_LOCAL_MACHINE\Software\Microsoft\RIL\APIInfo\19]
  "Timeout"=dword:1D4C0
[HKEY_LOCAL_MACHINE\Software\Microsoft\RIL\APIInfo\20]
  "Timeout"=dword:1D4C0

; RIL_Hangup
[HKEY_LOCAL_MACHINE\Software\Microsoft\RIL\APIInfo\27]
  "Timeout"=dword:AFC8

; Call status (AT+CLCC)
[HKEY_LOCAL_MACHINE\Software\Microsoft\RIL\APIInfo\30]
  "Timeout"=dword:EA60

; RIL_WriteMsg
[HKEY_LOCAL_MACHINE\Software\Microsoft\RIL\APIInfo\59]
  "Timeout"=dword:1D4C0

; RIL_SendMsg
[HKEY_LOCAL_MACHINE\Software\Microsoft\RIL\APIInfo\60]
  "Timeout"=dword:493E0

; RIL_SendStoredMsg
[HKEY_LOCAL_MACHINE\Software\Microsoft\RIL\APIInfo\61]
  "Timeout"=dword:493E0

; Extend timeout for +CPIN
[HKEY_LOCAL_MACHINE\Software\Microsoft\RIL\APIInfo\65]
  "Timeout"=dword:249F0

; Call barring
[HKEY_LOCAL_MACHINE\Software\Microsoft\RIL\APIInfo\69]
  "Timeout"=dword:1D4C0
[HKEY_LOCAL_MACHINE\Software\Microsoft\RIL\APIInfo\70]
  "Timeout"=dword:1D4C0

; RIL_ReadPhonebookEntries
[HKEY_LOCAL_MACHINE\Software\Microsoft\RIL\APIInfo\77]
  "Timeout"=dword:EA60

; RIL_SendRestrictedSimCommand
[HKEY_LOCAL_MACHINE\Software\Microsoft\RIL\APIInfo\81]
  "Timeout"=dword:EA60

; RIL_GetSimRecordStatus
[HKEY_LOCAL_MACHINE\Software\Microsoft\RIL\APIInfo\82]
  "Timeout"=dword:EA60

; RIL_DevSpecific
[HKEY_LOCAL_MACHINE\Software\Microsoft\RIL\APIInfo\93]
  "Timeout"=dword:7530

; RIL_SetGPRSContextActivated
[HKEY_LOCAL_MACHINE\Software\Microsoft\RIL\APIInfo\111]
  "Timeout"=dword:1d4c0

; Special Timeout for Disable/Enable URC commands.
[HKEY_LOCAL_MACHINE\Software\Microsoft\RIL\APIInfo\131]
  "Timeout"=dword:1388

; Special timeout for AT^SMGL=0
[HKEY_LOCAL_MACHINE\Software\Microsoft\RIL\APIInfo\133]
  "Timeout"=dword:1d4c0

; Force the RIL proxy to start
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\RIL]
  "Dll"="rilgsm.dll"
  "Prefix"="RIL"
  "Order"=dword:3
  "Index"=dword:1
  ; Indicate we are a power manageable interface
  "IClass"="{A32942B7-920C-486b-B0E6-92A702A99B35}"

;
; The following registry keys are needed for Windows Mobile 5.0 and Windows Mobile 6
;
[HKEY_LOCAL_MACHINE\ControlPanel\Phone]
  "Flags2"=dword:8

[HKEY_CURRENT_USER\ControlPanel\Phone]
  ; Value required for Magneto / Crossbow
  ; SHDFL_PHONE_SUPPORT0230DIALPARSING|SHDFL_PHONE_SUPPORTWCMP|SHDFL_PHONE_SUPPORTMOSMS|SHDFL_PHONE_SUPPORTGPRS|SHDFL_PHONE_0340SMS|SHDFL_PHONE_SMSUNICODE|SHDFL_PHONE_INTLPLUS|SHDFL_PHONE_AUTOTHREEWAYCALLING|SHDFL_PHONE_UNIQUECALLTRACKING|SHDFL_PHONE_SIMSUPPORT|SHDFL_PHONE_SUPPORTSPEAKERPHONE|SHDFL_PHONE_LOCKFACILITY
  "Features"=dword:0206C7D8

; GSM: SHDFL_PHONE_LOCKFACILITY | SHDFL_PHONE_SIMSUPPORT
[HKEY_LOCAL_MACHINE\Security\Phone]
  "Features"=dword:18

[HKEY_LOCAL_MACHINE\Comm\Cellular\Ril]
  "Contexts"=dword:1
  "EONSEnabled"=dword:0

;
; The following registry key is needed for Windows Mobile 6
;
[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell]
  "displayidlemodetext"=dword:1

; Only needed AT&T approval: disable/enable manual network selection
; according to SIM file EF_CSP.
;[HKEY_LOCAL_MACHINE\Security\Phone]
;  "ManualDisable"=dword:0
;[HKEY_LOCAL_MACHINE\Software\Microsoft\RIL]
;  "CheckNSMCSetting"=dword:1

;
; The registry keys below are needed for GPS support, they should be only avalible on EHS8.
;
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\GPS Intermediate Driver\Drivers]
  "CurrentDriver"="Cinterion EHS8"

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\GPS Intermediate Driver\Drivers\Cinterion EHS8]
  "CommPort"="COM9:"
  "InterfaceType"="COMM"
  "FriendlyName" = "Cinterion EHS8"

; GPS engine start mode, EHS8 support 3 kind of modes.
; 1 MS-Assisted mode, assist GPS server and background PDP connnection will be needed.
; 2 MS-based mode, assist GPS  server and background PDP connnection will be needed.
; 3 Standalone mode, PDP connection is not needed.
[HKEY_LOCAL_MACHINE\Software\Microsoft\RIL]
  "GPSEngineMode"=dword:2

; The APN used to setup background PDP connection which is needed for assistance GPS.
; If this value is not set, RIl driver will read the previous setting from module.
[HKEY_LOCAL_MACHINE\Software\Microsoft\RIL]
  "AGPSAPNSetting"="CMNET"

; To use Assisted GPS function on EHS8 module(GPSEngineMode set as 1 or 2), the address of assist server must be set
; EHS8 module will download assistance data from this server.
; supl.google.com:7276 is public server with limited function, it only used as demo here.
[HKEY_LOCAL_MACHINE\Software\Microsoft\RIL]
  "AGPSServerType"="FQDN"
  "AGPSServerHost"="supl.google.com"
  "AGPSServerPort"="7276"

; On EHS8 module, this value configures the frequency of NMEA output 
; in seconds. If the GNSS engine is started and the output of data is 
; activated but there is no position fix yet, then empty NMEA data will 
; be output every second. After getting a success position fix the GNSS engine will 
; start to output NMEA messages by this given value.
; Scope: 1 - 7200 
[HKEY_LOCAL_MACHINE\Software\Microsoft\RIL]
  "GpsNmeaFrequency"=dword:1

; On EHS8 module, both active/passive GPS antenna are supported, but this type
; need to be specified. 
; The GPIO configure GpioConfig:GPSANT need to set to "std" when using active antenna.
; Scope: 0 - passive antenna; 1 - active antenna.
[HKEY_LOCAL_MACHINE\Software\Microsoft\RIL]
  "GPSAntennaMode"=dword:1

; It is recommended to set the default technology to 3G with this key:
; If this key is not set, Windows Mobile might use its default "GPRS" at first boot.
[HKEY_LOCAL_MACHINE\Software\Microsoft\RIL]
  "CurrentSystemTypeOff"=dword:17C