#include <BluetoothWorker.h>
Definition at line 12 of file BluetoothWorker.h.
◆ BluetoothWorker()
◆ ~BluetoothWorker()
| BluetoothWorker::~BluetoothWorker |
( |
| ) |
|
|
override |
◆ _reconnectTimeout
| void BluetoothWorker::_reconnectTimeout |
( |
| ) |
|
|
protectedslot |
Definition at line 105 of file BluetoothWorker.cc.
References _consecutiveFailures, _intentionalDisconnect, _reconnectAttempts, _reconnectTimer, connectLink(), errorOccurred(), MAX_CONSECUTIVE_FAILURES, MAX_RECONNECT_ATTEMPTS, MAX_RECONNECT_INTERVAL_MS, onResetAfterConsecutiveFailures(), and RECONNECT_BASE_INTERVAL_MS.
Referenced by BluetoothWorker().
◆ _serviceDiscoveryTimeout
| void BluetoothWorker::_serviceDiscoveryTimeout |
( |
| ) |
|
|
protectedslot |
◆ connected
| void BluetoothWorker::connected |
( |
| ) |
|
|
signal |
◆ connectLink
| void BluetoothWorker::connectLink |
( |
| ) |
|
|
slot |
◆ create()
◆ dataReceived
| void BluetoothWorker::dataReceived |
( |
const QByteArray & |
data | ) |
|
|
signal |
◆ dataSent
| void BluetoothWorker::dataSent |
( |
const QByteArray & |
data | ) |
|
|
signal |
◆ disconnected
| void BluetoothWorker::disconnected |
( |
| ) |
|
|
signal |
◆ disconnectLink
| void BluetoothWorker::disconnectLink |
( |
| ) |
|
|
slot |
◆ errorOccurred
| void BluetoothWorker::errorOccurred |
( |
const QString & |
errorString | ) |
|
|
signal |
◆ isConnected()
| bool BluetoothWorker::isConnected |
( |
| ) |
const |
◆ onConnectLink()
| virtual void BluetoothWorker::onConnectLink |
( |
| ) |
|
|
protectedpure virtual |
◆ onDisconnectLink()
| virtual void BluetoothWorker::onDisconnectLink |
( |
| ) |
|
|
protectedpure virtual |
◆ onResetAfterConsecutiveFailures()
| virtual void BluetoothWorker::onResetAfterConsecutiveFailures |
( |
| ) |
|
|
protectedpure virtual |
◆ onServiceDiscoveryTimeout()
| virtual void BluetoothWorker::onServiceDiscoveryTimeout |
( |
| ) |
|
|
protectedpure virtual |
◆ onSetupConnection()
| virtual void BluetoothWorker::onSetupConnection |
( |
| ) |
|
|
protectedpure virtual |
◆ onWriteData()
| virtual void BluetoothWorker::onWriteData |
( |
const QByteArray & |
data | ) |
|
|
protectedpure virtual |
◆ rssiUpdated
| void BluetoothWorker::rssiUpdated |
( |
qint16 |
rssi | ) |
|
|
signal |
◆ setupConnection
| void BluetoothWorker::setupConnection |
( |
| ) |
|
|
slot |
◆ writeData
| void BluetoothWorker::writeData |
( |
const QByteArray & |
data | ) |
|
|
slot |
◆ _connected
| std::atomic<bool> BluetoothWorker::_connected {false} |
|
protected |
◆ _consecutiveFailures
| int BluetoothWorker::_consecutiveFailures = 0 |
|
protected |
◆ _device
| const QBluetoothDeviceInfo BluetoothWorker::_device |
|
protected |
◆ _intentionalDisconnect
| std::atomic<bool> BluetoothWorker::_intentionalDisconnect {false} |
|
protected |
◆ _readCharacteristicUuid
| const QBluetoothUuid BluetoothWorker::_readCharacteristicUuid |
|
protected |
◆ _reconnectAttempts
| std::atomic<int> BluetoothWorker::_reconnectAttempts {0} |
|
protected |
◆ _reconnectTimer
| QPointer<QTimer> BluetoothWorker::_reconnectTimer |
|
protected |
◆ _serviceDiscoveryTimer
| QPointer<QTimer> BluetoothWorker::_serviceDiscoveryTimer |
|
protected |
◆ _serviceUuid
| const QBluetoothUuid BluetoothWorker::_serviceUuid |
|
protected |
◆ _writeCharacteristicUuid
| const QBluetoothUuid BluetoothWorker::_writeCharacteristicUuid |
|
protected |
◆ MAX_CONSECUTIVE_FAILURES
| constexpr int BluetoothWorker::MAX_CONSECUTIVE_FAILURES = 3 |
|
staticconstexprprotected |
◆ MAX_RECONNECT_ATTEMPTS
| constexpr int BluetoothWorker::MAX_RECONNECT_ATTEMPTS = 10 |
|
staticconstexprprotected |
◆ MAX_RECONNECT_INTERVAL_MS
| constexpr int BluetoothWorker::MAX_RECONNECT_INTERVAL_MS = 60000 |
|
staticconstexprprotected |
◆ RECONNECT_BASE_INTERVAL_MS
| constexpr int BluetoothWorker::RECONNECT_BASE_INTERVAL_MS = 5000 |
|
staticconstexprprotected |
◆ SERVICE_DISCOVERY_TIMEOUT_MS
| constexpr int BluetoothWorker::SERVICE_DISCOVERY_TIMEOUT_MS = 30000 |
|
staticconstexprprotected |
The documentation for this class was generated from the following files: