How to use on_notification fuction to get notification

I am a python beginner, I read a lot of related questions, but they all ask us to look heart_rate_collector.py , but heart_rate_collector.py did't not have any example, i really don't understand how to used it.

def on_notification(self, ble_adapter, conn_handle, uuid, data):
data should be the thing i want to get,is that right?
 

Parents Reply Children
Related