QLowEnergyController¶
- PyQt5.QtBluetooth.QLowEnergyController
Inherits from QObject.
Description¶
TODO
Enums¶
- ControllerState
TODO
Member
Value
Description
AdvertisingState TODO
TODO
ClosingState TODO
TODO
ConnectedState TODO
TODO
ConnectingState TODO
TODO
DiscoveredState TODO
TODO
DiscoveringState TODO
TODO
UnconnectedState TODO
TODO
- Error
TODO
Member
Value
Description
AdvertisingError TODO
TODO
AuthorizationError TODO
TODO
ConnectionError TODO
TODO
InvalidBluetoothAdapterError TODO
TODO
NetworkError TODO
TODO
NoError TODO
TODO
RemoteHostClosedError TODO
TODO
UnknownError TODO
TODO
UnknownRemoteDeviceError TODO
TODO
- RemoteAddressType
TODO
Member
Value
Description
PublicAddress TODO
TODO
RandomAddress TODO
TODO
- Role
TODO
Member
Value
Description
CentralRole TODO
TODO
PeripheralRole TODO
TODO
Methods¶
- __init__(QBluetoothDeviceInfo, parent: QObject = None)
TODO
- __init__(QBluetoothAddress, parent: QObject = None)
TODO
- __init__(QBluetoothAddress, QBluetoothAddress, parent: QObject = None)
TODO
- addService(QLowEnergyServiceData, parent: QObject = None) → QLowEnergyService
TODO
- connectToDevice()
TODO
-
@staticmethod
createCentral(QBluetoothDeviceInfo, parent: QObject = None) → QLowEnergyController TODO
-
@staticmethod
createCentral(QBluetoothAddress, QBluetoothAddress, parent: QObject = None) → QLowEnergyController TODO
-
@staticmethod
createPeripheral(parent: QObject = None) → QLowEnergyController TODO
- createServiceObject(QBluetoothUuid, parent: QObject = None) → QLowEnergyService
TODO
- disconnectFromDevice()
TODO
- discoverServices()
TODO
- error() → Error
TODO
- errorString() → str
TODO
- localAddress() → QBluetoothAddress
TODO
- remoteAddress() → QBluetoothAddress
TODO
- remoteAddressType() → RemoteAddressType
TODO
- remoteDeviceUuid() → QBluetoothUuid
TODO
- remoteName() → str
TODO
- requestConnectionUpdate(QLowEnergyConnectionParameters)
TODO
- role() → Role
TODO
- services() → List[QBluetoothUuid]
TODO
- setRemoteAddressType(RemoteAddressType)
TODO
- startAdvertising(QLowEnergyAdvertisingParameters, QLowEnergyAdvertisingData, scanResponseData: QLowEnergyAdvertisingData = QLowEnergyAdvertisingData())
TODO
- state() → ControllerState
TODO
- stopAdvertising()
TODO
Signals¶
- connected()
TODO
- connectionUpdated(QLowEnergyConnectionParameters)
TODO
- disconnected()
TODO
- discoveryFinished()
TODO
- error()
TODO
- error(Error)
TODO
- serviceDiscovered(QBluetoothUuid)
TODO
- stateChanged(ControllerState)
TODO