- 
                Notifications
    
You must be signed in to change notification settings  - Fork 23
 
QuantumGate::Local::BluetoothDevice
        Karel Donk edited this page Dec 26, 2021 
        ·
        3 revisions
      
    QuantumGate::Local::BluetoothDevice is a struct that contains details about a Bluetooth device.
struct BluetoothDevice
{
    String Name;
    GUID ServiceClassID;
    BTHAddress RemoteAddress;
    std::optional<BTHAddress> LocalAddress;
    std::optional<ULong> ClassOfDevice;
    bool Connected{ false };
    bool Authenticated{ false };
    bool Remembered{ false };
    std::optional<SystemTime> LastSeen;
    std::optional<SystemTime> LastUsed;
    Vector<GUID> Services;
};| Name | Description | 
|---|---|
Name | 
The name of the Bluetooth device. | 
RemoteAddress | 
The remote address of the device as a QuantumGate::BTHAddress. Use this address to connect to other Bluetooth devices. | 
LocalAddress | 
The optional local address of the device as a QuantumGate::BTHAddress. | 
ClassOfDevice | 
The optional Bluetooth device class. | 
Connected | 
Specifies whether the device is currently connected. | 
Authenticated | 
Specifies whether the device is authenticated, paired, or bonded. All authenticated devices are remembered. | 
Remembered | 
Specifies whether the device is a remembered device. Not all remembered devices are authenticated. | 
LastSeen | 
An optional QuantumGate::Time value indicating when the device was last seen. | 
LastUsed | 
An optional QuantumGate::Time value indicating when the device was last used. | 
Services | 
A QuantumGate::Vector collection of GUIDs identifying the services supported by the device. |