16 #ifndef ALEXA_CLIENT_SDK_BLUETOOTHIMPLEMENTATIONS_BLUEZ_INCLUDE_BLUEZ_BLUEZHOSTCONTROLLER_H_ 17 #define ALEXA_CLIENT_SDK_BLUETOOTHIMPLEMENTATIONS_BLUEZ_INCLUDE_BLUEZ_BLUEZHOSTCONTROLLER_H_ 32 namespace bluetoothImplementations {
51 std::future<bool>
stopScan()
override;
60 static std::unique_ptr<BlueZHostController>
create(
const std::string& adapterObjectPath);
94 std::future<bool> setDiscoverable(
bool discoverable);
106 std::future<bool> changeScanState(
bool scanning);
112 std::unique_ptr<avsCommon::utils::MacAddressString> m_mac;
119 mutable std::mutex m_adapterMutex;
125 std::shared_ptr<DBusPropertiesProxy> m_adapterProperties;
128 std::shared_ptr<DBusProxy> m_adapter;
135 #endif // ALEXA_CLIENT_SDK_BLUETOOTHIMPLEMENTATIONS_BLUEZ_INCLUDE_BLUEZ_BLUEZHOSTCONTROLLER_H_
Definition: BluetoothHostControllerInterface.h:31
void onPropertyChanged(const GVariantMapReader &changesMap)
::std::string string
Definition: gtest-port.h:1097
std::future< bool > startScan() override
std::future< bool > enterDiscoverableMode() override
Definition: GVariantMapReader.h:36
bool isScanning() const override
std::future< bool > exitDiscoverableMode() override
std::future< bool > stopScan() override
std::string getFriendlyName() const override
std::string getMac() const override
An implementation of the BluetoothHostControllerInterface using BlueZ.
Definition: BlueZHostController.h:36
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
virtual ~BlueZHostController()=default
bool isDiscoverable() const override
static std::unique_ptr< BlueZHostController > create(const std::string &adapterObjectPath)