;-------------------------------------------------------------------------------------------------------------------
;THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
;ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
;THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
;PARTICULAR PURPOSE.
;Copyright (c) 2005-2007  Sierra Wireless America Inc
; 
;Module Name:
; 
;sw.reg
; 
;Abstract:
;This is a registry file. Registry keys related to some features like Voicemail, SMS to EMail are inclued in this file.
;
;Notes:
;Revision History:
; 
;Developer  |||  ClearQuest CR#   |||    DD MMM YYYY    |||    Description
; 
;Mihir Shah      WINSW00008231           16 Oct 2007          Sending SMS to an email address doesn't reach the other end
;Mihir Shah      WINSW00008328           05 Nov 2007          SMS provider needs to devide a SMS message to multipart SMS based of the SWMaxSegByte registry
;Mihir Shah      WINSW00008687           26 Mar 2008          If the CarrierSuffix registry value has a value that are not one of the {"PCS, "VZW", "SW"}. Treat the reg name as not exist.
;Giang Do        WINSW00008950           09 Jul 2008          Remove the hardcoded registry SWMaxSegByte since RIL will dynamically updates the registry IS637MaxAsciiCharacters that MS SMS text composer also looks at.
;Giang Do        WINSW00009111           09 Sep 2008          MS ConnMgr might end the data call when the user hits the End key to end the voice call
;Mihir Shah      WINSW00009346           03 Dec 2008          Disable IOTA logging 
;Mihir Shah      WINSW00009422           08 Jan 2009          Add functionality in RIL driver to handle HAC and TTY audio profile
;Mihir Shah      WINSW00010007           11 Aug 2009          Add the capability to delay sending RIL_NOTIFY_NITZ on cleanboot
;Giang Do        WINSW00010185           03 Feb 2010          RIL NDIS implementation part2 (data browsing)
;Giang Do        WINSW00010520           07 May 2010          Enhancing power off logic. Wait until USB device removal happens before removing power from the modem
;Giang Do        WINSW00010703           07 May 2010          Turn off Manual selection mode in the Phone->Options->Network tab
;Mihir Shah	 WINSW00010992           09 Nov 2010          RILGOBI: Today screen should display "Unregistered SIM" if the inactive sim card is used 
;Mihir Shah      WINSW00011290           30 Jun 2011          RILGOBI: Gobi3k: Provide a way to avoid storing firmware images on the host
;----------------------------------------------------------------------------------------------------------------------
  


[HKEY_CURRENT_USER\Software\Sierra Wireless Inc\RIL\CDMAData]
    "BaudRate"=dword:38400
    "Index"=dword:9
    "Prefix"="SWI"   

[HKEY_CURRENT_USER\Software\Sierra Wireless Inc\RIL\CDMACtrl]
    "Index"=dword:7
    "Prefix"="WMP"  


[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Vmail]
   "CarrierProviderNumber1"="0"
   "PhoneNumber"="0"

; Initial default registry key. OEM should customize this key for the loading order and Power Management if applicable.
[HKEY_LOCAL_MACHINE\Drivers\Builtin\RIL]
   "Dll"="rilgobi.dll"
   "Index"=dword:1
   "Order"=dword:40
   "Prefix"="RIL"
   "IClass"=multi_sz:"{A32942B7-920C-486b-B0E6-92A702A99B35}" 		
  
;[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\RIL]
;   "DLL"="rilgobi.dll"
;   "Prefix"="RIL"
;   "Order"=dword:30
;   "Order"=dword:30
;   "Index"=dword:1
;   "IClass"=multi_sz:"{A32942B7-920C-486b-B0E6-92A702A99B35}" 
;   "FriendlyName"="RIL Hardware Abstraction Driver"
;   "InitialState"=dword:0 ; D0
;   "InitFlags"=dword:0 ; No activity or wakeup.
; SupportedStates is a bit mask defining device states as follows
; Bit4 Bit3 Bit2 Bit1 Bit0
;  |    |    |    |    |
;  |    |    |    |    +----> D0 - Full on
;  |    |    |    +---------> D1 - Low On
;  |    |    +--------------> D2 - Standby
;  |    +-------------------> D3 - Sleep
;  +------------------------> D4 - Off
;   "SupportedStates"=dword:19 ; D4, D3 and D0.

[HKEY_CURRENT_USER\Software\Sierra Wireless Inc]
"ModemName"="Cellular Line"
"CarrierSuffix"="UNDEFINED" ;Don't set it or set it to something different than SW, PCS, VZW (in the past, it won't update connection profile for SW)
"ConnectionProfileName"="3G Connection"
"DynamicCarrierSupported"=dword:1
"DisableUIExt"=dword:E
"CarrierProduct"=dword:0 ; 1 = sprint cares about customer service; 0 = sprint does not care
"FeaturesSupported"=dword:0187A200 ; all the features are enabled like data ,SMS ...
;"PollingForRSSI"=dword:1	; Absent = 0 = report RSSI via notification, 1 = report RSSI via polling
;"NetworkPreference"=dword:0    ; 0=auto, 1=2G, 2=3G, Absent = default behavior(preferred). This registry key should ONLY be used by an adcanced user. Sierra discourages
; users to use it unless absolutely needed.

[HKEY_CURRENT_USER\Software\Sierra Wireless Inc\RIL]

[HKEY_CURRENT_USER\Software\Sierra Wireless Inc\RIL\PowerControl]
   "Get"=dword:1
   "Set"=dword:1
   "AuxAPIDllName"="OEMAux.dll"
   "ModemPowerOffSmartly"=dword:0				; CR 10520: MC GSM and Gobi not so smart. MC CDMA is smart but can rely on AirServerChange to compromise the different behaviours.
   "SwiAuxAPIDllName"="SwiCEAux.dll"

[HKEY_CURRENT_USER\Software\Sierra Wireless Inc\RIL\Audio]
   "StickyMuting"=dword:0

;Based on ril.h specification:
;#define RIL_AUDIO_NONE                              (0x00000000)      // @constdefine No audio devices
;#define RIL_AUDIO_HANDSET                           (0x00000001)      // @constdefine Handset
;#define RIL_AUDIO_SPEAKERPHONE                      (0x00000002)      // @constdefine Speakerphone
;#define RIL_AUDIO_HEADSET                           (0x00000003)      // @constdefine Headset
;#define RIL_AUDIO_CARKIT                            (0x00000004)      // @constdefine Carkit (representing Bluetooth profile)

;Based on rilext.h specification:
;#define RIL_AUDIO_DS_TTY                            (0x0000001F)      // @constdefine TTY audio profile 
;#define RIL_AUDIO_DS_HAC                            (0x00000020)      // @constdefine Hearing Aid Compatibility

;audio tuning for speakerphone mode
[HKEY_CURRENT_USER\Software\Sierra Wireless Inc\RIL\Audio\2]
"EchoCancelation"=dword:1				;use RIL_AUDIO_XXXX value. 1 means using HANDSET Echo cancelation profile
"SideToneLevel"=dword:3
"OutputLevel"=dword:4
"InputLevel"=dword:2


;audio tuning for TTY mode
[HKEY_CURRENT_USER\Software\Sierra Wireless Inc\RIL\Audio\31]
"EchoCancelation"=dword:0				;use RIL_AUDIO_XXXX value. 1 means using HANDSET Echo cancelation profile
"SideToneLevel"=dword:6
"OutputLevel"=dword:0
"InputLevel"=dword:5



;audio tuning for Hearing Aid Compability mode
[HKEY_CURRENT_USER\Software\Sierra Wireless Inc\RIL\Audio\32]
"EchoCancelation"=dword:1				;use RIL_AUDIO_XXXX value. 1 means using HANDSET Echo cancelation profile
"SideToneLevel"=dword:2
"OutputLevel"=dword:0
"InputLevel"=dword:0


[HKEY_CURRENT_USER\Software\Sierra Wireless Inc\System]
"AutoUpdateTime"=dword:0    ;1 = enabled 0=disabled
"AutoUpdateTimeUI"=dword:0  ; 1 = no ui but on , 0 = no ui and off , 2 is ui and manual
;"DelayNITZNotificationOnCleanBoot"=dword:0   ; If it is set to "1" then ONLY the very first NITZ notificaiton will be delayed on Cleanboot
                                              ; If it is set to "0" the NITZ notification will never be delayed.
                                              ; If this reg key is not present then the NITZ notification will never be delayed.

;"NitzTimeDelayOnCleanboot"=dword:EA60        ; Amount of time to delay NITZ in milliseconds. EA60 = 60000 ms. OEMs may change this value to suit their needs.
                                              ; This registry is used ONLY if (DelayNITZNotificationOnCleanBoot == 1). 
                                              ; If (DelayNITZNotificationOnCleanBoot == 1) but "NitzTimeDelayOnCleanboot" is not set or is not created, then the default value used by RIL is 60 seconds. 

; IOTA Log
[HKEY_CURRENT_USER\Software\Sierra Wireless Inc\IOTA]
   "IOTA Log File"="\\Windows\\IOTALog.log"
   "EnableIOTALog"=dword:00000000  ; 0x00 = Do NOT store IOTA session  log. 0X01 = Store IOTA session log.


[HKEY_LOCAL_MACHINE\Comm\ConnMgr\Planner\Settings]
"SuspendResume"=multi_sz:"#777"
 
[HKEY_LOCAL_MACHINE\ControlPanel\Phone]
; n.b. this is a bit mask, careful not to trash other people's bits
"Flags2"=dword:10		; was set to 18 which might casuse MS Connection Manager to disconnect the data call mistakenly when user End the voice call via End key

[HKEY_CURRENT_USER\ControlPanel\Phone]
"Features"=dword:242C640  				;CDMA value: 2B200, GSM: 2C600, GLOBAL GSM: 242C640, CDMA: 42B200
"DisableGSMNetworkSelection"=dword:1			;10603: Turn off the Manual network selection due to Qualcomm bug

[HKEY_LOCAL_MACHINE\Security\Phone]
"Features"=dword:18				        ;CDMA value: 0, GSM: 0x18

[HKEY_LOCAL_MACHINE\Software\Microsoft\DialParser]
"DLL-OEM"="SWDialParser.dll"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell\Phone]
"GroupBranding"= dword:7B6

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\VirtCOM]
"Dll"="swivsp.dll"
"Prefix"="WMP"
"Order"=dword:41
"Index"=dword:9

[HKEY_LOCAL_MACHINE\Software\Microsoft\RIL]
"ComPort"="SWI9:"
"DataPort"="SWI9:"
"Order"=dword:41

;This is MSFT enumeration
;FR_NETWORKTYPE_UNKNOWN                     (0x00000000)
;FR_NETWORKTYPE_GSM                         (0x00000001)
;FR_NETWORKTYPE_CDMA                        (0x00000002)

;Below is the SWI enumeration
;SWI_WIRELESSTECH_Unknown   0
;SWI_WIRELESSTECH_Cdma      1
;SWI_WIRELESSTECH_Gsm       2
;SWI_WIRELESSTECH_Wifi      3
;SWI_WIRELESSTECH_Wimax     4

"NetworkType"=dword:1    ; This registry key is as per MSFT enumeration, which means FR_NETWORKTYPE_GSM by default.

;To fix SMS display problem
[HKEY_LOCAL_MACHINE\Comm\Cellular\SMS\Protocols\Text]
   "Dll"="sms_providers.dll" 

;To enable callback entry and priority entry feature for MO/MT SMS. Result varies on network and the features only work within the same network.
[HKEY_CURRENT_USER\Software\Microsoft\Inbox\Settings\OEM]
"SMSEnableCallback" = dword:1
"SMSEnablePriority" = dword:1

;VoiceMail in SMS Inbox configuration parameters
[HKEY_CURRENT_USER\ControlPanel\Phone]
;KeepSMSVM details
;Bit 0 - Default behavior on/off (if off then default behavior i.e., notification bubble with text, Inbox entry that honors the replace flag)
;Bit 1 - DCS discard flag override on/off (if set, use bit 2’s value for saving to Inbox. Otherwise, use the SMS message’s DCS discard flag to determine if the message should be saved to Inbox)
;Bit 2 - Inbox entry on/off (only used if DCS discard flag override is set)
;Bit 3 - Notification bubble on/off (if set, notification bubbles will be displayed).
;Bit 4 - Notification bubble text on/off (if set, the vmail notification bubble will contain the message text - otherwise no text).
"KeepSMSVM"=dword:0000003B


;WINSW00008231 - Sending SMS to an email address doesn't reach the other end
;SMS to Email Address provisioning
[HKEY_LOCAL_MACHINE\System\Inbox\Settings]
"AllowSMStoSMTPConcatenation"=dword:1
"AllowSMStoSMTPAddress"=dword:1
"SMStoSMTPShortCode"= "6245"

;Force OS to use RIL NDIS when making data call. If CDMA connectoid is used, these keys have no effect
[HKEY_LOCAL_MACHINE\Comm\Cellular\RIL]
"Packet"=dword:1
"Contexts"=dword:1

;To display Unregistered SIM is using inactive SIM
[HKEY_LOCAL_MACHINE\Security\ResOver]
"99"="Unregistered SIM" 

;11290 - Mechanism to avoid storing FW images on the host
[HKEY_LOCAL_MACHINE\Software\Sierra Wireless Inc\QDL]
"ForceFWDownload"=dword:1 ; Default == 1 == Call UpgradeFirmware2K(). 0 == SetImagesPreference() and reset the modem
"ModemImageID1"="E71FEA750CD0C872E930F6AE8F998AF4"
"ModemBuildID1"="D3600-STSUVH-1576"
"PRIImageID1"="64074A4A751A485A8F3B9C6EAFAD26DE"
"PRIBuildID1"="D3600-STSUVH-1576"
"ModemImageID2"="3B3C7AF50FB278606AE2F6DCA446001C"
"ModemBuildID2"="D3200-STSUGN-1575"
"PRIImageID2"="60E8A537182955D6AAD8839E3B8171DE"
"PRIBuildID2"="D3200-UQSUAN-3008"
"ModemImageID3"="F7FE9F676D5F088844AAFFE2D7B463DA"
"ModemBuildID3"="D3600-STSUSH-1576"
"PRIImageID3"="762CF524565E29978104EB2FC186AE0D"
"PRIBuildID3"="D3600-STSUSH-1576"
"ModemImageID6"="3B3C7AF50FB278606AE2F6DCA446001C"
"ModemBuildID6"="D3200-STSUGN-1575"
"PRIImageID6"="0FE24B981452ADC2C82C7C0BF36813F4"
"PRIBuildID6"="D3200-STSUGN-1575"

