3#include <NDEVR/Connection.h>
4#include "Base/Headers/Buffer.hpp"
5#include "Base/Headers/String.h"
6#include "Base/Headers/TimeSpan.h"
8#include <QBluetoothServiceInfo>
9#include <QBluetoothDeviceInfo>
10class QBluetoothAddress;
19 class NDEVR_BLUETOOTH_API BluetoothManager :
public QObject
27 static BluetoothManager& DefaultManager();
33 Buffer<String> ToBTDConnectionStrings(
const QBluetoothDeviceInfo& device);
39 void LogBluetoothDiscoveryError(
int error, LogPtr log);
45 Buffer<QBluetoothDeviceInfo> BluetoothDeviceInfo(
const ConnectionSearchParameters& params);
51 Buffer<QBluetoothServiceInfo> BluetoothServiceInfo(
const ConnectionSearchParameters& params);
58 Buffer<QBluetoothServiceInfo> BluetoothServiceInfo(
const QBluetoothAddress& device,
const ConnectionSearchParameters& params);
65 Buffer<QBluetoothServiceInfo> BluetoothServiceInfo(
const ConnectionInfo& device,
const ConnectionSearchParameters& params);
71 static TranslatedString ErrorMessage(
int error);
77 static ConnectionInfo ConvertFromDeviceInfo(
const QBluetoothDeviceInfo& info);
83 static ConnectionInfo ConvertFromServiceInfo(
const QBluetoothServiceInfo& info);
89 void bluetoothErrorSignal(
int error);
A light-weight base class for Log that allows processes to update, without the need for additional in...
Logic for reading or writing to a string or a user friendly, TranslatedString.
The primary namespace for the NDEVR SDK.