39 bool listen(
const QString &serviceName,
const QString &uuid,
bool secure);
52 void onClientAccepted(
std::shared_ptr<
int> clientSocketHandle);
53 void onAcceptFailed(QOhosBluetoothErrorCode errorCode);
54 void acceptNextConnection();
55 void scheduleAcceptNextConnection();
56 void reportError(QOhosBluetoothErrorCode errorCode);
57 void reportAcceptingStopped();
59 std::shared_ptr<
int> m_serverSocketHandle;
60 std::optional<QString> m_registeredServiceName;
61 std::optional<
std::uint64_t> m_optRegisteredServiceId;
62 std::uint64_t m_registeredServicesCounter = 0;