This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

BLE_DB_DISCOVERY_MAX_SRV implications?

Hello all -

I'm trying to learn about the db discovery module from the perspective of the BTLE central and I'm a little confused by the client architecture. The SDK documentation indicates client_a_init() and client_b_init() as if each one of those is for Service A and Service B. Is the application intended to have a client per service on the peer? What if we're writing a generic central and don't know what/how many services the peer will have?

I feel like I'm misunderstanding that because in the ble_app_hrs_c a single client is used to discover both the HRS and he BAS.

Could somebody please explain the limitations of that module and how it is intended to be used with peers that might have many services (10+ for example)?

Edit: bump.

Edit: tags

Related