Bluetooth Pairing API Functions
10/16/2008
This section describes the functions in the Bluetooth Pairing API.
Functions
- ActivateBTDevice
Activates a profile on a remote device.
- ConnectBTDevice
Activates the device profile and opens the board support package (BSP) port to the profile.
- DeActivateBTDevice
Deactivates a Bluetooth device profile.
- DeleteBTDevice
Removes the pairing and profile information for the specified device.
- DeleteBTDeviceAttribute
Deletes a named attribute from a paired device record.
- DisconnectBTDevice
Closes the port associated with the specified device profile, and optionally deactivates the device profile.
- **
- GetBTDeviceAttributeBLOB
Gets the BLOB value for a specified device and attribute name.
- GetBTDeviceAttributeDWORD
Gets the DWORD value for a specified device and attribute name.
- GetBTDeviceAttributeWCHAR
Gets the WCHAR value for a specified device and attribute name.
- **
- GetBTDeviceCount
Gets the number of devices with an active profile, devices with a specified profile, or the total number of paired devices.
- GetBTDeviceInfo
Gets the pairing information for the specified remote device.
- GetBTDeviceList
Gets device information for the set of paired devices that support the specified profile.
- GetBTDeviceProfileInfo
Gets the profile information for the specified device profile.
- GetBTDeviceProfileList
Gets the profile information for all the profiles supported by the specified remote device.
- GetBTOnOff
Indicates whether the local Bluetooth device is on or off.
- GetLatestBTDeviceInfo
Gets device information for the most recently paired device.
- IsBTDeviceActivated
Indicates if a profile is active on the specified device.
- SetBTDeviceActiveState
Marks the specified device profile as active or inactive.
- SetBTDeviceAttributeBLOB
Adds, or updates a BLOB name/value pair to the device pairing record in the Registry.
- SetBTDeviceAttributeDWORD
Adds, or updates a DWORD name/value pair to the device pairing record in the Registry.
- SetBTDeviceAttributeWCHAR
Adds, or updates a WCHAR name/value pair to the device pairing record in the registry.
- SetBTDiscoverable
Enables or disables Bluetooth inquiry scan, making the Windows Embedded CEābased device discoverable and available for pairing.
- SetBTOnOff
Turns the local Bluetooth device on or off.
- **
- **
- StartBTDiscovery
Starts the Bluetooth discovery process.
- StartBTPair
Starts the pairing process with a specified remote device.
- **
- StopBTPair
Stops the current attempt to pair with a remote device.