I am working on a project in which two devices(one is central and other is peripheral ) uses Nordic bluetooth controller for connection and data exchange. nrf51822 for peripheral and nrf51422 for the central. We are using SDK 12.3 and S130.
BLE_HCI_REMOTE_USER_TERMINATED_CONNECTION);
sd_ble_gap_scan_stop();
scan_start();
nrf_drv_clock_on_sd_disable()
nrf_drv_rng_on_sd_disable();
NRF_TIMER2->TASKS_STOP = 1;
NRF_TIMER2->POWER = 0;
nrf_power_pofcon_set(true, NRF_POWER_POFTHR_V27);
case BLE_GAP_EVT_CONNECTED:
conn_handle=p_ble_evt->evt.gattc_evt.conn_handle;
err_code = ble_db_discovery_start(&m_ble_db_discovery, p_ble_evt->evt.gap_evt.conn_handle);
Thomas