Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

FDS initialization and SoftDevice

I am using nRF5 SDK v16.0.0 on nRF52832.  IDE is SES.  I am also using FreeRTOS

What order should the following methods be called in?  Does it matter when fds_app_init is called, or can it be called 1st, 2nd, or last?  Can you give a little insight as to why as well?

// Assume vTaskStartScheduler() was called already

fds_app_init();
ble_init_config();
nrf_sdh_freertos_init(NULL, NULL);

Calls to fds_record_write/open/close/delete/update obviously have to come after fds_app_init(), but can they be called before ble_init_config and nrf_sdh_freertos_init as well?

Parents Reply Children
No Data
Related