AddressInfo#

The AddressInfo defines the elements of a white list. More

Inheritance diagram of PySide6.QtBluetooth.QLowEnergyAdvertisingParameters.AddressInfo

Synopsis#

Functions#

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description#

A list of AddressInfo instances is passed to setWhiteList() . White lists are used to restrict the devices which have the permission to interact with the peripheral. The permitted type of interaction is defined by FilterPolicy .

See also

whiteList()

class PySide6.QtBluetooth.QLowEnergyAdvertisingParameters.AddressInfo#

PySide6.QtBluetooth.QLowEnergyAdvertisingParameters.AddressInfo(addr, t)

Parameters:

Constructs a default constructed AddressInfo instance.

By default the AddressInfo::type member is set to PublicAddress and the AddressInfo::address member has a null address.

Constructs a new AddressInfo instance. addr represents the Bluetooth address of the remote device and type the nature of the address.

PySide6.QtBluetooth.QLowEnergyAdvertisingParameters.AddressInfo.address#
PySide6.QtBluetooth.QLowEnergyAdvertisingParameters.AddressInfo.type#
PySide6.QtBluetooth.QLowEnergyAdvertisingParameters.AddressInfo.__ne__(b)#
Parameters:

bPySide6.QtBluetooth.QLowEnergyAdvertisingParameters.AddressInfo

Return type:

bool

PySide6.QtBluetooth.QLowEnergyAdvertisingParameters.AddressInfo.__eq__(b)#
Parameters:

bPySide6.QtBluetooth.QLowEnergyAdvertisingParameters.AddressInfo

Return type:

bool