Is there a way to dynamically discover service UUIDs from a connected peripheral? nRF5 SDK

Hello,

I am working on adding BLE central capabilities to our device by using the ble_app_multilink_central example project as a template. Currently I am adding the expected service UUIDs to the application via the ble_db_discovery_evt_register function.

This works, but is not quite what we want. We would like our device to be able to read all available services from a device, regardless of whether they are pre-registered in the system. A good example would be how the nRF Connect BLE app works, listing all service and characteristic UUIDs found on a device.

Is this possible? If so, is there an example project or code that you could point me to?

Thank you!

Related