Hi,
I am trying to customize the firmware update for my project, everything is fine when I do not define BLE_STACK_SUPPORT_REQD, but when I use this definition I always get the 0x3 (internal error) while I am trying to write into the flash by using the nrf_dfu_flash (nrf_fstorage_write())
I figured out that if I use wait_for_event() function, suddenly all the write and erase operations which are in the queue, executing successfully!, but I do not want to use wait_for_event() because I need to be in a loop condition for getting my customized data and also I need to use the Softdevice.
Could you please let me know, how I can fix this issue?
I am using nRF5_SDK_14.2.0 with S132 Softdevice.
Thank you in advance