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

Central client service db discovery does not find, or trigger the find complete event.

Hello

I'm using the Development kit nRF52840, SDK 15.3.0, and the Sofdevice s140 6.1.1

I've created a BLE  Battery client service, my implementation is extended upon the example experimental/ble_app_hrs_rscs_relay. 

I can advertise services, but when i try to connect to a service i can't find them.

I get as far as this:

<debug> ble_db_disc: Starting discovery of service with UUID 0x180F on connection handle 0x0.
<debug> nrf_ble_gatt: Peer on connection 0x0 requested a data length of 27 bytes.
<debug> nrf_ble_gatt: Updating data length to 27 on connection 0x0.
<debug> nrf_ble_gatt: Data length updated to 27 on connection 0x0.
<debug> nrf_ble_gatt: max_rx_octets: 27
<debug> nrf_ble_gatt: max_tx_octets: 27
<debug> nrf_ble_gatt: max_rx_time: 328
<debug> nrf_ble_gatt: max_tx_time: 2120
<debug> nrf_ble_gatt: ATT MTU updated to 247 bytes on connection 0x0 (response).

The program it self does not crash, it simply never emits the _BLE_BAS_C_EVT_DISCOVERY_COMPLETE_

So my question is what is required to make that event happen?
I'm testing up against the nRF Connect app, when i'm using the example ble_central/ble_app_hrs_c - it can read the value
Parents Reply Children
No Data
Related