IBTDevice (Compact 2013)
3/26/2014
This interface represents a Bluetooth device and its attributes such as device name, address, class of device (COD), and trust.
Methods
- IBTDevice::Connect
Connects a device and all enabled services associated with that device.
- IBTDevice::Delete
Removes the Bluetooth device and the associated services from the registry.
- IBTDevice::Disconnect
Disconnects a device and all services associated with that device.
- IBTDevice::GetAddress
Retrieves the address of the Bluetooth device.
- IBTDevice::GetAllServices
Returns the list of services that the device supports
- IBTDevice::GetCOD
Retrieves the class of device (COD) for the Bluetooth device.
- IBTDevice::GetName
Retrieves the name of the Bluetooth device.
- IBTDevice::GetService
Returns a pointer to the IBTService interface for the specified service.
- IBTDevice::Init
Initializes the properties for the Bluetooth device with the specified data.
- IBTDevice::IsConnected
Indicates whether a device is currently connected.
- IBTDevice::IsTrusted
Indicates whether the Bluetooth device is trusted.
- IBTDevice::Load
Initializes the object with the properties of the device, specified by address, from the registry.
- IBTDevice::LoadByName
Initializes the object with the properties of the device, specified by name, retrieved from the registry.
- IBTDevice::QueryServices
Performs a full remote Service Discovery Protocol (SDP) search for the services supported by the device in the registry and refreshes the existing list of services.
- IBTDevice::Rename
Changes the name of the Bluetooth device to the specified name.
- IBTDevice::Save
Sets device properties such as name of the device, class of the device (COD), and authentication status of the device, in the registry.
- IBTDevice::SetTrust
Sets a Boolean value that indicates whether the device is trusted.
Remarks
This interface exposes methods that can be used to set the properties of the device and retrieve the list of services supported by the device.
Requirements
Header |
bthutil_p.h |
Library |
Bthutil.lib |
See Also
Reference
Bluetooth Application Development Interfaces