4#ifndef QOHOSBLUETOOTHREMOTEDEVICE_P_H
5#define QOHOSBLUETOOTHREMOTEDEVICE_P_H
18#include <QtBluetooth/private/qohosbluetoothcommon_p.h>
19#include <QtBluetooth/private/qohosbluetoothenums_p.h>
21#include <QtCore/qobject.h>
22#include <QtCore/qstring.h>
23#include <QtCore/qstringlist.h>
24#include <QtCore/qtconfigmacros.h>
71 bool ensureBondStateChangeConsumerRegistered();
73 std::shared_ptr<
void> m_bondStateChangeConsumerHandle;
79 QOhosJsState &jsState,
const std::string &deviceId);
std::optional< QString > tryGetRemoteDeviceName(const QString &deviceId)
void pairDeviceFailed(QString deviceId)
std::optional< QOhosBluetoothErrorCode > requestRemoteDeviceServices(const QString &deviceId)
std::optional< BondState > tryGetPairState(const QString &deviceId)
QOhosBluetoothRemoteDeviceProxy()
static std::shared_ptr< QOhosBluetoothRemoteDeviceProxy > instance()
void remoteDeviceServicesRead(RemoteDeviceServices remoteDeviceServices)
bool pairDevice(const QString &deviceId)
Combined button and popup list for selecting options.
bool isRemoteDeviceLowEnergyOnly(QOhosJsState &jsState, const std::string &deviceId)
std::optional< quint32 > readRemoteDeviceClass(QOhosJsState &jsState, const std::string &deviceId)
std::optional< QOhosBluetoothRemoteDeviceProxy::BluetoothTransport > readRemoteDeviceTransport(QOhosJsState &jsState, const std::string &deviceId)
std::optional< std::string > readRemoteDeviceName(QOhosJsState &jsState, const std::string &deviceId)
std::optional< std::vector< std::string > > optProfileUuids
std::optional< std::string > optDeviceName
std::optional< quint32 > optClassOfDevice