class AddressInfo#

The AddressInfo defines the elements of a white list. More

Synopsis#

Methods#

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()

PySide6.QtBluetooth.QLowEnergyAdvertisingParameters.AddressInfo.address#
PySide6.QtBluetooth.QLowEnergyAdvertisingParameters.AddressInfo.type#
__init__()#

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.

__init__(addr, t)
Parameters:

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

__ne__(b)#
Parameters:

bAddressInfo

Return type:

bool

Returns true if a and b are not equal with respect to their public state, otherwise returns false.

__eq__(b)#
Parameters:

bAddressInfo

Return type:

bool

Returns true if a and b are equal with respect to their public state, otherwise returns false.