Is there a way of doing non-blocking init? For me prefect would be:
init to set up whatever needs to be set up,
a function to initialise connection with ble address as a parameter.
I have a class that is inheriting from bluepy.btle.Peripheral and threading.Thread in a multi-threaded application. I'm not sure if it's safe to call bluepy.btle.Peripheral.init outside of my class call init, but this is the only way I found to make it a non-blocking call - I call .bluepy.btle.Peripheral.init when
Is there a way of doing non-blocking init? For me prefect would be:
I have a class that is inheriting from bluepy.btle.Peripheral and threading.Thread in a multi-threaded application. I'm not sure if it's safe to call bluepy.btle.Peripheral.init outside of my class call init, but this is the only way I found to make it a non-blocking call - I call .bluepy.btle.Peripheral.init when