Database discovery module.
More...
Database discovery module.
This module contains the APIs and types exposed by the DB Discovery module. These APIs and types can be used by the application to perform discovery of a service and its characteristics at the peer server. A typical use of this library is described in the figure below.
- Warning
- The maximum number of characteristics per service that can be discovered by this module is indicated by the value of BLE_DB_DISCOVERY_MAX_CHAR_PER_SRV. If the peer has more than the supported number of characteristics, then the first found supported number of characteristics will only be discovered. Also no descriptors other than Client Characteristic Configuration Descriptors will be searched for at the peer.
- Note
- Presently only one instance of Primary Service can be discovered by this module. If there are multiple instances of the service at the peer, only the first instance of it at the peer is fetched and returned to the application.
-
The application must propagate BLE stack events to this module by calling ble_db_discovery_on_ble_evt().