Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Module « PySide6.QtBluetooth »

Classe « QLowEnergyController »

Informations générales

Héritage

builtins.object
    Object
        QObject
            QLowEnergyController

Définition

class QLowEnergyController(QObject):

Constructeur(s)

Signature du constructeur Description
__new__(*args, **kwargs) Create and return a new object. See help(type) for accurate signature. [extrait de __new__.__doc__]
__init__(self, parent: Optional[PySide6.QtCore.QObject] = None) -> None __init__(self, parent: Optional[PySide6.QtCore.QObject] = None) -> None [extrait de __init__.__doc__]

Liste des attributs statiques

Nom de l'attribut Valeur
AdvertisingErrorPySide6.QtBluetooth.QLowEnergyController.Error.AdvertisingError
AdvertisingStatePySide6.QtBluetooth.QLowEnergyController.ControllerState.AdvertisingState
AuthorizationErrorPySide6.QtBluetooth.QLowEnergyController.Error.AuthorizationError
CentralRolePySide6.QtBluetooth.QLowEnergyController.Role.CentralRole
ClosingStatePySide6.QtBluetooth.QLowEnergyController.ControllerState.ClosingState
ConnectedStatePySide6.QtBluetooth.QLowEnergyController.ControllerState.ConnectedState
ConnectingStatePySide6.QtBluetooth.QLowEnergyController.ControllerState.ConnectingState
ConnectionErrorPySide6.QtBluetooth.QLowEnergyController.Error.ConnectionError
DiscoveredStatePySide6.QtBluetooth.QLowEnergyController.ControllerState.DiscoveredState
DiscoveringStatePySide6.QtBluetooth.QLowEnergyController.ControllerState.DiscoveringState
InvalidBluetoothAdapterErrorPySide6.QtBluetooth.QLowEnergyController.Error.InvalidBluetoothAdapterError
NetworkErrorPySide6.QtBluetooth.QLowEnergyController.Error.NetworkError
NoErrorPySide6.QtBluetooth.QLowEnergyController.Error.NoError
PeripheralRolePySide6.QtBluetooth.QLowEnergyController.Role.PeripheralRole
PublicAddressPySide6.QtBluetooth.QLowEnergyController.RemoteAddressType.PublicAddress
RandomAddressPySide6.QtBluetooth.QLowEnergyController.RemoteAddressType.RandomAddress
RemoteHostClosedErrorPySide6.QtBluetooth.QLowEnergyController.Error.RemoteHostClosedError
staticMetaObject<PySide6.QtCore.QMetaObject object at 0x7f40e2536dc0>
UnconnectedStatePySide6.QtBluetooth.QLowEnergyController.ControllerState.UnconnectedState
UnknownErrorPySide6.QtBluetooth.QLowEnergyController.Error.UnknownError
UnknownRemoteDeviceErrorPySide6.QtBluetooth.QLowEnergyController.Error.UnknownRemoteDeviceError

Liste des opérateurs

Opérateurs hérités de la classe object

__eq__, __ge__, __gt__, __le__, __lt__, __ne__

Liste des méthodes

Toutes les méthodes Méthodes d'instance Méthodes statiques Méthodes dépréciées
Signature de la méthodeDescription
__delattr__(self, name) Implement delattr(self, name). [extrait de __delattr__.__doc__]
__setattr__(self, name, value) Implement setattr(self, name, value). [extrait de __setattr__.__doc__]
addService(self, service: PySide6.QtBluetooth.QLowEnergyServiceData, parent: Optional[PySide6.QtCore.QObject] = None) -> PySide6.QtBluetooth.QLowEnergyService addService(self, service: PySide6.QtBluetooth.QLowEnergyServiceData, parent: Optional[PySide6.QtCore.QObject] = None) -> PySide6.QtBluetooth.QLowEnergyService [extrait de addService.__doc__]
connected
connectionUpdated
connectToDevice(self) -> None connectToDevice(self) -> None [extrait de connectToDevice.__doc__]
ControllerState
createCentral createCentral(remoteDevice: PySide6.QtBluetooth.QBluetoothDeviceInfo, localDevice: PySide6.QtBluetooth.QBluetoothAddress, parent: Optional[PySide6.QtCore.QObject] = None) -> PySide6.QtBluetooth.QLowEnergyController [extrait de createCentral.__doc__]
createPeripheral createPeripheral(localDevice: PySide6.QtBluetooth.QBluetoothAddress, parent: Optional[PySide6.QtCore.QObject] = None) -> PySide6.QtBluetooth.QLowEnergyController [extrait de createPeripheral.__doc__]
createServiceObject(self, service: Union[PySide6.QtBluetooth.QBluetoothUuid, PySide6.QtBluetooth.QBluetoothUuid.CharacteristicType, PySide6.QtBluetooth.QBluetoothUuid.DescriptorType, PySide6.QtBluetooth.QBluetoothUuid.ProtocolUuid, PySide6.QtBluetooth.QBluetoothUuid.ServiceClassUuid, PySide6.QtCore.QUuid], parent: Optional[PySide6.QtCore.QObject] = None) -> PySide6.QtBluetooth.QLowEnergyService createServiceObject(self, service: Union[PySide6.QtBluetooth.QBluetoothUuid, PySide6.QtBluetooth.QBluetoothUuid.CharacteristicType, PySide6.QtBluetooth.QBluetoothUuid.DescriptorType, PySide6.QtBluetooth.QBluetoothUuid.ProtocolUuid, PySide6.QtBluetooth.QBluetoothUuid.ServiceClassUuid, PySide6.QtCore.QUuid], parent: Optional[PySide6.QtCore.QObject] = None) -> PySide6.QtBluetooth.QLowEnergyService [extrait de createServiceObject.__doc__]
destroyed
disconnected
disconnectFromDevice(self) -> None disconnectFromDevice(self) -> None [extrait de disconnectFromDevice.__doc__]
discoverServices(self) -> None discoverServices(self) -> None [extrait de discoverServices.__doc__]
discoveryFinished
Error
error(self) -> PySide6.QtBluetooth.QLowEnergyController.Error error(self) -> PySide6.QtBluetooth.QLowEnergyController.Error [extrait de error.__doc__]
errorOccurred
errorString(self) -> str errorString(self) -> str [extrait de errorString.__doc__]
localAddress(self) -> PySide6.QtBluetooth.QBluetoothAddress localAddress(self) -> PySide6.QtBluetooth.QBluetoothAddress [extrait de localAddress.__doc__]
mtu(self) -> int mtu(self) -> int [extrait de mtu.__doc__]
mtuChanged
objectNameChanged
remoteAddress(self) -> PySide6.QtBluetooth.QBluetoothAddress remoteAddress(self) -> PySide6.QtBluetooth.QBluetoothAddress [extrait de remoteAddress.__doc__]
RemoteAddressType
remoteAddressType(self) -> PySide6.QtBluetooth.QLowEnergyController.RemoteAddressType remoteAddressType(self) -> PySide6.QtBluetooth.QLowEnergyController.RemoteAddressType [extrait de remoteAddressType.__doc__]
remoteDeviceUuid(self) -> PySide6.QtBluetooth.QBluetoothUuid remoteDeviceUuid(self) -> PySide6.QtBluetooth.QBluetoothUuid [extrait de remoteDeviceUuid.__doc__]
remoteName(self) -> str remoteName(self) -> str [extrait de remoteName.__doc__]
requestConnectionUpdate(self, parameters: PySide6.QtBluetooth.QLowEnergyConnectionParameters) -> None requestConnectionUpdate(self, parameters: PySide6.QtBluetooth.QLowEnergyConnectionParameters) -> None [extrait de requestConnectionUpdate.__doc__]
Role
role(self) -> PySide6.QtBluetooth.QLowEnergyController.Role role(self) -> PySide6.QtBluetooth.QLowEnergyController.Role [extrait de role.__doc__]
serviceDiscovered
services(self) -> List[PySide6.QtBluetooth.QBluetoothUuid] services(self) -> List[PySide6.QtBluetooth.QBluetoothUuid] [extrait de services.__doc__]
setRemoteAddressType(self, type: PySide6.QtBluetooth.QLowEnergyController.RemoteAddressType) -> None setRemoteAddressType(self, type: PySide6.QtBluetooth.QLowEnergyController.RemoteAddressType) -> None [extrait de setRemoteAddressType.__doc__]
startAdvertising(self, parameters: PySide6.QtBluetooth.QLowEnergyAdvertisingParameters, advertisingData: PySide6.QtBluetooth.QLowEnergyAdvertisingData, scanResponseData: PySide6.QtBluetooth.QLowEnergyAdvertisingData = Default(QLowEnergyAdvertisingData)) -> None startAdvertising(self, parameters: PySide6.QtBluetooth.QLowEnergyAdvertisingParameters, advertisingData: PySide6.QtBluetooth.QLowEnergyAdvertisingData, scanResponseData: PySide6.QtBluetooth.QLowEnergyAdvertisingData = Default(QLowEnergyAdvertisingData)) -> None [extrait de startAdvertising.__doc__]
state(self) -> PySide6.QtBluetooth.QLowEnergyController.ControllerState state(self) -> PySide6.QtBluetooth.QLowEnergyController.ControllerState [extrait de state.__doc__]
stateChanged
stopAdvertising(self) -> None stopAdvertising(self) -> None [extrait de stopAdvertising.__doc__]
tr

Méthodes héritées de la classe QObject

__getattribute__, __init_subclass__, __repr__, __subclasshook__, blockSignals, childEvent, children, connect, connectNotify, customEvent, deleteLater, disconnect, disconnectNotify, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, emit, event, eventFilter, findChild, findChildren, inherits, installEventFilter, isSignalConnected, isWidgetType, isWindowType, killTimer, metaObject, moveToThread, objectName, parent, property, receivers, removeEventFilter, sender, senderSignalIndex, setObjectName, setParent, setProperty, signalsBlocked, startTimer, thread, timerEvent

Méthodes héritées de la classe Object

__getattribute__, __init_subclass__, __subclasshook__

Méthodes héritées de la classe object

__dir__, __format__, __hash__, __reduce__, __reduce_ex__, __repr__, __sizeof__, __str__