The number of elements in the database to retrieve. It will be updated with the actual number of elements found.
Return value
- ESP_OK: Success - ESP_GATT_INVALID_HANDLE: Invalid GATT `start_handle`, `end_handle` - ESP_GATT_INVALID_PDU: NULL pointer to `db` or NULL pointer to `count` or the count value is 0 - ESP_FAIL: Failure due to other reasons
Notes
1. This API does not trigger any event. 2. `start_handle` must be greater than 0, and smaller than `end_handle`.
Examples
esp_ble_gattc_get_db() is referenced by 1 libraries and example projects: