i am new at this so please bare with me. i was using a nfr51822 with s110 version 7 and i now i want to migrate it to s110 version 8. i have made a few changes according to the migration document but now on debugging it gets stuck at ble_stack_init(); Couldn't find any changes related to the ble_stack_init(); in the migration document. I am putting here the definition of my ble_stack_init();
static void ble_stack_init(void)
{ uint32_t err_code;
static ble_gap_addr_t addr;
// Initialize the SoftDevice handler module.
SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_XTAL_30_PPM, false);
// Enable BLE stack
ble_enable_params_t ble_enable_params;
memset(&ble_enable_params, 0, sizeof(ble_enable_params));
ble_enable_params.gatts_enable_params.service_changed = IS_SRVC_CHANGED_CHARACT_PRESENT;
err_code = sd_ble_enable(&ble_enable_params);
APP_ERROR_CHECK(err_code);
sd_ble_gap_address_get(&addr);
sd_ble_gap_address_set(BLE_GAP_ADDR_CYCLE_MODE_NONE, &addr);
// Subscribe for BLE events.
err_code = softdevice_ble_evt_handler_set(ble_evt_dispatch);
APP_ERROR_CHECK(err_code);
// Register with the SoftDevice handler module for BLE events.
err_code = softdevice_sys_evt_handler_set(sys_evt_dispatch);
APP_ERROR_CHECK(err_code);
}
kindly tell regarding any changes i need to make to get it going.