Establish connection to peripheral device based on MAC address
Unsolved
General and Desktop
-
Hi everyone!
I am struggling with Python and Qt to connect to my BLE dongle.address = QtBt.QBluetoothAddress(mac_address)
self.controller = QtBt.QLowEnergyController(address)
address_type = QtBt.QLowEnergyController.PublicAddress
self.controller.setRemoteAddressType(address_type)
self.controller.connectToDevice()Do you might have a working example to connect ( and stay connected to a BLE dongle - based on a MAC )
Thank you very much!