Audio Gateway Registry Settings
Other versions of this page are also available for the following:
8/28/2008
Windows Embedded CE provides the Audio Gateway Service to support the Headset Profile and the Hands-Free Profile on the device. You can configure the Audio Gateway service through the registry.
Note
The default registry values vary depending on which Catalog items are included in your OS design. For more information, see Default Registry Settings.
To enable Handset and Hands-free profiles on the device, the OEMs must add the HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\HandsfreeProfileOn key in the registry. This registry key is not added by default because many devices do not support Bluetooth.
The registry settings for Audio Gateway are located under the HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\AudioGateway registry key.
The following table shows the named values for the AudioGateway registry key:
Value : type | Description |
---|---|
Authenticate : REG_DWORD |
Determines whether or not the connection is authenticated.
This setting is optional.
Security Note:
Setting this value to 0 disables authentication. This may result in potential security risks.
|
ConnectScoInAlways : REG_DWORD |
Determines whether or not audio is routed to the Bluetooth hands-free device.
|
Encrypt : REG_DWORD |
Determines whether or not the connection is encrypted.
This setting is optional.
Security Note:
Setting this value to 0 disables encryption. This may result in potential security risks.
|
MapAudioToPcmMode : REG_DWORD |
Specifies the audio driver. The setting can have the following values:
|
MicVolume : REG_DWORD |
Specifies the default microphone volume with respect to the AT+VGM command. Default value is set to 8. |
NoHandsFree : REG_DWORD |
Specifies whether or not the hands-free profile is used.
|
PowerSave : REG_DWORD |
Configures the audio gateway to conserve power when establishing audio connections.
|
SpkVolume : REG_DWORD |
Specifies the default speaker volume with respect to the AT+VGS command. Default value is set to 8. |
Capability : REG_DWORD |
Specifies the capability bitmask that is specified by the hands-free profile. Default value is 0x21. Optional bitmask values are:
|
PageTimeout: REG_DWORD |
Specifies the page timeout for connecting to the peer Bluetooth device. This value is passed as a parameter to the BthWritePageTimeout function. |
BTAGExtModule : REG_SZ |
Specifies the name of the AT command extension DLL to load. By default, the AG uses btagatext.dll. |
OutgoingCallOption : REG_DWORD |
Specifies how outgoing calls should be handled. The setting can have the following values:
|
SniffDelay : REG_DWORD |
Specifies the timeout value in milliseconds before activating the SNIFF mode for the connection. Default value is 5000 milliseconds. |
SniffMax : REG_DWORD |
Specifies the maximum acceptable number of Baseband slots between each sniff period. The time length is equal to N * 0.625 msec, or 1 Baseband slot. The valid range for N is 0x0001 to 0xFFFF. The valid time range is 0.625 msec to 40.9 seconds. |
SniffMin : REG_DWORD |
Specifies the minimum acceptable number of Baseband slots between each sniff period. The time length is equal to N * 0.625 msec, or 1 Baseband slot. The valid range for N is 0x0001 to 0xFFFF. The valid time range is 0.625 msec to 40.9 seconds. |
SniffAttempt : REG_DWORD |
Specifies the number of Baseband receive slots for sniff attempt. The length is equal to (2 * N –1) * 0.625 msec. The valid range for N is 0x0001 to 0x7FFF. The valid time range is 0.625 msec to 40.9 seconds. |
SniffTimeout : REG_DWORD |
Specifies the number of Baseband receive slots for sniff timeout. If N is greater than 0, the length is equal to (2 * N –1) * 0.625 msec. If N is equal to 0, then the length is equal to 0 msec. The valid range for N is 0x0000 to 0x7FFF. The valid time range is 0 msec to 40.9 seconds. |
NoRoleSwitch : REG_DWORD |
0 - Enables the stack to request a role-switch with the peer device for an incoming connection. 1 - Disables role switching. Default |
The registry settings for the Audio Gateway service are located under the HKEY_LOCAL_MACHINE\Services\BTAGSVC registry key.
The following table shows the named values for the BTAGSVC registry key:
Value : type | Description |
---|---|
IsEnabled : REG_DWORD |
Determines whether or not the service is started at boot time.
|
See Also
Concepts
Audio Gateway Service
Bluetooth Profiles
Headset Profile
Hands-Free Profile