Hi
sd_ble_gattc_primary_services_discover()
is being called from ble_db_discovery_start()
within ble_db_discovery.c. I'm trying to get the ble_cts_c service working. It works ok the first time after erasing and flashing the device, but every subsequent debugger run gives me NRF_ERROR_BUSY from this function. Based on that I'm guessing it's something to do with whitelisting, but I don't understand whitelisting well enough to debug it at this point.
EDIT: I've looked at the arguments to sd_ble_gattc_primary_services_discover()
on both the runs that succeed (directly after flashing) and fail (all other runs). The arguments are the same in both cases, so that's not the problem.
Thanks nRF52832 PCA10040 SDK13 S132