Using both FDS and BLE on nRF52832

Hello everyone,

I'm currently updating my project from SDK v10 with softdevice S110 to SDK v17.1 with softdevice S132 (a huge step). I'm, wondering if what I want my code to do may or may not cause softdevice issues.

First of all, my code uses both fds and ble; this used to be an issue when using SDK v10 on nRF51822 which I made a post about.
Now I'm trying to initialize ble stack by following the ble_app_uart example, so i'm using the following lines:

err_code = nrf_sdh_enable_request();
  APP_ERROR_CHECK(err_code);

  // Configure the BLE stack using the default settings.
  // Fetch the start address of the application RAM.
  uint32_t ram_start = 0;
  err_code = nrf_sdh_ble_default_cfg_set(APP_BLE_CONN_CFG_TAG, &ram_start);
  APP_ERROR_CHECK(err_code);

  // Enable BLE stack.
  err_code = nrf_sdh_ble_enable(&ram_start);
  APP_ERROR_CHECK(err_code);

What's currently concerning me is if FDS and BLE are functionalities that still can't be used simultaneously. Also, if it's still not possible to use them at the same time, what may I do in order to use FDS first and then BLE? can I first use FDS, then uninit the SoftDevice and re-init to use BLE?

Any help regarding this topic would help me a lot.

Related