This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

content of bt_gatt_attr->user_data?

I have been exploring BLE and I am using bt_gatt_discover in my zephyr-based central device (nrf9160) to list the services on a Thingy:52. I am getting the callbacks as expected and I see that bt_gatt_attr->user_data is a pointer to something that I probably care about. How do I know what type of data is at the pointer?

I just want to enumerate the services, characteristics, etc on the device so I can understand what's going on with BLE.

Mike

Related