I am currently working on BLE in raspberry pi cm4 using Pygatt library, I am able to subscribe and able to call back the notify handler in which i am reading the data but i want a continous stream of data instead i am getting data for only 2 to 3 seconds and it automatically stops here. Please help me out
I meet the same question. Adding "auto_reconnect=True" in function "adapter.connect()" can solve the question. It can continously receive data when reconnect is done.
Unable to read data continously using BLE pygatt call back function