Using nrf52 DK , SDK 12.2 , and armgcc.
I want to use BLE_UART but I also want to bond.
I started with the BLE_UART example code and added peer manager and FDS.
I have no issue connecting and UART works fine but I still can't bond. FDS is also working fine.
I use nRF Connect app (android) and can connect fine but when I try to bond, th elog just says Bonding Failed.
What am I missing?
Any help would be appreciated.
--edit
added main.c file
-- end edit