Tuesday, January 29, 2013

Bluetooth Walking 3- REGISTRY


http://msdn.microsoft.com/en-us/library/aa450617.aspx
ISdpWalk::WalkStream (Windows CE 5.0)

Windows CE 5.0This topic has not yet been rated - Rate this topicSend FeedbackThis method walks a raw SDP stream.HRESULT WalkStream( UCHAR elementType, ULONG elementSize, UCHAR* pStream );

Parameters

elementType[in] Type of element.elementSize[in] Size of the element.pStream[in] Pointer to the stream.

Return Values

None.

Requirements

OS Versions: Windows CE .NET 4.0 and later.Header: Bthapi.h, Bthapi.idl.Link Library: Btdrt.lib.

See Also
NodeDataUnion (Windows CE 5.0)

Windows CE 5.0This topic has not yet been rated - Rate this topicSend FeedbackThis union holds the raw data for an SDP element.typedef union NodeDataUnion { DP_LARGE_INTEGER_16 int128; SDP_ULARGE_INTEGER_16 uint128; GUID uuid128; ULONG uuid32; USHORT uuid16; LONGLONG int64; ULONGLONG uint64; LONG int32; ULONG uint32; SHORT int16; USHORT uint16; CHAR int8; UCHAR uint8; UCHAR booleanVal; SdpString str; SdpString url; ISdpNodeContainer* container; } NodeDataUnion;

Members

int128128-bit integer.uint128Unsigned 128-bit integer.uuid128UUID represented using 128 bits.uuid32UUID represented using 32 bits.uuid16UUID represented using 16 bits.int6464-bit integer.uint64Unsigned 64-bit integer.int3232-bit integer.uint32Unsigned 32-bit integer.int1616-bit integer.uint16Unsigned 16-bit integer.int88-bit integer.uint8Unsigned 8-bit integer.booleanValBoolean value.strString data.urlURL data.containerPointer to an ISdpNodeContainer interface.

Requirements

OS Versions: Windows CE .NET 4.0 and later.Header: Bthapi.idl.

See Also

NodeData | Bluetooth Application Development StructuresSend Feedback on this topic to the authors
ISdpWalk
Audio Gateway Registry Settings (Windows CE 5.0)




||||||||||||||||||||||   REGISTRY. SETTINGS |||||

Windows CE 5.01 out of 2 rated this helpful - Rate this topicSend FeedbackMicrosoft® Windows® CE provides the Audio Gateway Service to support the Headset Profile and the Hands-Free Profileon 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 k

ey 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 : typeDescriptionAuthenticate :REG_DWORDDetermines whether or not the connection is authenticated.

0 - Disables authentication.

1 - Enables authentication. Default.This setting is optional.Security Note   Setting this value to 0 disables authentication. This may result in potential security risks.ConnectScoInAlways :

REG_DWORDDetermines whether or not audio is routed to the Bluetooth hands-free device.0 - Incoming calls answered in the handset and audio is not routed to hands-free device. Default.1 - Incoming calls answered in the handset and routes audio to hands-free device.Encrypt : REG_DWORDDetermines whether or not the connection is encrypted.0 - Disables encryption.1 - Enables encryption. Default.This setting is optional.Security Note   Setting this value to 0 disables encryption. This may result in potential security risks.MapAudioToPcmMode: REG_DWORDSpecifies the audio driver. The setting can have the following values:0 - Use the built-in SCO audio driver.1 - Assume that audio is automatically routed to the Bluetooth hardware. Default.MicVolume :REG_DWORDSpecifies the default microphone volume with respect to the AT+VGM command. Default value is set to 8.NoHandsFree :REG_DWORDSpecifies whether or not the hands-free profile is used.0 - Enables the Hands-Free profile.1 - Disables the Hands-Free Profile.PowerSave :REG_DWORDConfigures the audio gateway to conserve power when establishing audio connections.0 - Keeps the service level connection active for the Hands-Free profile in between calls.1 - Closes the service level connection between calls.SpkVolume :REG_DWORDSpecifies the default speaker volume with respect to the AT+VGS command. Default value is set to 8.Capability : REG_DWORDSpecifies the capability bitmask that is specified by the hands-free profile. Default value is 0x21.To enable voice tag support, set this value to 0x25.PageTimeout: REG_DWORDSpecifies the page timeout for connecting to the peer Bluetooth device. This value is passed as a parameter to the BthWritePageTimeout function.BTAGExtModule : REG_SZSpecifies the name of the AT command extension DLL to load. By default, the AG uses btagatext.dll.OutgoingCallOption : REG_DWORDSpecifies how outgoing calls should be handled. The setting can have the following values:0 - Prompts where the outgoing call should be handled.1 - Automatically handles the call in the headset.2 - Disables audio routing and automatically handles the call in the hands-free device.SniffDelay : REG_DWORDSpecifies the timeout value in milliseconds before activating the SNIFF mode for the connection. Default value is 5000 milliseconds.SniffMax : REG_DWORDSpecifies 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_DWORDSpecifies 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_DWORDSpecifies 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_DWORDSpecifies 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.The registry settings for the Audio Gateway service are located under the HKEY_LOCAL_MACHINE\Services\BTAGSVCregistry key.The following table shows the named values for the BTAGSVC registry key:Value : typeDescriptionIsEnabled : REG_DWORDDetermines whether or not the service is started at boot time.0 - Service is not started at boot time.1 - Service is started at boot time.





















-------

















LLLLLL










LLLLL

No comments:

Post a Comment