I'm trying to make a BLE app with nRF52832 DK, SDK v16.0.0, based on ble_app_hrs example.
After pairing on central device (smart phone), or CONNECT on nRF Connect app and enabled the indication, I got an peer_manager_pds error message.
<debug> nrf_sdh_ble: BLE event: 0x10.
<debug> nrf_ble_gatt: Requesting to update ATT MTU to 247 bytes on connection 0x0.
<debug> nrf_ble_gatt: Updating data length to 251 on connection 0x0.
<debug> nrf_ble_gq: Registering connection handle: 0x0000
<info> APP: Connected.
<debug> nrf_sdh_ble: BLE event: 0x13.
<debug> peer_manager_handler: Event PM_EVT_CONN_SEC_START
<debug> peer_manager_handler: Connection security procedure started: role: Peripheral, conn_handle: 0, procedure: Bonding
<debug> peer_manager_handler: Event PM_EVT_CONN_SEC_PARAMS_REQ
<debug> peer_manager_handler: Security parameter request
<debug> APP: BLE_GAP_EVT_SEC_PARAMS_REQUEST
<debug> nrf_sdh_ble: BLE event: 0x3A.
<debug> nrf_ble_gatt: ATT MTU updated to 247 bytes on connection 0x0 (response).
<info> APP: GATT ATT MTU on connection 0x0 changed to 247.
<debug> nrf_ble_gq: Processing the request queue...
<debug> nrf_sdh_ble: BLE event: 0x24.
<debug> nrf_ble_gatt: Data length updated to 27 on connection 0x0.
<debug> nrf_ble_gatt: max_rx_octets: 27
<debug> nrf_ble_gatt: max_tx_octets: 27
<debug> nrf_ble_gatt: max_rx_time: 328
<debug> nrf_ble_gatt: max_tx_time: 328
<debug> nrf_sdh_ble: BLE event: 0x12.
<debug> nrf_sdh_ble: BLE event: 0x1A.
<debug> nrf_sdh_ble: BLE event: 0x19.
<error> peer_manager_pds: Could not write data to flash. fds_record_{write|update}() returned 0x8601. peer_id: 0
<error> peer_manager_pdb: pds_peer_data_store() returned NRF_ERROR_INTERNAL. peer_id: 0
<error> peer_manager_smd: Could not store bond. pdb_write_buf_store() returned NRF_ERROR_INTERNAL. conn_handle: 0, peer_id: 0
<debug> peer_manager_handler: Event PM_EVT_ERROR_UNEXPECTED
<error> peer_manager_handler: Unexpected fatal error occurred: error: NRF_ERROR_INTERNAL
<error> peer_manager_handler: Asserting.
<error> app: ERROR 3 [NRF_ERROR_INTERNAL] at ..\..\..\..\..\nRF_SDK16\components\ble\peer_manager\peer_manager_handler.c:294
PC at: 0x0003705F
<error> app: End of error report
Returned code 0x8601 means FDS_ERR_NOT_INITIALIZED in my understand.
And fds_init() may be called in peer_manager_init() > pm_init() > pds_init().
So I don't know why this error occurs.
Please help any hints or suggenstions what should I check?