Audio Gateway Registry Settings (Compact 2013)
3/26/2014
Windows Embedded Compact provides the Audio Gateway service to support 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.
To enable the Hands-Free Profile on the device, add the HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\HandsfreeProfileOn key to the registry. This registry key is not added by default because not all devices support Bluetooth.
You can configure the Audio Gateway by using these registry entries, located in the key HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\AudioGateway.
Name |
Type |
Description |
Default |
---|---|---|---|
Authenticate |
REG_DWORD |
Optional. Whether the connection is authenticated.
Caution:
Disabling authentication is a potential security risk.
|
1 |
ConnectHFOnCall |
REG_DWORD |
Specifies whether hands-freeoperation is activated when a call is received.
|
0 |
ConnectScoInAlways |
REG_DWORD |
Whether audio is routed to the Bluetooth hands-free device.
|
0 |
Encrypt |
REG_DWORD |
Optional. Whether the connection is encrypted.
Caution:
Disabling encryption is a potential security risk.
|
1 |
ESCOMaxLatency |
REG_DWORD |
Specifies an upper bound on the latency of the Extended Synchronous Connection Oriented (eSCO) data and sets bounds onthe maximum number of retransmissions and the eSCO interval. |
|
ESCORetransmission |
REG_DWORD |
Specifies the number of retransmissions and the eSCO interval. |
|
ESCORxBandwidth |
REG_DWORD |
Specifies the eSCO reception bandwidth. |
|
ESCOTxBandwidt |
REG_DWORD |
Specifies the eSCO transmission bandwidth. |
|
ESCOVoiceSetting |
REG_DWORD |
Specifies whether a voice channel on the device is activated.
|
0 |
MapAudioToPcmMode |
REG_DWORD |
Specifies the audio driver.
|
1 |
MicVolume |
REG_DWORD |
The default microphone volume with respect to the AT+VGM command. |
8 |
NoHandsFree |
REG_DWORD |
Whether the Hands-Free Profile is used.
|
|
PowerSave |
REG_DWORD |
Configures the audio gateway to conserve power when the audio connection is not needed.
|
|
SpkVolume |
REG_DWORD |
The default speaker volume with respect to the AT+VGS command. |
8 |
Capability |
REG_DWORD |
The capability bitmask that is specified by the Hands-Free profile. Optional bitmask values are:
|
0x21 |
PageTimeout |
REG_DWORD |
The page timeout for connecting to the peer Bluetooth device. This value is passed as a parameter to the BthWritePageTimeout function. |
|
Extensions\1 |
REG_SZ |
Name of the AT command extension DLL to load. |
"DllName"="BTAGExt1.dll" |
Extensions\2 |
REG_SZ |
Name of the AT command extension DLL to load. |
"DllName"="BTAGExt2.dll" |
OutgoingCallOption |
REG_DWORD |
How outgoing calls should be handled.
|
|
SniffDelay |
REG_DWORD |
The timeout in milliseconds before activating the SNIFF mode for the connection. |
5000 |
SniffMax |
REG_DWORD |
The maximum acceptable number of Baseband slots between each sniff period. The valid range is 0x0001 through 0xFFFF, which is equivalent to a time range of 0.625 milliseconds through 40.9 seconds. |
|
SniffMin |
REG_DWORD |
The minimum acceptable number of Baseband slots between each sniff period. The valid range is 0x0001 through 0xFFFF, which is equivalent to a time range of 0.625 milliseconds through 40.9 seconds. |
|
SniffAttempt |
REG_DWORD |
The number of Baseband receive slots for sniff attempt. The valid range is 0x0001 to 0x7FFF. The time is equal to (2 * N -1) * 0.625 msec. The valid time range is 0.625 milliseconds through 40.9 seconds. |
|
SniffTimeout |
REG_DWORD |
The number of Baseband receive slots for sniff timeout. The valid range for N is 0x0000 to 0x7FFF. For values greater than 0, the time is equal to (2 * N -1) * 0.625 msec. If N is equal to 0, then the time is equal to 0 milliseconds. The valid time range is 0 through 40.9 seconds. |
|
NoRoleSwitch |
REG_DWORD |
Whether the stack can request a role switch with the peer device. 0 = Enables role switching. 1 = Disables role switching. |
1 |
UnattendedMode |
REG_DWORD |
Specifies whether the device allows applications to continue to run instead of pausing them when the screen is turned off.
|
0 |
UseESCO |
REG_DWORD |
Specifies whether to use eSCO audio.
|
0 |
You can enable the Audio Gateway Service by using this registry entry, located in the key HKEY_LOCAL_MACHINE\Services\BTAGSVC.
Name |
Type |
Description |
---|---|---|
IsEnabled |
REG_DWORD |
Determines whether the service is started at boot time.
|
See Also
Reference
Bluetooth Registry Settings
Bluetooth Audio Gateway Service Reference